CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/DataFormats/HcalCalibObjects/interface/HEDarkening.h

Go to the documentation of this file.
00001 #ifndef HcalCalibObjects_HEDarkening_h
00002 #define HcalCalibObjects_HEDarkening_h
00003 //
00004 // Simple class with parameterizaed function to get darkening attenuation 
00005 // coefficiant for SLHC conditions
00006 // = degradation(int_lumi(intlumi) * dose(layer,Radius)), where
00007 // intlumi is integrated luminosity (fb-1), 
00008 // layer is HE layer number (from -1 up// to 17), NB: 1-19 in HcalTestNumbering
00009 // Radius is radius from the beam line (cm) 
00010 //
00011 
00012 #define maxEta 14
00013 #define maxLay 19
00014 
00015 class HEDarkening {
00016 
00017 public:
00018   HEDarkening();
00019   ~HEDarkening();
00020 
00021   float degradation(float intlumi, int ieta, int lay);
00022 
00023 private:
00024   int ieta_shift;
00025   float lumiscale[maxEta][maxLay];
00026 
00027 };
00028 
00029 
00030 #endif // HEDarkening_h