Classes | |
struct | CondNames |
Public Member Functions | |
EGRegressionModifierV2 (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (pat::Electron &ele) const final |
void | modifyObject (pat::Photon &pho) const final |
void | modifyObject (reco::GsfElectron &) const final |
void | modifyObject (reco::Photon &) const final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
Public Member Functions inherited from ModifyObjectValueBase | |
virtual void | modifyObject (pat::Jet &) const |
virtual void | modifyObject (pat::Muon &) const |
virtual void | modifyObject (pat::Tau &) const |
virtual void | modifyObject (reco::BaseTau &) const |
virtual void | modifyObject (reco::Jet &) const |
virtual void | modifyObject (reco::Muon &) 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 59 of file EGRegressionModifierV2.cc.
References eleCondNames_, pwdgSkimBPark_cfi::electrons, eleForestsMean_, eleForestsSigma_, edm::ParameterSet::getParameter(), EGRegressionModifierV2::CondNames::mean, phoCondNames_, phoForestsMean_, phoForestsSigma_, and BPHMonitor_cfi::photons.
|
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 106 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, reco::GsfElectron::correctMomentum(), reco::deltaPhi(), reco::GsfElectron::ShowerShape::e5x5, reco::GsfElectron::ecalDrivenSeed(), eleForestsMean_, eleForestsSigma_, EgHLTOffHistBins_cfi::eOverP, eOverPEcalTrkThr_, epDiffSigEcalTrackThr_, epSigEcalTrackThr_, reco::GsfElectron::fbrem(), forceHighEnergyEcalTrainingIfSaturated_, reco::GsfElectron::full5x5_showerShape(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, 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(), jets_cff::rawPt, rhoValue_, 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 304 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(), LEDCalibrationChannels::ieta, LEDCalibrationChannels::iphi, 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_, jets_cff::rawPt, rhoValue_, SurveyInfoScenario_cff::seed, reco::Photon::setCorrectedEnergy(), and reco::Photon::superCluster().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 90 of file EGRegressionModifierV2.cc.
References edm::Event::getByToken(), rhoToken_, and rhoValue_.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 96 of file EGRegressionModifierV2.cc.
References caloGeometry_, eleCondNames_, eleForestsMean_, eleForestsSigma_, edm::EventSetup::get(), get, EGRegressionModifierV2::CondNames::mean, phoCondNames_, phoForestsMean_, phoForestsSigma_, retrieveGBRForests(), and EGRegressionModifierV2::CondNames::sigma.
|
private |
Definition at line 41 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 36 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), and setEventContent().
|
private |
Definition at line 45 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 46 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 51 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
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 50 of file EGRegressionModifierV2.cc.
|
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 37 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), and setEventContent().
|
private |
Definition at line 43 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 44 of file EGRegressionModifierV2.cc.
Referenced by EGRegressionModifierV2(), modifyObject(), and setEventContent().
|
private |
Definition at line 40 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 39 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEvent().