#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 > |
Public Member Functions | |
EGExtraInfoModifierFromValueMaps (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (pat::Electron &) const final |
void | modifyObject (pat::Photon &) const final |
void | setEvent (const edm::Event &) 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 void | setEventContent (const edm::EventSetup &) |
virtual | ~ModifyObjectValueBase () |
Private Attributes | |
electron_config | e_conf |
unsigned | ele_idx |
std::unordered_map< unsigned, edm::Handle< edm::ValueMap< MapType > > > | ele_vmaps |
std::vector< 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::vector< 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.
EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 120 of file EGExtraInfoModifierFromValueMaps.h.
References constexpr, lowPtElectrons_cff::electrons, slimmedLowPtElectrons_cfi::electronSrc, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), dataset::name, muons_cff::photons, PatBasicAnalyzer_cfi::photonSrc, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent(), AlCaHLTBitMon_QueryRunRegistry::string, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::tok_electron_src, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::tok_photon_src, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::tok_valuemaps, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::tok_valuemaps.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 191 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValuesToObject(), and pat::PATObject< ObjectType >::originalObjectRef().
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 206 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValuesToObject(), EGXtraModFromVMObjFiller< OutputType >::addValueToObject(), and pat::PATObject< ObjectType >::originalObjectRef().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 153 of file EGExtraInfoModifierFromValueMaps.h.
References popcon2dropbox::copy(), edm::Event::getByToken(), genParticles_cff::map, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), edm::second(), and mitigatedMETSequence_cff::U.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps().
|
private |
Definition at line 107 of file EGExtraInfoModifierFromValueMaps.h.
|
mutableprivate |
Definition at line 113 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 110 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 109 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 114 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 108 of file EGExtraInfoModifierFromValueMaps.h.
|
mutableprivate |
Definition at line 113 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 112 of file EGExtraInfoModifierFromValueMaps.h.
|
private |
Definition at line 111 of file EGExtraInfoModifierFromValueMaps.h.