1 #ifndef CondFormats_HcalObjects_HBHEDarkening_h 2 #define CondFormats_HcalObjects_HBHEDarkening_h 45 HBHEDarkening(
int ieta_shift,
float drdA,
float drdB,
const std::map<
int,std::vector<std::vector<float>>>& dosemaps,
const std::vector<LumiYear>&
years);
49 float degradation(
float intlumi,
int ieta,
int lay)
const;
57 float dose(
int ieta,
int lay,
int energy)
const;
64 std::map<int,std::vector<std::vector<float>>>
dosemaps_;
68 #endif // HBHEDarkening_h
HBHEDarkening(int ieta_shift, float drdA, float drdB, const std::map< int, std::vector< std::vector< float >>> &dosemaps, const std::vector< LumiYear > &years)
std::string getYearForLumi(float intlumi) const
std::map< int, std::vector< std::vector< float > > > dosemaps_
static std::vector< std::vector< float > > readDoseMap(const std::string &fullpath)
bool operator<(const LumiYear &yr) const
LumiYear(std::string year, float intlumi, float lumirate, int energy)
float degradationYear(const LumiYear &year, float intlumi, int ieta, int lay) const
std::vector< LumiYear > years_
int get_ieta_shift() const
bool operator()(const LumiYear &yr, const float &lum) const
float dose(int ieta, int lay, int energy) const
float degradation(float intlumi, int ieta, int lay) const