00001 #ifndef StTpcMcHitMaker_H 00002 #define StTpcRTSHitMaker_H 00003 00004 /*************************************************************************** 00005 * 00006 * $Id: StTpcRTSHitMaker.h,v 1.10 2012/05/07 23:01:37 fisyak Exp $ 00007 * StTpcRTSHitMaker - class to runonline (RTS) cluster maker over StTpcRawData 00008 * $Log: StTpcRTSHitMaker.h,v $ 00009 * Revision 1.10 2012/05/07 23:01:37 fisyak 00010 * Add Tonko's interface for variable no. of pad rows 00011 * 00012 * Revision 1.9 2012/05/07 15:51:01 fisyak 00013 * Remove hard coded TPC numbers 00014 * 00015 * Revision 1.8 2011/03/08 18:20:44 genevb 00016 * Limit on number of hits starting at time bin 0 00017 * 00018 * Revision 1.7 2010/08/30 18:02:02 genevb 00019 * Introduce hit maxima for tracking 00020 * 00021 * Revision 1.6 2010/01/12 22:55:17 fisyak 00022 * Add minimum cluster charge in ADC for <= 20090101 00023 * 00024 * Revision 1.5 2009/11/25 21:34:04 fisyak 00025 * replace daqReader by daq_tpx 00026 * 00027 * Revision 1.4 2009/11/10 21:05:08 fisyak 00028 * Add attributes for sector and pad row selections 00029 * 00030 * Revision 1.3 2009/10/07 13:46:35 fine 00031 * replace the obsolete rts_reader with the modern daqReader 00032 * 00033 * Revision 1.2 2008/12/15 21:04:01 fine 00034 * For for the NEW_DAQ_READER 00035 * 00036 * Revision 1.1.1.1 2008/05/27 14:22:41 fisyak 00037 * Maker to access TPC DAQ information via EVP_READER 00038 * 00039 * Revision 1.1 2008/04/28 14:37:16 fisyak 00040 * Rearrage TpcHitMaker to make it run for parallel taks, add the first version of online clustering 00041 * 00042 * Revision 1.1.1.1 2008/04/03 20:16:39 fisyak 00043 * Initial version 00044 * 00045 *-------------------------------------------------------------------------- 00046 * 00047 ***************************************************************************/ 00048 00049 #include "StMaker.h" 00050 00051 class StTpcDigitalSector; 00052 00053 #include "StDAQMaker/StRtsReaderMaker.h" 00054 class daq_tpx; 00055 class StTpcRTSHitMaker : public StMaker { 00056 public: 00057 StTpcRTSHitMaker(const char *name="tpc_hits") : StMaker(name), fTpx(0), fminCharge(0),NoRows(-1), mTpx_RowLen(0) {} 00058 virtual ~StTpcRTSHitMaker(); 00059 00060 Int_t Init(); 00061 Int_t InitRun(Int_t runnumber); 00062 Int_t Make(); 00063 private: 00064 daq_tpx *fTpx; 00065 Double_t fminCharge; // ! minimum cluster charge in ADC 00066 Int_t maxHits[24]; 00067 Int_t maxBin0Hits; 00068 Int_t bin0Hits; 00069 Int_t NoRows; 00070 UChar_t *mTpx_RowLen; 00071 // cvs 00072 virtual const char *GetCVS() const { 00073 static const char cvs[]="Tag $Name: $Id: built "__DATE__" "__TIME__ ; return cvs; 00074 } 00075 ClassDef(StTpcRTSHitMaker, 1) //StTpcRTSHitMaker - class to fille the StEvewnt from DAQ reader 00076 }; 00077 00078 #endif
1.5.9