Classes | |
struct | electron_config |
struct | photon_config |
Public Types | |
typedef edm::EDGetTokenT < edm::ValueMap< int > > | ValMapIntToken |
typedef std::unordered_map < std::string, ValMapIntToken > | ValueMaps |
typedef std::unordered_map < std::string, edm::InputTag > | ValueMapsTags |
Public Member Functions | |
EGExtraInfoModifierFromIntValueMaps (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 (reco::GsfElectron &) const |
virtual void | modifyObject (reco::Photon &) const |
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 | |
electron_config | e_conf |
unsigned | ele_idx |
std::unordered_map< unsigned, edm::Handle< edm::ValueMap < int > > > | 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 < int > > > | pho_vmaps |
std::unordered_map< unsigned, edm::Ptr< reco::Photon > > | phos_by_oop |
Definition at line 17 of file EGExtraInfoModifierFromIntValueMaps.cc.
Definition at line 19 of file EGExtraInfoModifierFromIntValueMaps.cc.
typedef std::unordered_map<std::string,ValMapIntToken> EGExtraInfoModifierFromIntValueMaps::ValueMaps |
Definition at line 20 of file EGExtraInfoModifierFromIntValueMaps.cc.
typedef std::unordered_map<std::string,edm::InputTag> EGExtraInfoModifierFromIntValueMaps::ValueMapsTags |
Definition at line 21 of file EGExtraInfoModifierFromIntValueMaps.cc.
EGExtraInfoModifierFromIntValueMaps::EGExtraInfoModifierFromIntValueMaps | ( | const edm::ParameterSet & | conf | ) |
Definition at line 60 of file EGExtraInfoModifierFromIntValueMaps.cc.
References constexpr, EGExtraInfoModifierFromIntValueMaps::electron_config::electron_src, HI_PhotonSkim_cff::electrons, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), ModifyObjectValueBase::name(), HLT_FULL_cff::parameters, EGExtraInfoModifierFromIntValueMaps::photon_config::photon_src, interactiveExample::photons, AlCaHLTBitMon_QueryRunRegistry::string, EGExtraInfoModifierFromIntValueMaps::electron_config::valuemaps, and EGExtraInfoModifierFromIntValueMaps::photon_config::valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 170 of file EGExtraInfoModifierFromIntValueMaps.cc.
References pat::PATObject< ObjectType >::addUserInt(), e_conf, ele_idx, ele_vmaps, eles_by_oop, Exception, pat::PATObject< ObjectType >::hasUserInt(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), EGExtraInfoModifierFromIntValueMaps::electron_config::tok_electron_src, EGExtraInfoModifierFromIntValueMaps::electron_config::tok_valuemaps, and relativeConstraints::value.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 201 of file EGExtraInfoModifierFromIntValueMaps.cc.
References pat::PATObject< ObjectType >::addUserInt(), Exception, pat::PATObject< ObjectType >::hasUserInt(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGExtraInfoModifierFromIntValueMaps::photon_config::tok_photon_src, EGExtraInfoModifierFromIntValueMaps::photon_config::tok_valuemaps, and relativeConstraints::value.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 146 of file EGExtraInfoModifierFromIntValueMaps.cc.
References edm::ConsumesCollector::consumes(), e_conf, EGExtraInfoModifierFromIntValueMaps::electron_config::electron_src, ph_conf, EGExtraInfoModifierFromIntValueMaps::photon_config::photon_src, EGExtraInfoModifierFromIntValueMaps::electron_config::tok_electron_src, EGExtraInfoModifierFromIntValueMaps::photon_config::tok_photon_src, EGExtraInfoModifierFromIntValueMaps::electron_config::tok_valuemaps, EGExtraInfoModifierFromIntValueMaps::photon_config::tok_valuemaps, EGExtraInfoModifierFromIntValueMaps::electron_config::valuemaps, and EGExtraInfoModifierFromIntValueMaps::photon_config::valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 99 of file EGExtraInfoModifierFromIntValueMaps.cc.
References e_conf, ele_idx, ele_vmaps, eles_by_oop, edm::Event::getByToken(), i, edm::EDGetTokenT< T >::isUninitialized(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGExtraInfoModifierFromIntValueMaps::electron_config::tok_electron_src, EGExtraInfoModifierFromIntValueMaps::photon_config::tok_photon_src, EGExtraInfoModifierFromIntValueMaps::electron_config::tok_valuemaps, and EGExtraInfoModifierFromIntValueMaps::photon_config::tok_valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 137 of file EGExtraInfoModifierFromIntValueMaps.cc.
|
private |
Definition at line 46 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 52 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 49 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 48 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 47 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 52 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 51 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 50 of file EGExtraInfoModifierFromIntValueMaps.cc.
Referenced by modifyObject(), and setEvent().