#include <HBHEDarkening.h>
Classes | |
struct | LumiYear |
struct | LumiYearComp |
Public Member Functions | |
float | degradation (float intlumi, int ieta, int lay) const |
int | get_ieta_shift () const |
HBHEDarkening (int ieta_shift, float drdA, float drdB, const std::map< int, std::vector< std::vector< float >>> &dosemaps, const std::vector< LumiYear > &years) | |
~HBHEDarkening () | |
Static Public Member Functions | |
static std::vector< std::vector< float > > | readDoseMap (const std::string &fullpath) |
Private Member Functions | |
float | degradationYear (const LumiYear &year, float intlumi, int ieta, int lay) const |
float | dose (int ieta, int lay, int energy) const |
std::string | getYearForLumi (float intlumi) const |
Private Attributes | |
std::map< int, std::vector< std::vector< float > > > | dosemaps_ |
float | drdA_ |
float | drdB_ |
int | ieta_shift_ |
std::vector< LumiYear > | years_ |
Definition at line 17 of file HBHEDarkening.h.
HBHEDarkening::HBHEDarkening | ( | int | ieta_shift, |
float | drdA, | ||
float | drdB, | ||
const std::map< int, std::vector< std::vector< float >>> & | dosemaps, | ||
const std::vector< LumiYear > & | years | ||
) |
Definition at line 16 of file HBHEDarkening.cc.
References create_public_lumi_plots::year, and years_.
Referenced by HBHEDarkening::LumiYearComp::operator()().
|
inline |
float HBHEDarkening::degradation | ( | float | intlumi, |
int | ieta, | ||
int | lay | ||
) | const |
Definition at line 88 of file HBHEDarkening.cc.
References funct::abs(), degradationYear(), getYearForLumi(), ieta_shift_, AlCaHLTBitMon_QueryRunRegistry::string, create_public_lumi_plots::year, and years_.
Referenced by HcalDigitizer::darkening(), HCalSD::getEnergyDeposit(), HBHERecalibration::initialize(), and ~HBHEDarkening().
|
private |
Definition at line 72 of file HBHEDarkening.cc.
References dose(), drdA_, drdB_, HBHEDarkening::LumiYear::energy_, JetChargeProducer_cfi::exp, HBHEDarkening::LumiYear::intlumi_, HBHEDarkening::LumiYear::lumirate_, funct::pow(), and HBHEDarkening::LumiYear::sumlumi_.
Referenced by degradation(), and get_ieta_shift().
|
private |
Definition at line 47 of file HBHEDarkening.cc.
References dosemaps_.
Referenced by degradationYear(), and get_ieta_shift().
|
inline |
Definition at line 50 of file HBHEDarkening.h.
References degradationYear(), dose(), getYearForLumi(), ieta_shift_, readDoseMap(), AlCaHLTBitMon_QueryRunRegistry::string, and create_public_lumi_plots::year.
Referenced by HBHERecalibration::setup().
|
private |
Definition at line 63 of file HBHEDarkening.cc.
References Exception, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, or, and years_.
Referenced by degradation(), and get_ieta_shift().
|
static |
Definition at line 29 of file HBHEDarkening.cc.
References Exception, mps_splice::line, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by get_ieta_shift(), and HBHEDarkeningEP::produce().
|
private |
Definition at line 64 of file HBHEDarkening.h.
Referenced by dose().
|
private |
Definition at line 63 of file HBHEDarkening.h.
Referenced by degradationYear().
|
private |
Definition at line 63 of file HBHEDarkening.h.
Referenced by degradationYear().
|
private |
Definition at line 62 of file HBHEDarkening.h.
Referenced by degradation(), and get_ieta_shift().
|
private |
Definition at line 65 of file HBHEDarkening.h.
Referenced by degradation(), getYearForLumi(), and HBHEDarkening().