#include <EGExtraInfoModifierFromValueMaps.h>
Classes | |
struct | electron_config |
struct | photon_config |
Public Types | |
using | ValMapToken = edm::EDGetTokenT< edm::ValueMap< MapType > > |
using | ValueMaps = std::unordered_map< std::string, ValMapToken > |
using | ValueMapsTags = std::unordered_map< std::string, edm::InputTag > |
Public Member Functions | |
EGExtraInfoModifierFromValueMaps (const edm::ParameterSet &conf) | |
void | modifyObject (pat::Electron &) const override final |
void | modifyObject (pat::Photon &) const override final |
void | setConsumes (edm::ConsumesCollector &) override final |
void | setEvent (const edm::Event &) override final |
void | setEventContent (const edm::EventSetup &) override final |
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< MapType > > > | 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< MapType > > > | pho_vmaps |
std::unordered_map< unsigned, edm::Ptr< reco::Photon > > | phos_by_oop |
Definition at line 61 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValMapToken = edm::EDGetTokenT<edm::ValueMap<MapType> > |
Definition at line 63 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValueMaps = std::unordered_map<std::string,ValMapToken> |
Definition at line 64 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValueMapsTags = std::unordered_map<std::string,edm::InputTag> |
Definition at line 65 of file EGExtraInfoModifierFromValueMaps.h.
EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps | ( | const edm::ParameterSet & | conf | ) |
Definition at line 103 of file EGExtraInfoModifierFromValueMaps.h.
References constexpr, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::electron_src, genericTrackCleaner_cfi::electrons, PatBasicAnalyzer_cfi::electronSrc, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), genParticles_cff::map, dataset::name, metProducer_cfi::parameters, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::photon_src, jetCleaner_cfi::photons, PatBasicAnalyzer_cfi::photonSrc, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent(), AlCaHLTBitMon_QueryRunRegistry::string, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::valuemaps, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::valuemaps.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 221 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValueToObject(), Exception, crabWrapper::key, edm::Ptr< T >::key(), and pat::PATObject< ObjectType >::originalObjectRef().
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setConsumes().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 245 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValueToObject(), Exception, crabWrapper::key, edm::Ptr< T >::key(), and pat::PATObject< ObjectType >::originalObjectRef().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 196 of file EGExtraInfoModifierFromValueMaps.h.
References edm::ConsumesCollector::consumes(), genParticles_cff::map, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), edm::second(), and mitigatedMETSequence_cff::U.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEventContent().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 144 of file EGExtraInfoModifierFromValueMaps.h.
References edm::Event::getByToken(), mps_fire::i, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEventContent().
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps().
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 184 of file EGExtraInfoModifierFromValueMaps.h.
References edm::ConsumesCollector::consumes(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setConsumes(), and GlobalPosition_Frontier_DevDB_cff::tag.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
private |
Definition at line 91 of file EGExtraInfoModifierFromValueMaps.h.
|
mutableprivate |
Definition at line 97 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 94 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 93 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 92 of file EGExtraInfoModifierFromValueMaps.h.
|
mutableprivate |
Definition at line 97 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 96 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 95 of file EGExtraInfoModifierFromValueMaps.h.