StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
JanBarrelConst.h
1 #ifndef JAN_BARREL_CONST_HH
2 #define JAN_BARREL_CONST_HH
3 // bsmd indexes needed for Jan's calibration
4 enum {mxBStrips=18000, mxBSmd=2, kBSE=0, kBSP=1};
5 enum {mxBtow=4800, mxBTile=2, kBTow=0, kBPrs=1} ; // tower, preshower indexes
6 enum {mxBprsCrate=4};
7 enum {mxBTetaBin=20}; // # of eta bins for towers, preshower
8 enum {mxBcap=128}; // # of capacitors in SCA
9 enum {mxBetaEtrMod=150}; // # of Eta strip in module
10 enum {mxBphiStrBand=900}; // # of Phi strip in Barrel at fixed eta
11 enum { mxBXcell=20, mxYcell=60}; // dimension of 2D eta-phi array of cells
12 enum { mxBCutH=2}; // for cut dependent histograms
13 
14 
15 /*
16 Use idividual bits of 'Warn' to exclude individual
17 channels from a particular analysis, but let other
18 analysis make a different choice.
19 */
20 
21 
22 namespace BsmdStatus {// make your choice
23  //..... fatal status bits (short int)
24  enum Fatal {
25  Adc0= 0x0001, // raw adc often stuck on zero
26  WidePed= 0x0002, // pedestal is wide
27  PedOffset= 0x0004, // DB pedestal is off
28  OnlyPed= 0x0008, // spectrum above ped empty
29  SlopeChi2= 0x0010, // slope chi2 is bad
30  SlopeErr= 0x0020, // slope error is large
31  SlopeValue= 0x0040, // slope value not typical
32  FakeStrip= 0x0080 // fake, alwasy dead strip
33  };
34 
35  // .......warning status bits (short int)
36  enum Warn {
37  SpecialCAP= 0x0100 // CAP id=123,124, or 125
38  } ;
39 }
40 
41 
42 #endif
43 
44