#include <EpCombinationTool.h>
Public Member Functions | |
void | combine (SimpleElectron &mySimpleElectron) const |
std::pair< float, float > | combine (const reco::GsfElectron &electron) const |
std::pair< float, float > | combine (const reco::GsfElectron &electron, float corrEcalEnergyErr) const |
EpCombinationTool () | |
EpCombinationTool (const EpCombinationTool &other)=delete | |
EpCombinationTool (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&cc) | |
bool | init (const GBRForest *forest) |
bool | init (const std::string ®ressionFile, const std::string &bdtName) |
EpCombinationTool & | operator= (const EpCombinationTool &other)=delete |
void | setEventContent (const edm::EventSetup &iSetup) |
~EpCombinationTool () | |
~EpCombinationTool () | |
Static Public Member Functions | |
static edm::ParameterSetDescription | makePSetDescription () |
Private Attributes | |
EgammaRegressionContainer | ecalTrkEnergyRegress_ |
EgammaRegressionContainer | ecalTrkEnergyRegressUncert_ |
const GBRForest * | m_forest |
bool | m_ownForest |
float | maxEcalEnergyForComb_ |
float | maxEPDiffInSigmaForComb_ |
float | maxRelTrkMomErrForComb_ |
float | minEOverPForComb_ |
Definition at line 10 of file EpCombinationTool.h.
EpCombinationTool::EpCombinationTool | ( | ) |
Definition at line 12 of file EpCombinationTool.cc.
EpCombinationTool::~EpCombinationTool | ( | ) |
|
delete |
EpCombinationTool::EpCombinationTool | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | cc | ||
) |
Definition at line 15 of file EpCombinationTool.cc.
|
inline |
Definition at line 23 of file EpCombinationTool.h.
void EpCombinationTool::combine | ( | SimpleElectron & | mySimpleElectron | ) | const |
Definition at line 58 of file EpCombinationTool.cc.
References gather_cfg::cout, HBHEDarkening_cff::energy, EgHLTOffHistBins_cfi::eOverP, electrons_cff::isEB, electrons_cff::isEcalDriven, mathSSE::sqrt(), and mps_merge::weight.
Referenced by EGEtScaleSysModifier::calCombinedMom(), ElectronEnergyCalibrator::calCombinedMom(), ElectronEnergyCalibratorRun2::calibrate(), and combine().
std::pair< float, float > EpCombinationTool::combine | ( | const reco::GsfElectron & | electron | ) | const |
Definition at line 40 of file EpCombinationTool.cc.
References combine(), and reco::GsfElectron::correctedEcalEnergyError().
std::pair< float, float > EpCombinationTool::combine | ( | const reco::GsfElectron & | electron, |
float | corrEcalEnergyErr | ||
) | const |
Definition at line 47 of file EpCombinationTool.cc.
References funct::abs(), reco::GsfElectron::correctedEcalEnergy(), reco::GsfElectron::ecalDrivenSeed(), ecalTrkEnergyRegress_, ecalTrkEnergyRegressUncert_, EgHLTOffHistBins_cfi::eOverP, electrons_cff::fbrem, reco::GsfElectron::fbrem(), reco::GsfElectron::full5x5_showerShape(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::isEB(), maxEPDiffInSigmaForComb_, maxRelTrkMomErrForComb_, SiStripPI::mean, minEOverPForComb_, reco::GsfElectron::nSaturatedXtals(), reco::GsfElectron::ShowerShape::r9, mathSSE::sqrt(), reco::GsfElectron::superCluster(), run3scouting_cff::trkEta, and run3scouting_cff::trkPhi.
bool EpCombinationTool::init | ( | const GBRForest * | forest | ) |
bool EpCombinationTool::init | ( | const std::string & | regressionFile, |
const std::string & | bdtName | ||
) |
Definition at line 27 of file EpCombinationTool.cc.
References gather_cfg::cout, m_forest, and m_ownForest.
|
static |
Definition at line 23 of file EpCombinationTool.cc.
References submitPVResolutionJobs::desc, and EgammaRegressionContainer::makePSetDescription().
Referenced by CalibratedElectronProducerT< T >::fillDescriptions().
|
delete |
void EpCombinationTool::setEventContent | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 35 of file EpCombinationTool.cc.
References ecalTrkEnergyRegress_, ecalTrkEnergyRegressUncert_, and EgammaRegressionContainer::setEventContent().
Referenced by EGEtScaleSysModifier::setEventContent().
|
private |
Definition at line 32 of file EpCombinationTool.h.
Referenced by combine(), and setEventContent().
|
private |
Definition at line 33 of file EpCombinationTool.h.
Referenced by combine(), and setEventContent().
|
private |
Definition at line 23 of file EpCombinationTool.h.
Referenced by init(), and ~EpCombinationTool().
|
private |
Definition at line 24 of file EpCombinationTool.h.
Referenced by init(), and ~EpCombinationTool().
|
private |
Definition at line 34 of file EpCombinationTool.h.
|
private |
Definition at line 36 of file EpCombinationTool.h.
Referenced by combine().
|
private |
Definition at line 37 of file EpCombinationTool.h.
Referenced by combine().
|
private |
Definition at line 35 of file EpCombinationTool.h.
Referenced by combine().