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 | |
EGExtraInfoModifierFromDB (const edm::ParameterSet &conf) | |
void | modifyObject (reco::GsfElectron &) const overridefinal |
void | modifyObject (reco::Photon &) const overridefinal |
void | modifyObject (pat::Electron &) const overridefinal |
void | modifyObject (pat::Photon &) const overridefinal |
void | setConsumes (edm::ConsumesCollector &) overridefinal |
void | setEvent (const edm::Event &) overridefinal |
void | setEventContent (const edm::EventSetup &) overridefinal |
~EGExtraInfoModifierFromDB () | |
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 EGExtraInfoModifierFromDB.cc.
typedef std::pair<edm::InputTag, ValMapFloatToken> EGExtraInfoModifierFromDB::ValMapFloatTagTokenPair |
Definition at line 32 of file EGExtraInfoModifierFromDB.cc.
typedef edm::EDGetTokenT<edm::ValueMap<float> > EGExtraInfoModifierFromDB::ValMapFloatToken |
Definition at line 30 of file EGExtraInfoModifierFromDB.cc.
typedef std::pair<edm::InputTag, ValMapIntToken> EGExtraInfoModifierFromDB::ValMapIntTagTokenPair |
Definition at line 33 of file EGExtraInfoModifierFromDB.cc.
Definition at line 31 of file EGExtraInfoModifierFromDB.cc.
EGExtraInfoModifierFromDB::EGExtraInfoModifierFromDB | ( | const edm::ParameterSet & | conf | ) |
Definition at line 111 of file EGExtraInfoModifierFromDB.cc.
References EGExtraInfoModifierFromDB::electron_config::condnames_mean_25ns, EGExtraInfoModifierFromDB::photon_config::condnames_mean_25ns, EGExtraInfoModifierFromDB::electron_config::condnames_mean_50ns, EGExtraInfoModifierFromDB::photon_config::condnames_mean_50ns, EGExtraInfoModifierFromDB::electron_config::condnames_sigma_25ns, EGExtraInfoModifierFromDB::photon_config::condnames_sigma_25ns, EGExtraInfoModifierFromDB::electron_config::condnames_sigma_50ns, EGExtraInfoModifierFromDB::photon_config::condnames_sigma_50ns, EGExtraInfoModifierFromDB::electron_config::condnames_weight_25ns, EGExtraInfoModifierFromDB::electron_config::condnames_weight_50ns, constexpr, EGExtraInfoModifierFromDB::electron_config::electron_src, HI_PhotonSkim_cff::electrons, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), ModifyObjectValueBase::name(), HLT_25ns10e33_v2_cff::parameters, EGExtraInfoModifierFromDB::photon_config::photon_src, interactiveExample::photons, AlCaHLTBitMon_QueryRunRegistry::string, EGExtraInfoModifierFromDB::electron_config::tag_float_token_map, EGExtraInfoModifierFromDB::photon_config::tag_float_token_map, EGExtraInfoModifierFromDB::electron_config::tag_int_token_map, and EGExtraInfoModifierFromDB::photon_config::tag_int_token_map.
|
inline |
Definition at line 62 of file EGExtraInfoModifierFromDB.cc.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 366 of file EGExtraInfoModifierFromDB.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(), ep_forestH_weight_, GBRForest::GetResponse(), edm::Ref< C, T, F >::isAvailable(), reco::GsfElectron::isEB(), iSetup_, EcalClusterLocal::localCoordsEB(), EcalClusterLocal::localCoordsEE(), bookConverter::max, timingPdfMaker::mean, nVtx_, reco::GsfElectron::p4(), reco::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 puppiForMET_cff::weight.
Referenced by modifyObject().
|
finaloverridevirtual |
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 EGExtraInfoModifierFromDB.cc.
References funct::abs(), reco::deltaPhi(), reco::Photon::e5x5(), reco::Photon::hadronicOverEm(), edm::Ref< C, T, F >::isAvailable(), reco::Photon::isEB(), bookConverter::max, timingPdfMaker::mean, nVtx_, ph_forestH_mean_, ph_forestH_sigma_, reco::Photon::r9(), reco::return(), rhoValue_, reco::Photon::setCorrectedEnergy(), reco::Photon::showerShapeVariables(), and reco::Photon::superCluster().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 560 of file EGExtraInfoModifierFromDB.cc.
References modifyObject().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 665 of file EGExtraInfoModifierFromDB.cc.
References modifyObject().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 318 of file EGExtraInfoModifierFromDB.cc.
References autoDetectBunchSpacing_, bunchspacingTag_, bunchSpacingToken_, edm::ConsumesCollector::consumes(), e_conf, EGExtraInfoModifierFromDB::electron_config::electron_src, ph_conf, EGExtraInfoModifierFromDB::photon_config::photon_src, rhoTag_, rhoToken_, EGExtraInfoModifierFromDB::electron_config::tag_float_token_map, EGExtraInfoModifierFromDB::photon_config::tag_float_token_map, EGExtraInfoModifierFromDB::electron_config::tag_int_token_map, EGExtraInfoModifierFromDB::photon_config::tag_int_token_map, EGExtraInfoModifierFromDB::electron_config::tok_electron_src, EGExtraInfoModifierFromDB::photon_config::tok_photon_src, vtxTag_, and vtxToken_.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 203 of file EGExtraInfoModifierFromDB.cc.
References autoDetectBunchSpacing_, bunchspacing_, bunchSpacingToken_, e_conf, ele_int_vmaps, ele_vmaps, eles_by_oop, edm::Event::getByToken(), i, edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), nVtx_, ph_conf, pho_int_vmaps, pho_vmaps, phos_by_oop, rhoToken_, rhoValue_, EGExtraInfoModifierFromDB::electron_config::tag_float_token_map, EGExtraInfoModifierFromDB::photon_config::tag_float_token_map, EGExtraInfoModifierFromDB::electron_config::tag_int_token_map, EGExtraInfoModifierFromDB::photon_config::tag_int_token_map, EGExtraInfoModifierFromDB::electron_config::tok_electron_src, EGExtraInfoModifierFromDB::photon_config::tok_photon_src, vtxH_, and vtxToken_.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 270 of file EGExtraInfoModifierFromDB.cc.
References bunchspacing_, EGExtraInfoModifierFromDB::electron_config::condnames_mean_25ns, EGExtraInfoModifierFromDB::photon_config::condnames_mean_25ns, EGExtraInfoModifierFromDB::electron_config::condnames_mean_50ns, EGExtraInfoModifierFromDB::photon_config::condnames_mean_50ns, EGExtraInfoModifierFromDB::electron_config::condnames_sigma_25ns, EGExtraInfoModifierFromDB::photon_config::condnames_sigma_25ns, EGExtraInfoModifierFromDB::electron_config::condnames_sigma_50ns, EGExtraInfoModifierFromDB::photon_config::condnames_sigma_50ns, EGExtraInfoModifierFromDB::electron_config::condnames_weight_25ns, EGExtraInfoModifierFromDB::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< class >::product(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 96 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject().
|
private |
Definition at line 85 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes(), and setEvent().
|
private |
Definition at line 86 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent(), and setEventContent().
|
private |
Definition at line 87 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes().
|
private |
Definition at line 88 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes(), and setEvent().
|
private |
Definition at line 76 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes(), setEvent(), and setEventContent().
|
private |
Definition at line 102 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 103 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 80 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 79 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 78 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 104 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 98 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 92 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 77 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes(), setEvent(), and setEventContent().
|
private |
Definition at line 100 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 101 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 83 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 82 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 81 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 90 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes().
|
private |
Definition at line 91 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes(), and setEvent().
|
private |
Definition at line 89 of file EGExtraInfoModifierFromDB.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 95 of file EGExtraInfoModifierFromDB.cc.
Referenced by setEvent().
|
private |
Definition at line 93 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes().
|
private |
Definition at line 94 of file EGExtraInfoModifierFromDB.cc.
Referenced by setConsumes(), and setEvent().