1 #ifndef CondFormats_HcalObjects_HBHEDarkening_h 2 #define CondFormats_HcalObjects_HBHEDarkening_h 43 const std::map<
int, std::vector<std::vector<float>>>& dosemaps,
44 const std::vector<LumiYear>& years);
56 float dose(
int ieta,
int lay,
int energy)
const;
63 std::map<int, std::vector<std::vector<float>>>
dosemaps_;
67 #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