StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
bemcConstants.h
1 /* BEMC geometry constants */
2 const unsigned short kBEmcNumEtas = 40; /* number of eta bins */
3 const unsigned short kBEmcNumPhis = 120; /* number of phi bins */
4 const unsigned short kBEmcNumSubs = 10; /* number of subsectors per sector */
5 const unsigned short kBEmcNumSecs = kBEmcNumPhis / kBEmcNumSubs;
6 
7 const unsigned short kBEmcNumTower = 4800;
8 const unsigned short kBEmcNumPatch = kBEmcNumTower;
9 const unsigned short kBEmcNumRdo = kBEmcNumTower;
10 
11 const float kBEmcEtaBins[]=
12  {
13  -1.000, -0.950, -0.900, -0.850,
14  -0.800, -0.750, -0.700, -0.650,
15  -0.600, -0.550, -0.500, -0.450,
16  -0.400, -0.350, -0.300, -0.250,
17  -0.200, -0.150, -0.100, -0.050,
18  +0.000, +0.050, +0.100, +0.150,
19  +0.200, +0.250, +0.300, +0.350,
20  +0.400, +0.450, +0.500, +0.550,
21  +0.600, +0.650, +0.700, +0.750,
22  +0.800, +0.850, +0.900, +0.950, +1.000
23  };
24 
25 /* BEMC calibration constants */
26 const unsigned short kBEmcMaxADC = 4095;
27 //const float kBEmcMaxET = 27.5; /* for 2005 data/testing */
28 const float kBEmcMaxET = 56.0; /* for 2006 online */
29 const float kBEmcIdealGainT = kBEmcMaxADC / kBEmcMaxET;
30 
31 
32 /* other control flags/settings for the algorithm */
33 const int kBEmcHistoBase = 1000;
34 const unsigned short kBEmcQAPrescale = 10; // reduce frequency of qa histograming