4const std::string TrigData::s_CONDITIONS[] = {
7 "02: Barrel Cluster back to back",
8 "03: Endcap Cluster back to back",
9 "04: Cluster Balance in Z direction",
10 "05: Barrel Cluster Balance in Phi direction",
11 "06: Endcap Cluster phi Balance",
12 "07: Barrel total Energy Higher threshold",
13 "08: Endcap total Energy Higher threshold",
14 "09: Total Energy Lower threshold",
15 "10: Total Energy Middle threshold",
16 "11: Energy Balance in \"Z\" direction",
19 "14: Barrel Energy Block Balance",
20 "15: Endcap Energy Block Balance",
21 "16: Endcap TOF back to back",
22 "17: Barrel TOF back to back",
28 "23: C Track Back to Back",
31 "26: B Track Back to Back",
34 "29: A Track Back to Back",
37 "32: MUON Back to Back 3478",
38 "33: MUON Back to Back 37",
39 "34: Not defined yet",
40 "35: Not defined yet",
41 "36: Not defined yet",
42 "37: Not defined yet",
43 "38: Short Track back to back",
47 "42: Long Track back to back",
55TrigData::TrigData(
int window,
int timing,
const int* trigCond,
const int* trigChan,
bool preScale)
57 m_timeWindow = window;
59 m_preScale = preScale;
60 for(
int i = 0; i < 48; i++) {
62 m_trigChan[i] = trigChan[i];
64 m_trigcond[i] = trigCond[i];
69 std::cout <<
"TrigData contains the following effective conditions:" << std::endl;
70 for (
int i = 0; i < 48; i++) {
71 if(m_trigcond[i] == 1) std::cout <<
'\t' << s_CONDITIONS[i] << std::endl;