#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 final |
void | modifyObject (pat::Photon &) const final |
void | setConsumes (edm::ConsumesCollector &) final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) 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 |
bool | overrideExistingValues_ |
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 84 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValMapToken = edm::EDGetTokenT<edm::ValueMap<MapType> > |
Definition at line 86 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValueMaps = std::unordered_map<std::string,ValMapToken> |
Definition at line 87 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValueMapsTags = std::unordered_map<std::string,edm::InputTag> |
Definition at line 88 of file EGExtraInfoModifierFromValueMaps.h.
EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps | ( | const edm::ParameterSet & | conf | ) |
Definition at line 127 of file EGExtraInfoModifierFromValueMaps.h.
References constexpr, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::electron_src, electrons_cff::electrons, PatBasicAnalyzer_cfi::electronSrc, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), genParticles_cff::map, dataset::name, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::photon_src, nano_cff::photons, PatBasicAnalyzer_cfi::photonSrc, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent(), AlCaHLTBitMon_QueryRunRegistry::string, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::valuemaps, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::valuemaps.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 246 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValuesToObject(), Exception, crabWrapper::key, edm::Ptr< T >::key(), and pat::PATObject< ObjectType >::originalObjectRef().
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setConsumes().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 270 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValuesToObject(), EGXtraModFromVMObjFiller< OutputType >::addValueToObject(), Exception, crabWrapper::key, edm::Ptr< T >::key(), and pat::PATObject< ObjectType >::originalObjectRef().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 221 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().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 169 of file EGExtraInfoModifierFromValueMaps.h.
References edm::Event::getByToken(), mps_fire::i, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEventContent().
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 209 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 114 of file EGExtraInfoModifierFromValueMaps.h.
|
mutableprivate |
Definition at line 120 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 117 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 116 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 121 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 115 of file EGExtraInfoModifierFromValueMaps.h.
|
mutableprivate |
Definition at line 120 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 119 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 118 of file EGExtraInfoModifierFromValueMaps.h.