10 #ifndef STMTDTRACKINGMASKMAKER_HH
11 #define STMTDTRACKINGMASKMAKER_HH
14 #include "StMtdUtil/StMtdConstants.h"
33 Int_t InitRun(
const Int_t runNumber);
34 void Clear(Option_t *option=
"");
36 void setSaveHistos(
const bool save) { mSaveHistos = save; }
38 UInt_t getTrackingMask() {
return mTpcSectorsForTracking; }
41 void findFriedTpcSector();
47 void determineTpcTrackingMask();
50 typedef vector<int> IntVec;
54 virtual const char *GetCVS()
const {
55 static const char cvs[]=
"Tag $Name: $Id: built " __DATE__
" " __TIME__ ;
return cvs;}
58 Int_t processStEvent();
62 double getMtdHitGlobalPhi(
const int backleg,
const int module,
const int cell);
63 double rotatePhi(
const double phi);
71 int mModuleToQT[gMtdNBacklegs][gMtdNModules];
72 int mModuleToQTPos[gMtdNBacklegs][gMtdNModules];
73 int mQTtoModule[4][8];
74 int mQTSlewBinEdge[4][16][8];
75 int mQTSlewCorr[4][16][8];
79 UInt_t mTpcSectorsForTracking;
90 TH1F *mhNTpcSectorForTracking;
IntVec findEastTpcSectors(const double hit_phi)
This class finds the MTD hits that actually fire the trigger, and mask the correponding TPC sectors f...
void findTpcSectorsForTracking(const double hit_phi, const int hit_module)
bool isMtdHitFiredTrigger(const StMtdHit *hit)
bool isQTFiredTrigger(const int qt, const int pos)
IntVec findWestTpcSectors(const double hit_phi)
void processTriggerData()
void Clear(Option_t *option="")
User defined functions.