Classes | |
struct | electron_config |
struct | photon_config |
Public Types | |
typedef std::pair< edm::InputTag, ValMapFloatToken > | ValMapFloatTagTokenPair |
typedef edm::EDGetTokenT< edm::ValueMap< float > > | ValMapFloatToken |
typedef std::pair< edm::InputTag, ValMapIntToken > | ValMapIntTagTokenPair |
typedef edm::EDGetTokenT< edm::ValueMap< int > > | ValMapIntToken |
Public Member Functions | |
EGRegressionModifierV2 (const edm::ParameterSet &conf) | |
void | modifyObject (reco::GsfElectron &) const final |
void | modifyObject (reco::Photon &) const final |
void | modifyObject (pat::Electron &) const final |
void | modifyObject (pat::Photon &) const final |
void | setConsumes (edm::ConsumesCollector &) final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
~EGRegressionModifierV2 () override | |
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 () |
Definition at line 23 of file EGRegressionModifierV2.cc.
typedef std::pair<edm::InputTag, ValMapFloatToken> EGRegressionModifierV2::ValMapFloatTagTokenPair |
Definition at line 27 of file EGRegressionModifierV2.cc.
typedef edm::EDGetTokenT<edm::ValueMap<float> > EGRegressionModifierV2::ValMapFloatToken |
Definition at line 25 of file EGRegressionModifierV2.cc.
typedef std::pair<edm::InputTag, ValMapIntToken> EGRegressionModifierV2::ValMapIntTagTokenPair |
Definition at line 28 of file EGRegressionModifierV2.cc.
typedef edm::EDGetTokenT<edm::ValueMap<int> > EGRegressionModifierV2::ValMapIntToken |
Definition at line 26 of file EGRegressionModifierV2.cc.
EGRegressionModifierV2::EGRegressionModifierV2 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 102 of file EGRegressionModifierV2.cc.
References EGRegressionModifierV2::electron_config::condnames_ecalonly_mean, EGRegressionModifierV2::photon_config::condnames_ecalonly_mean, EGRegressionModifierV2::electron_config::condnames_ecalonly_sigma, EGRegressionModifierV2::photon_config::condnames_ecalonly_sigma, EGRegressionModifierV2::electron_config::condnames_ecaltrk_mean, EGRegressionModifierV2::electron_config::condnames_ecaltrk_sigma, constexpr, EGRegressionModifierV2::electron_config::electron_src, nano_cff::electrons, PatBasicAnalyzer_cfi::electronSrc, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), genParticles_cff::map, ModifyObjectValueBase::name(), EGRegressionModifierV2::photon_config::photon_src, muons_cff::photons, PatBasicAnalyzer_cfi::photonSrc, AlCaHLTBitMon_QueryRunRegistry::string, EGRegressionModifierV2::electron_config::tag_float_token_map, EGRegressionModifierV2::photon_config::tag_float_token_map, EGRegressionModifierV2::electron_config::tag_int_token_map, and EGRegressionModifierV2::photon_config::tag_int_token_map.
|
override |
Definition at line 198 of file EGRegressionModifierV2.cc.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 356 of file EGRegressionModifierV2.cc.
References funct::abs(), constexpr, reco::GsfElectron::correctMomentum(), reco::deltaPhi(), DetId::det(), reco::GsfElectron::ShowerShape::e5x5, e_forestH_mean_, e_forestH_sigma_, reco::GsfElectron::ecalDrivenSeed(), eOverP_ECALTRKThr_, epDiffSig_ECALTRKThr_, epSig_ECALTRKThr_, reco::CaloCluster::eta(), reco::GsfElectron::fbrem(), forceHighEnergyEcalTrainingIfSaturated_, DetId::Forward, reco::GsfElectron::full5x5_showerShape(), reco::GsfElectron::gsfTrack(), reco::GsfElectron::hcalOverEcalBc(), highEnergy_ECALTRKThr_, edm::Ref< C, T, F >::isAvailable(), reco::GsfElectron::isEB(), iSetup_, CastorSimpleRecAlgoImpl::isSaturated(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), lowEnergy_ECALonlyThr_, lowEnergy_ECALTRKThr_, SiStripPI::max, SiStripPI::mean, reco::GsfElectron::nSaturatedXtals(), reco::GsfElectron::p4(), reco::CaloCluster::phi(), mathSSE::return(), rhoValue_, reco::CaloCluster::seed(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::ClassificationVariables::trackFbrem, and reco::GsfElectron::trackMomentumError().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 557 of file EGRegressionModifierV2.cc.
References funct::abs(), constexpr, reco::deltaPhi(), DetId::det(), reco::Photon::ShowerShape::e5x5, reco::CaloCluster::eta(), forceHighEnergyEcalTrainingIfSaturated_, DetId::Forward, reco::Photon::full5x5_r9(), reco::Photon::full5x5_showerShapeVariables(), reco::Photon::hadronicOverEm(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), iSetup_, CastorSimpleRecAlgoImpl::isSaturated(), EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), lowEnergy_ECALonlyThr_, SiStripPI::max, SiStripPI::mean, reco::Photon::nSaturatedXtals(), ph_forestH_mean_, ph_forestH_sigma_, reco::CaloCluster::phi(), mathSSE::return(), rhoValue_, reco::CaloCluster::seed(), reco::Photon::setCorrectedEnergy(), and reco::Photon::superCluster().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 553 of file EGRegressionModifierV2.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 679 of file EGRegressionModifierV2.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 312 of file EGRegressionModifierV2.cc.
References edm::ConsumesCollector::consumes(), e_conf, EGRegressionModifierV2::electron_config::electron_src, genParticles_cff::map, ph_conf, EGRegressionModifierV2::photon_config::photon_src, rhoTag_, rhoToken_, edm::second(), EGRegressionModifierV2::electron_config::tag_float_token_map, EGRegressionModifierV2::photon_config::tag_float_token_map, EGRegressionModifierV2::electron_config::tag_int_token_map, EGRegressionModifierV2::photon_config::tag_int_token_map, EGRegressionModifierV2::electron_config::tok_electron_src, EGRegressionModifierV2::photon_config::tok_photon_src, mitigatedMETSequence_cff::U, and DOFs::Z.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 200 of file EGRegressionModifierV2.cc.
References e_conf, ele_int_vmaps, ele_vmaps, eles_by_oop, edm::Event::getByToken(), mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), pat::PATObject< ObjectType >::originalObjectRef(), ph_conf, pho_int_vmaps, pho_vmaps, phos_by_oop, rhoToken_, rhoValue_, EGRegressionModifierV2::electron_config::tag_float_token_map, EGRegressionModifierV2::photon_config::tag_float_token_map, EGRegressionModifierV2::electron_config::tag_int_token_map, EGRegressionModifierV2::photon_config::tag_int_token_map, EGRegressionModifierV2::electron_config::tok_electron_src, and EGRegressionModifierV2::photon_config::tok_photon_src.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 260 of file EGRegressionModifierV2.cc.
References EGRegressionModifierV2::electron_config::condnames_ecalonly_mean, EGRegressionModifierV2::photon_config::condnames_ecalonly_mean, EGRegressionModifierV2::electron_config::condnames_ecalonly_sigma, EGRegressionModifierV2::photon_config::condnames_ecalonly_sigma, EGRegressionModifierV2::electron_config::condnames_ecaltrk_mean, EGRegressionModifierV2::electron_config::condnames_ecaltrk_sigma, e_conf, e_forestH_mean_, e_forestH_sigma_, edm::EventSetup::get(), iSetup_, ph_conf, ph_forestH_mean_, ph_forestH_sigma_, edm::ESHandle< T >::product(), GlobalPosition_Frontier_DevDB_cff::tag, and mitigatedMETSequence_cff::U.
|
private |
Definition at line 67 of file EGRegressionModifierV2.cc.
Referenced by setConsumes(), setEvent(), and setEventContent().
|
private |
Definition at line 84 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 85 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 71 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 70 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 69 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 90 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 91 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 92 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 93 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 89 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 80 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 87 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 88 of file EGRegressionModifierV2.cc.
Referenced by modifyObject().
|
private |
Definition at line 68 of file EGRegressionModifierV2.cc.
Referenced by setConsumes(), setEvent(), and setEventContent().
|
private |
Definition at line 82 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 83 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 74 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 73 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 72 of file EGRegressionModifierV2.cc.
Referenced by setEvent().
|
private |
Definition at line 77 of file EGRegressionModifierV2.cc.
Referenced by setConsumes().
|
private |
Definition at line 78 of file EGRegressionModifierV2.cc.
Referenced by setConsumes(), and setEvent().
|
private |
Definition at line 76 of file EGRegressionModifierV2.cc.
Referenced by modifyObject(), and setEvent().