Classes | |
struct | CondNames |
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 | |
edm::ESHandle< CaloGeometry > | caloGeometry_ |
CondNames | eleCondNames_ |
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_ |
CondNames | phoCondNames_ |
std::vector< const GBRForestD * > | phoForestsMean_ |
std::vector< const GBRForestD * > | phoForestsSigma_ |
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 61 of file EGRegressionModifierV2.cc.
References eleCondNames_, lowPtElectrons_cff::electrons, eleForestsMean_, eleForestsSigma_, edm::ParameterSet::getParameter(), EGRegressionModifierV2::CondNames::mean, phoCondNames_, phoForestsMean_, phoForestsSigma_, and muons_cff::photons.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 111 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, constexpr, reco::GsfElectron::correctMomentum(), reco::deltaPhi(), DetId::det(), reco::GsfElectron::ShowerShape::e5x5, reco::GsfElectron::ecalDrivenSeed(), eleForestsMean_, eleForestsSigma_, eOverPEcalTrkThr_, epDiffSigEcalTrackThr_, epSigEcalTrackThr_, reco::CaloCluster::eta(), reco::GsfElectron::fbrem(), forceHighEnergyEcalTrainingIfSaturated_, reco::GsfElectron::full5x5_showerShape(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), highEnergyEcalTrackThr_, 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(), reco::CaloCluster::phi(), jets_cff::rawPt, mathSSE::return(), rhoValue_, reco::CaloCluster::seed(), SurveyInfoScenario_cff::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 307 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, constexpr, reco::deltaPhi(), DetId::det(), reco::Photon::ShowerShape::e5x5, reco::CaloCluster::eta(), 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(), reco::CaloCluster::phi(), phoForestsMean_, phoForestsSigma_, jets_cff::rawPt, mathSSE::return(), rhoValue_, reco::CaloCluster::seed(), SurveyInfoScenario_cff::seed, reco::Photon::setCorrectedEnergy(), and reco::Photon::superCluster().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 28 of file EGRegressionModifierV2.cc.
References modifyObject().
Referenced by modifyObject().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 29 of file EGRegressionModifierV2.cc.
References modifyObject().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 93 of file EGRegressionModifierV2.cc.
References edm::Event::getByToken(), rhoToken_, and rhoValue_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 100 of file EGRegressionModifierV2.cc.
References caloGeometry_, eleCondNames_, eleForestsMean_, eleForestsSigma_, edm::EventSetup::get(), EGRegressionModifierV2::CondNames::mean, phoCondNames_, phoForestsMean_, phoForestsSigma_, retrieveGBRForests(), and EGRegressionModifierV2::CondNames::sigma.
|
private |
Definition at line 42 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 37 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), and setEventContent().
|
private |
Definition at line 46 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 47 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 52 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 53 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 54 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 55 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 51 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 38 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), and setEventContent().
|
private |
Definition at line 44 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 45 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 41 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 40 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEvent().