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 | |
EGRegressionModifierV1 (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 |
~EGRegressionModifierV1 () 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 28 of file EGRegressionModifierV1.cc.
typedef std::pair<edm::InputTag, ValMapFloatToken> EGRegressionModifierV1::ValMapFloatTagTokenPair |
Definition at line 32 of file EGRegressionModifierV1.cc.
typedef edm::EDGetTokenT<edm::ValueMap<float> > EGRegressionModifierV1::ValMapFloatToken |
Definition at line 30 of file EGRegressionModifierV1.cc.
typedef std::pair<edm::InputTag, ValMapIntToken> EGRegressionModifierV1::ValMapIntTagTokenPair |
Definition at line 33 of file EGRegressionModifierV1.cc.
typedef edm::EDGetTokenT<edm::ValueMap<int> > EGRegressionModifierV1::ValMapIntToken |
Definition at line 31 of file EGRegressionModifierV1.cc.
EGRegressionModifierV1::EGRegressionModifierV1 | ( | const edm::ParameterSet & | conf | ) |
Definition at line 111 of file EGRegressionModifierV1.cc.
References applyExtraHighEnergyProtection_, autoDetectBunchSpacing_, bunchspacing_, bunchspacingTag_, EGRegressionModifierV1::electron_config::condnames_mean_25ns, EGRegressionModifierV1::photon_config::condnames_mean_25ns, EGRegressionModifierV1::electron_config::condnames_mean_50ns, EGRegressionModifierV1::photon_config::condnames_mean_50ns, EGRegressionModifierV1::electron_config::condnames_sigma_25ns, EGRegressionModifierV1::photon_config::condnames_sigma_25ns, EGRegressionModifierV1::electron_config::condnames_sigma_50ns, EGRegressionModifierV1::photon_config::condnames_sigma_50ns, EGRegressionModifierV1::electron_config::condnames_weight_25ns, EGRegressionModifierV1::electron_config::condnames_weight_50ns, constexpr, e_conf, EGRegressionModifierV1::electron_config::electron_src, electrons_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(), ph_conf, EGRegressionModifierV1::photon_config::photon_src, nano_cff::photons, PatBasicAnalyzer_cfi::photonSrc, rhoTag_, AlCaHLTBitMon_QueryRunRegistry::string, EGRegressionModifierV1::electron_config::tag_float_token_map, EGRegressionModifierV1::photon_config::tag_float_token_map, EGRegressionModifierV1::electron_config::tag_int_token_map, EGRegressionModifierV1::photon_config::tag_int_token_map, and vtxTag_.
|
inlineoverride |
Definition at line 62 of file EGRegressionModifierV1.cc.
References modifyObject(), setConsumes(), setEvent(), and setEventContent().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 366 of file EGRegressionModifierV1.cc.
References funct::abs(), applyExtraHighEnergyProtection_, reco::GsfElectron::classification(), constexpr, reco::GsfElectron::correctMomentum(), reco::deltaPhi(), reco::deltaR(), e_forestH_mean_, e_forestH_sigma_, reco::GsfElectron::ecalDriven(), reco::CaloCluster::energy(), ep_forestH_weight_, reco::CaloCluster::eta(), GBRForest::GetResponse(), createfilelist::int, edm::Ref< C, T, F >::isAvailable(), reco::GsfElectron::isEB(), iSetup_, EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), SiStripPI::max, electronTrackIsolations_cfi::maxDR, SiStripPI::mean, nVtx_, reco::GsfElectron::p4(), reco::CaloCluster::phi(), mathSSE::return(), reco::GsfElectron::setCorrectedEcalEnergy(), reco::GsfElectron::setCorrectedEcalEnergyError(), reco::GsfElectron::showerShape(), mathSSE::sqrt(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackerDrivenSeed(), reco::GsfElectron::trackMomentumAtVtx(), reco::GsfElectron::trackMomentumError(), and mps_merge::weight.
Referenced by modifyObject(), and ~EGRegressionModifierV1().
|
finalvirtual |
this is 1*abs(ieta)/ieta in original training
duplicated variables but this was trained like that
duplicated variables but this was trained like that
Reimplemented from ModifyObjectValueBase.
Definition at line 564 of file EGRegressionModifierV1.cc.
References funct::abs(), reco::deltaPhi(), reco::Photon::e5x5(), reco::CaloCluster::energy(), reco::CaloCluster::eta(), reco::Photon::hadronicOverEm(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), SiStripPI::max, SiStripPI::mean, nVtx_, ph_forestH_mean_, ph_forestH_sigma_, reco::CaloCluster::phi(), reco::Photon::r9(), mathSSE::return(), rhoValue_, reco::CaloCluster::seed(), reco::Photon::setCorrectedEnergy(), reco::Photon::showerShapeVariables(), and reco::Photon::superCluster().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 560 of file EGRegressionModifierV1.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 665 of file EGRegressionModifierV1.cc.
References modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 318 of file EGRegressionModifierV1.cc.
References autoDetectBunchSpacing_, bunchspacingTag_, bunchSpacingToken_, edm::ConsumesCollector::consumes(), e_conf, EGRegressionModifierV1::electron_config::electron_src, genParticles_cff::map, ph_conf, EGRegressionModifierV1::photon_config::photon_src, rhoTag_, rhoToken_, edm::second(), EGRegressionModifierV1::electron_config::tag_float_token_map, EGRegressionModifierV1::photon_config::tag_float_token_map, EGRegressionModifierV1::electron_config::tag_int_token_map, EGRegressionModifierV1::photon_config::tag_int_token_map, EGRegressionModifierV1::electron_config::tok_electron_src, EGRegressionModifierV1::photon_config::tok_photon_src, mitigatedMETSequence_cff::U, vtxTag_, vtxToken_, and DOFs::Z.
Referenced by ~EGRegressionModifierV1().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 203 of file EGRegressionModifierV1.cc.
References autoDetectBunchSpacing_, bunchspacing_, bunchSpacingToken_, e_conf, ele_int_vmaps, ele_vmaps, eles_by_oop, edm::Event::getByToken(), mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), nVtx_, pat::PATObject< ObjectType >::originalObjectRef(), ph_conf, pho_int_vmaps, pho_vmaps, phos_by_oop, rhoToken_, rhoValue_, EGRegressionModifierV1::electron_config::tag_float_token_map, EGRegressionModifierV1::photon_config::tag_float_token_map, EGRegressionModifierV1::electron_config::tag_int_token_map, EGRegressionModifierV1::photon_config::tag_int_token_map, EGRegressionModifierV1::electron_config::tok_electron_src, EGRegressionModifierV1::photon_config::tok_photon_src, vtxH_, and vtxToken_.
Referenced by ~EGRegressionModifierV1().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 270 of file EGRegressionModifierV1.cc.
References bunchspacing_, EGRegressionModifierV1::electron_config::condnames_mean_25ns, EGRegressionModifierV1::photon_config::condnames_mean_25ns, EGRegressionModifierV1::electron_config::condnames_mean_50ns, EGRegressionModifierV1::photon_config::condnames_mean_50ns, EGRegressionModifierV1::electron_config::condnames_sigma_25ns, EGRegressionModifierV1::photon_config::condnames_sigma_25ns, EGRegressionModifierV1::electron_config::condnames_sigma_50ns, EGRegressionModifierV1::photon_config::condnames_sigma_50ns, EGRegressionModifierV1::electron_config::condnames_weight_25ns, EGRegressionModifierV1::electron_config::condnames_weight_50ns, e_conf, e_forestH_mean_, e_forestH_sigma_, ep_forestH_weight_, edm::EventSetup::get(), iSetup_, ph_conf, ph_forestH_mean_, ph_forestH_sigma_, edm::ESHandle< T >::product(), AlCaHLTBitMon_QueryRunRegistry::string, GlobalPosition_Frontier_DevDB_cff::tag, and mitigatedMETSequence_cff::U.
Referenced by ~EGRegressionModifierV1().
|
private |
Definition at line 96 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and modifyObject().
|
private |
Definition at line 85 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), setConsumes(), and setEvent().
|
private |
Definition at line 86 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), setEvent(), and setEventContent().
|
private |
Definition at line 87 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setConsumes().
|
private |
Definition at line 88 of file EGRegressionModifierV1.cc.
Referenced by setConsumes(), and setEvent().
|
private |
Definition at line 76 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), setConsumes(), setEvent(), and setEventContent().
|
private |
Definition at line 102 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 103 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 80 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 79 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 78 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 104 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 98 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 92 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 77 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), setConsumes(), setEvent(), and setEventContent().
|
private |
Definition at line 100 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 101 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 83 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 82 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 81 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 90 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setConsumes().
|
private |
Definition at line 91 of file EGRegressionModifierV1.cc.
Referenced by setConsumes(), and setEvent().
|
private |
Definition at line 89 of file EGRegressionModifierV1.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 95 of file EGRegressionModifierV1.cc.
Referenced by setEvent().
|
private |
Definition at line 93 of file EGRegressionModifierV1.cc.
Referenced by EGRegressionModifierV1(), and setConsumes().
|
private |
Definition at line 94 of file EGRegressionModifierV1.cc.
Referenced by setConsumes(), and setEvent().