Public Member Functions | |
EGRegressionModifierV2 (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (reco::GsfElectron &) const final |
void | modifyObject (reco::Photon &) const final |
void | modifyObject (pat::Electron &ele) const final |
void | modifyObject (pat::Photon &pho) const final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
Public Member Functions inherited from ModifyObjectValueBase | |
virtual void | modifyObject (reco::Muon &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (pat::Muon &) const |
virtual void | modifyObject (pat::Tau &) const |
virtual void | modifyObject (pat::Jet &) const |
ModifyObjectValueBase (const edm::ParameterSet &conf) | |
const std::string & | name () const |
virtual | ~ModifyObjectValueBase () |
Private Attributes | |
CaloGeometry const * | caloGeometry_ = nullptr |
const edm::ESGetToken < CaloGeometry, CaloGeometryRecord > | caloGeometryToken_ |
EGRegressionModifierCondTokens | eleCondTokens_ |
std::vector< const GBRForestD * > | eleForestsMean_ |
std::vector< const GBRForestD * > | eleForestsSigma_ |
const double | eOverPEcalTrkThr_ |
const double | epDiffSigEcalTrackThr_ |
const double | epSigEcalTrackThr_ |
const bool | forceHighEnergyEcalTrainingIfSaturated_ |
const double | highEnergyEcalTrackThr_ |
const double | lowEnergyEcalOnlyThr_ |
const double | lowEnergyEcalTrackThr_ |
EGRegressionModifierCondTokens | phoCondTokens_ |
std::vector< const GBRForestD * > | phoForestsMean_ |
std::vector< const GBRForestD * > | phoForestsSigma_ |
const edm::EDGetTokenT< double > | rhoToken_ |
float | rhoValue_ |
Definition at line 16 of file EGRegressionModifierV2.cc.
EGRegressionModifierV2::EGRegressionModifierV2 | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 55 of file EGRegressionModifierV2.cc.
References edm::ParameterSet::getParameterSet().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 90 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, reco::GsfElectron::correctMomentum(), reco::deltaPhi(), reco::GsfElectron::ShowerShape::e5x5, reco::GsfElectron::ecalDrivenSeed(), eleForestsMean_, eleForestsSigma_, eOverPEcalTrkThr_, epDiffSigEcalTrackThr_, epSigEcalTrackThr_, reco::GsfElectron::fbrem(), forceHighEnergyEcalTrainingIfSaturated_, reco::GsfElectron::full5x5_showerShape(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), edm::Ref< C, T, F >::isAvailable(), reco::GsfElectron::isEB(), EcalTools::isHGCalDet(), CastorSimpleRecAlgoImpl::isSaturated(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), lowEnergyEcalOnlyThr_, lowEnergyEcalTrackThr_, SiStripPI::max, SiStripPI::mean, reco::GsfElectron::nSaturatedXtals(), reco::GsfElectron::p4(), rhoValue_, fileCollector::seed, reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::ClassificationVariables::trackFbrem, and reco::GsfElectron::trackMomentumError().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 288 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, reco::deltaPhi(), reco::Photon::ShowerShape::e5x5, forceHighEnergyEcalTrainingIfSaturated_, reco::Photon::full5x5_r9(), reco::Photon::full5x5_showerShapeVariables(), reco::Photon::hadronicOverEm(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), EcalTools::isHGCalDet(), CastorSimpleRecAlgoImpl::isSaturated(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), lowEnergyEcalOnlyThr_, SiStripPI::max, SiStripPI::mean, reco::Photon::nSaturatedXtals(), phoForestsMean_, phoForestsSigma_, rhoValue_, fileCollector::seed, reco::Photon::setCorrectedEnergy(), and reco::Photon::superCluster().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 27 of file EGRegressionModifierV2.cc.
References modifyObject().
Referenced by modifyObject().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 28 of file EGRegressionModifierV2.cc.
References modifyObject().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 78 of file EGRegressionModifierV2.cc.
References edm::Event::get(), rhoToken_, and rhoValue_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 80 of file EGRegressionModifierV2.cc.
References caloGeometry_, caloGeometryToken_, eleCondTokens_, eleForestsMean_, eleForestsSigma_, edm::EventSetup::getData(), EGRegressionModifierCondTokens::mean, phoCondTokens_, phoForestsMean_, phoForestsSigma_, retrieveGBRForests(), and EGRegressionModifierCondTokens::sigma.
|
private |
Definition at line 37 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 36 of file EGRegressionModifierV2.cc.
Referenced by setEventContent().
|
private |
Definition at line 31 of file EGRegressionModifierV2.cc.
Referenced by setEventContent().
|
private |
Definition at line 41 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 42 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 47 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 48 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 49 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 50 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 46 of file EGRegressionModifierV2.cc.
|
private |
Definition at line 44 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 45 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 32 of file EGRegressionModifierV2.cc.
Referenced by setEventContent().
|
private |
Definition at line 39 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 40 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 35 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 34 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEvent().