14 #ifndef StBTOFSORTRAWHIT_H
15 #define StBTOFSORTRAWHIT_H
27 #include "TDataSetIter.h"
28 #include "TObjectSet.h"
32 typedef std::vector<Int_t> IntVec;
33 typedef std::vector<UInt_t> UIntVec;
43 typedef std::vector<TOFRawHit> tofRawHitVector;
44 typedef std::vector<TOFRawHit>::iterator tofRawHitVectorIter;
54 static const Int_t mNTRAY = 124;
55 static const Int_t mNCHAN = 192;
56 static const Int_t mNFIBER = 4;
57 static const Int_t mNVPD = 19;
58 tofRawHitVector mRawHitVec[mNTRAY];
60 Float_t mTriggerTimeWindow[mNTRAY][2];
61 Float_t mTriggerOffset;
62 UInt_t mTriggerTime[mNFIBER];
64 Float_t mVpdDelay[2*mNVPD];
86 UIntVec
GetLeadingTdc(
int tray,
int channel,
bool triggerevent=
true);
88 UIntVec
GetTrailingTdc(
int tray,
int channel,
bool triggerevent=
true);
void setBTofCollection(StBTofCollection *tofColl)
set to use the VPD delays
IntVec GetValidChannel(int tray)
Returns the valid channel Ids for a tray.
UIntVec GetLeadingTdc(int tray, int channel, bool triggerevent=true)
Returns the leading Tdcs for one channel. triggerevent used as a switch for physical hits selection...
UIntVec GetTrailingTdc(int tray, int channel, bool triggerevent=true)
Returns the trailing Tdcs for one channel. triggerevent used as a switch for physical hits selection...