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