Classes | |
struct | electron_config |
struct | photon_config |
Public Types | |
typedef edm::EDGetTokenT < edm::ValueMap< float > > | ValMapFloatToken |
typedef std::unordered_map < std::string, ValMapFloatToken > | ValueMaps |
typedef std::unordered_map < std::string, edm::InputTag > | ValueMapsTags |
Public Member Functions | |
EGExtraInfoModifierFromFloatValueMaps (const edm::ParameterSet &conf) | |
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 |
Public Member Functions inherited from ModifyObjectValueBase | |
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 | |
electron_config | e_conf |
unsigned | ele_idx |
std::unordered_map< unsigned, edm::Handle< edm::ValueMap < float > > > | ele_vmaps |
std::unordered_map< unsigned, edm::Ptr< reco::GsfElectron > > | eles_by_oop |
photon_config | ph_conf |
unsigned | pho_idx |
std::unordered_map< unsigned, edm::Handle< edm::ValueMap < float > > > | pho_vmaps |
std::unordered_map< unsigned, edm::Ptr< reco::Photon > > | phos_by_oop |
Definition at line 17 of file EGExtraInfoModifierFromFloatValueMaps.cc.
typedef edm::EDGetTokenT<edm::ValueMap<float> > EGExtraInfoModifierFromFloatValueMaps::ValMapFloatToken |
Definition at line 19 of file EGExtraInfoModifierFromFloatValueMaps.cc.
typedef std::unordered_map<std::string,ValMapFloatToken> EGExtraInfoModifierFromFloatValueMaps::ValueMaps |
Definition at line 20 of file EGExtraInfoModifierFromFloatValueMaps.cc.
typedef std::unordered_map<std::string,edm::InputTag> EGExtraInfoModifierFromFloatValueMaps::ValueMapsTags |
Definition at line 21 of file EGExtraInfoModifierFromFloatValueMaps.cc.
EGExtraInfoModifierFromFloatValueMaps::EGExtraInfoModifierFromFloatValueMaps | ( | const edm::ParameterSet & | conf | ) |
Definition at line 60 of file EGExtraInfoModifierFromFloatValueMaps.cc.
References constexpr, EGExtraInfoModifierFromFloatValueMaps::electron_config::electron_src, HI_PhotonSkim_cff::electrons, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), ModifyObjectValueBase::name(), Parameters::parameters, EGExtraInfoModifierFromFloatValueMaps::photon_config::photon_src, interactiveExample::photons, AlCaHLTBitMon_QueryRunRegistry::string, EGExtraInfoModifierFromFloatValueMaps::electron_config::valuemaps, and EGExtraInfoModifierFromFloatValueMaps::photon_config::valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 164 of file EGExtraInfoModifierFromFloatValueMaps.cc.
References pat::PATObject< ObjectType >::addUserFloat(), assignValue(), e_conf, ele_idx, ele_vmaps, eles_by_oop, edm::hlt::Exception, pat::PATObject< ObjectType >::hasUserFloat(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), EGExtraInfoModifierFromFloatValueMaps::electron_config::tok_electron_src, EGExtraInfoModifierFromFloatValueMaps::electron_config::tok_valuemaps, and relativeConstraints::value.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 195 of file EGExtraInfoModifierFromFloatValueMaps.cc.
References pat::PATObject< ObjectType >::addUserFloat(), assignValue(), edm::hlt::Exception, pat::PATObject< ObjectType >::hasUserFloat(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGExtraInfoModifierFromFloatValueMaps::photon_config::tok_photon_src, EGExtraInfoModifierFromFloatValueMaps::photon_config::tok_valuemaps, and relativeConstraints::value.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 142 of file EGExtraInfoModifierFromFloatValueMaps.cc.
References edm::ConsumesCollector::consumes(), e_conf, EGExtraInfoModifierFromFloatValueMaps::electron_config::electron_src, make_consumes(), ph_conf, EGExtraInfoModifierFromFloatValueMaps::photon_config::photon_src, EGExtraInfoModifierFromFloatValueMaps::electron_config::tok_electron_src, EGExtraInfoModifierFromFloatValueMaps::photon_config::tok_photon_src, EGExtraInfoModifierFromFloatValueMaps::electron_config::tok_valuemaps, EGExtraInfoModifierFromFloatValueMaps::photon_config::tok_valuemaps, EGExtraInfoModifierFromFloatValueMaps::electron_config::valuemaps, and EGExtraInfoModifierFromFloatValueMaps::photon_config::valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 97 of file EGExtraInfoModifierFromFloatValueMaps.cc.
References e_conf, ele_idx, ele_vmaps, eles_by_oop, get_product(), edm::Event::getByToken(), i, edm::EDGetTokenT< T >::isUninitialized(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGExtraInfoModifierFromFloatValueMaps::electron_config::tok_electron_src, EGExtraInfoModifierFromFloatValueMaps::photon_config::tok_photon_src, EGExtraInfoModifierFromFloatValueMaps::electron_config::tok_valuemaps, and EGExtraInfoModifierFromFloatValueMaps::photon_config::tok_valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 135 of file EGExtraInfoModifierFromFloatValueMaps.cc.
|
private |
Definition at line 46 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 52 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 49 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 48 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 47 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 52 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 51 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 50 of file EGExtraInfoModifierFromFloatValueMaps.cc.
Referenced by modifyObject(), and setEvent().