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 (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(), Parameters::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 164 of file EGExtraInfoModifierFromIntValueMaps.cc.
References pat::PATObject< ObjectType >::addUserInt(), assignValue(), e_conf, ele_idx, ele_vmaps, eles_by_oop, edm::hlt::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 195 of file EGExtraInfoModifierFromIntValueMaps.cc.
References pat::PATObject< ObjectType >::addUserInt(), assignValue(), edm::hlt::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 142 of file EGExtraInfoModifierFromIntValueMaps.cc.
References edm::ConsumesCollector::consumes(), e_conf, EGExtraInfoModifierFromIntValueMaps::electron_config::electron_src, make_consumes(), 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 97 of file EGExtraInfoModifierFromIntValueMaps.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, 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 135 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().