#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) | |
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 | ) |
Definition at line 14 of file EpCombinationTool.cc.
|
inline |
Definition at line 22 of file EpCombinationTool.h.
References funct::combine(), and metsig::electron.
void EpCombinationTool::combine | ( | SimpleElectron & | mySimpleElectron | ) | const |
Definition at line 58 of file EpCombinationTool.cc.
References gather_cfg::cout, HCALHighEnergyHPDFilter_cfi::energy, EgHLTOffHistBins_cfi::eOverP, GBRForest::GetResponse(), m_forest, 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 39 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 46 of file EpCombinationTool.cc.
References funct::abs(), reco::GsfElectron::correctedEcalEnergy(), reco::GsfElectron::ecalDrivenSeed(), ecalTrkEnergyRegress_, ecalTrkEnergyRegressUncert_, EgHLTOffHistBins_cfi::eOverP, 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(), and reco::GsfElectron::superCluster().
bool EpCombinationTool::init | ( | const GBRForest * | forest | ) |
Definition at line 49 of file EpCombinationTool.cc.
References m_forest, and m_ownForest.
Referenced by CalibratedElectronProducerRun2T< T >::produce().
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 22 of file EpCombinationTool.cc.
References edm::ParameterSetDescription::add(), and EgammaRegressionContainer::makePSetDescription().
Referenced by CalibratedElectronProducerT< T >::fillDescriptions().
|
delete |
void EpCombinationTool::setEventContent | ( | const edm::EventSetup & | iSetup | ) |
Definition at line 34 of file EpCombinationTool.cc.
References ecalTrkEnergyRegress_, ecalTrkEnergyRegressUncert_, and EgammaRegressionContainer::setEventContent().
Referenced by CalibratedElectronProducerT< T >::produce(), EGRegressionModifierV3::EleRegs::setEventContent(), and EGEtScaleSysModifier::setEventContent().
|
private |
Definition at line 31 of file EpCombinationTool.h.
Referenced by combine(), and setEventContent().
|
private |
Definition at line 32 of file EpCombinationTool.h.
Referenced by combine(), and setEventContent().
|
private |
Definition at line 23 of file EpCombinationTool.h.
Referenced by combine(), init(), and ~EpCombinationTool().
|
private |
Definition at line 24 of file EpCombinationTool.h.
Referenced by init(), and ~EpCombinationTool().
|
private |
Definition at line 33 of file EpCombinationTool.h.
|
private |
Definition at line 35 of file EpCombinationTool.h.
Referenced by combine().
|
private |
Definition at line 36 of file EpCombinationTool.h.
Referenced by combine().
|
private |
Definition at line 34 of file EpCombinationTool.h.
Referenced by combine().