41 |
|
const int MAXSEC=12; |
42 |
|
const int TIMINGSEC=3; // this only works for naive estimation now |
43 |
|
const int BX_START=3; // starting of hBX: 3 for MC and 0 for data |
44 |
+ |
const int ABSBX_START=797; // starting of hAbsBX: run#62232:797; run#63200:234 |
45 |
|
const int NUMSEC=MAXSEC-MINSEC; |
46 |
|
|
47 |
|
class CSCTriggerMappingFromFile; |
71 |
|
void deleteRootObjects(); |
72 |
|
void deleteHistograms(); |
73 |
|
void deleteCanvases(); |
74 |
< |
|
74 |
> |
int myBX(edm::Event& event); |
75 |
|
bool testBeam; |
76 |
|
int TBFEDid, TBendcap, TBsector; |
77 |
|
std::string mapPath; |
96 |
|
/// for inter sector synchronization |
97 |
|
TFile* fInterSector; |
98 |
|
|
99 |
+ |
/// for absolute BXN synchronization |
100 |
+ |
TFile* fAbsBXN; |
101 |
+ |
|
102 |
|
TH1I* hBX[NUMSEC][MAX_STATIONS][MAX_CHAMBERS]; |
103 |
+ |
TH1I* hAbsBX[NUMSEC][MAX_STATIONS][MAX_CHAMBERS]; |
104 |
|
TH1I* hNumTracksPerEvent; |
105 |
+ |
TH1I* hBX0; |
106 |
|
TH1F* hTimingConstDirect; |
107 |
|
TH1F* hTimingConstA; |
108 |
|
TH1F* hTimingConstB; |