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 gpuPixelDoublets::cc, and edm::ParameterSet::getParameterSet().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 90 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), reco::GsfElectron::correctMomentum(), reco::deltaPhi(), reco::GsfElectron::ShowerShape::e5x5, reco::GsfElectron::ecalDrivenSeed(), eleForestsMean_, eleForestsSigma_, EgHLTOffHistBins_cfi::eOverP, eOverPEcalTrkThr_, epDiffSigEcalTrackThr_, epSigEcalTrackThr_, electrons_cff::fbrem, reco::GsfElectron::fbrem(), forceHighEnergyEcalTrainingIfSaturated_, reco::GsfElectron::full5x5_showerShape(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, edm::Ref< C, T, F >::isAvailable(), electrons_cff::isEB, reco::GsfElectron::isEB(), EcalTools::isHGCalDet(), CastorSimpleRecAlgoImpl::isSaturated(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), lowEnergyEcalOnlyThr_, lowEnergyEcalTrackThr_, SiStripPI::max, SiStripPI::mean, reco::GsfElectron::nSaturatedXtals(), reco::GsfElectron::p4(), electrons_cff::rawEnergy, jetsAK4_CHS_cff::rawPt, rhoValue_, fileCollector::seed, reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::ClassificationVariables::trackFbrem, reco::GsfElectron::trackMomentumError(), run3scouting_cff::trkEta, and run3scouting_cff::trkPhi.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 288 of file EGRegressionModifierV2.cc.
References funct::abs(), caloGeometry_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), reco::deltaPhi(), reco::Photon::ShowerShape::e5x5, forceHighEnergyEcalTrainingIfSaturated_, reco::Photon::full5x5_r9(), reco::Photon::full5x5_showerShapeVariables(), reco::Photon::hadronicOverEm(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), electrons_cff::isEB, EcalTools::isHGCalDet(), CastorSimpleRecAlgoImpl::isSaturated(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), egammaTools::localEcalClusterCoordsEB(), egammaTools::localEcalClusterCoordsEE(), lowEnergyEcalOnlyThr_, SiStripPI::max, SiStripPI::mean, reco::Photon::nSaturatedXtals(), phoForestsMean_, phoForestsSigma_, electrons_cff::rawEnergy, jetsAK4_CHS_cff::rawPt, 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().