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 #define maxEta 14
13 #define maxLay 19
14 
15 class HEDarkening {
16 
17 public:
18  HEDarkening();
19  ~HEDarkening();
20 
21  float degradation(float intlumi, int ieta, int lay);
22 
23 private:
26 
27 };
28 
29 
30 #endif // HEDarkening_h
#define maxLay
Definition: HEDarkening.h:13
#define maxEta
float lumiscale[maxEta][maxLay]
Definition: HEDarkening.h:25
int ieta_shift
Definition: HEDarkening.h:24
float degradation(float intlumi, int ieta, int lay)
Definition: HEDarkening.cc:49