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