1 #ifndef __EEMC_CONST_DB_HH
2 #define __EEMC_CONST_DB_HH
8 #define EEMCDbMaxPmt 60
11 #define EEMCDbMaxAdc 1000
17 #define EEMCDbMaxName 16
20 #define EEMCDbMaxComment 160
24 #define EEMCDbStringDelim '$'
29 #define EEMCDbMaxPmtName 960
32 #define EEMCDbMaxBoxName 80
35 #define EEMCDbMaxAdcName 16000
43 #define EEMCDbMaxXMLData 524288
52 #define EEMCSTAT_ONLPED 0x0001 // only pedestal is visible
53 #define EEMCSTAT_STKBT 0x0002 // sticky lower bits
54 #define EEMCSTAT_HOTHT 0x0004 // masked for HT trigger
55 #define EEMCSTAT_HOTJP 0x0008 // masked for JP trigger
56 #define EEMCSTAT_HIGPED 0x0010 // ped is very high but channel seems to work
57 #define EEMCSTAT_HOTSTR 0x0020 // hot esmd strip
58 #define EEMCSTAT_JUMPED 0x0040 // jumpy ped over several chan over days
59 #define EEMCSTAT_WIDPED 0x0080 // wide ped over:2.5 ch towers, 1.5 ch MAPMT's
68 #define EEMCFAIL_GARBG 0x0001 // faulty channel
69 #define EEMCFAIL_HVOFF 0x0002 // HV was off or varied
70 #define EEMCFAIL_NOFIB 0x0004 // signal fiber is broken
71 #define EEMCFAIL_CPYCT 0x0008 // stuck in copyCat mode