test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HEDarkening.h
Go to the documentation of this file.
1 #ifndef HcalCalibObjects_HEDarkening_h
2 #define HcalCalibObjects_HEDarkening_h
3 //
4 // Simple class with parameterizaed function to get darkening attenuation
5 // coefficiant for SLHC conditions
6 // = degradation(int_lumi(intlumi) * dose(layer,Radius)), where
7 // intlumi is integrated luminosity (fb-1),
8 // layer is HE layer number (from -1 up// to 17), NB: 1-19 in HcalTestNumbering
9 // Radius is radius from the beam line (cm)
10 //
11 
12 class HEDarkening {
13 
14 public:
15  HEDarkening();
16  ~HEDarkening();
17 
18  float degradation(float intlumi, int ieta, int lay);
19 
20  // 2 contsants below are used in CalibCalorimetry/HcalPlugins HERecalibration
21  // (1) number of HE ieta bins for darkening
22  static const unsigned int nEtaBins = 14;
23  // (2) max. number of HE scint. layers
24  static const unsigned int nScintLayers = 19;
25 
26 private:
29 
30 };
31 
32 
33 #endif // HEDarkening_h
float lumiscale[nEtaBins][nScintLayers]
Definition: HEDarkening.h:28
static const unsigned int nScintLayers
Definition: HEDarkening.h:24
static const unsigned int nEtaBins
Definition: HEDarkening.h:22
int ieta_shift
Definition: HEDarkening.h:27
float degradation(float intlumi, int ieta, int lay)
Definition: HEDarkening.cc:52