#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 jetUpdater_cfi::sort, and years_.
|
inline |
Definition at line 45 of file HBHEDarkening.h.
float HBHEDarkening::degradation | ( | float | intlumi, |
int | ieta, | ||
int | lay | ||
) | const |
Definition at line 98 of file HBHEDarkening.cc.
References funct::abs(), cms::cuda::assert(), degradationYear(), getYearForLumi(), LEDCalibrationChannels::ieta, ieta_shift_, submitPVValidationJobs::intlumi, AlCaHLTBitMon_QueryRunRegistry::string, and years_.
Referenced by HcalDigitizer::darkening(), HCalSD::getEnergyDeposit(), and HBHERecalibration::initialize().
|
private |
Definition at line 80 of file HBHEDarkening.cc.
References dose(), drdA_, drdB_, HBHEDarkening::LumiYear::energy_, JetChargeProducer_cfi::exp, LEDCalibrationChannels::ieta, submitPVValidationJobs::intlumi, HBHEDarkening::LumiYear::intlumi_, HBHEDarkening::LumiYear::lumirate_, funct::pow(), and HBHEDarkening::LumiYear::sumlumi_.
Referenced by degradation().
|
private |
Definition at line 51 of file HBHEDarkening.cc.
References dosemaps_, HCALHighEnergyHPDFilter_cfi::energy, and LEDCalibrationChannels::ieta.
Referenced by degradationYear().
|
inline |
Definition at line 49 of file HBHEDarkening.h.
References ieta_shift_.
Referenced by HBHERecalibration::setup().
|
private |
Definition at line 70 of file HBHEDarkening.cc.
References Exception, submitPVValidationJobs::intlumi, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, or, and years_.
Referenced by degradation().
|
static |
Definition at line 32 of file HBHEDarkening.cc.
References Exception, reco_skim_cfg_mod::fullpath, timingPdfMaker::infile, mps_splice::line, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by HBHEDarkeningEP::produce().
|
private |
Definition at line 63 of file HBHEDarkening.h.
Referenced by dose().
|
private |
Definition at line 62 of file HBHEDarkening.h.
Referenced by degradationYear().
|
private |
Definition at line 62 of file HBHEDarkening.h.
Referenced by degradationYear().
|
private |
Definition at line 61 of file HBHEDarkening.h.
Referenced by degradation(), and get_ieta_shift().
|
private |
Definition at line 64 of file HBHEDarkening.h.
Referenced by degradation(), getYearForLumi(), and HBHEDarkening().