1 #ifndef STAR_StBTofHitMaker_H
2 #define STAR_StBTofHitMaker_H
11 #include "StRTSBaseMaker.h"
15 #define VHRBIN2PS 24.4140625 // Very High resolution mode, pico-second per bin
17 #define HRBIN2PS 97.65625 // High resolution mode, pico-second per bin
28 #include "StBTofUtil/StBTofSortRawHit.h"
40 typedef std::vector<Int_t> IntVec;
41 typedef std::vector<UInt_t> UIntVec;
56 Int_t UnpackTofRawData();
57 void fillBTofHeader();
58 void fillBTofRawHitCollection();
59 void fillBTofHitCollection();
61 std::vector<TofRawHit> TofLeadingHits;
64 std::vector<TofRawHit> TofTrailingHits;
67 unsigned int mTriggerTimeStamp[4];
76 , mWestVpdTrayId = 121
77 , mEastVpdTrayId = 122
93 void Clear(Option_t* option=
"");
96 Int_t FinishRun(Int_t);
108 static const char cvs[]=
"Tag $Name: $Id: built " __DATE__
" " __TIME__ ;
return cvs;
std::vector< TofRawHit > getTrailingHits()
obtain the whole list of trainling edge hits
unsigned char globaltdcchan
1,2,......,120,for tray, 121, 122 for upvpd
void Clear(Option_t *option="")
User defined functions.
Class StRTSBaseMaker - is an abstract StMaker to define the interface to access the DAQ data from the...
StBTofHitMaker(const char *name="tof_raw")
Default constructor.
unsigned char fiberid
data word before unpack
unsigned int dataword
tdc time (in bin) per hit.
std::vector< TofRawHit > getLeadingHits()
obtain the whole list of leading edge hits
StBTofCollection * GetBTofCollection()
StRtsTable * GetNextRaw()
This is an overloaded member function, provided for convenience.
unsigned char trayID
0 1 2,3
virtual const char * GetCVS() const
cvs