#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 81 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValMapToken = edm::EDGetTokenT<edm::ValueMap<MapType>> |
Definition at line 83 of file EGExtraInfoModifierFromValueMaps.h.
using EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ValueMaps = std::unordered_map<std::string, ValMapToken> |
Definition at line 84 of file EGExtraInfoModifierFromValueMaps.h.
EGExtraInfoModifierFromValueMaps< MapType, OutputType >::EGExtraInfoModifierFromValueMaps | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 115 of file EGExtraInfoModifierFromValueMaps.h.
References HI_PhotonSkim_cff::electrons, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNames(), ModifyObjectValueBase::name(), interactiveExample::photons, 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 194 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValuesToObject(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::e_conf, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ele_idx, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ele_vmaps, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::eles_by_oop, edm::EDGetTokenT< T >::isUninitialized(), pat::PATObject< ObjectType >::originalObjectRef(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::overrideExistingValues_, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::tok_electron_src, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::electron_config::tok_valuemaps.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 208 of file EGExtraInfoModifierFromValueMaps.h.
References EGXtraModFromVMObjFiller< OutputType >::addValuesToObject(), edm::EDGetTokenT< T >::isUninitialized(), pat::PATObject< ObjectType >::originalObjectRef(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::overrideExistingValues_, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ph_conf, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::pho_idx, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::pho_vmaps, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::phos_by_oop, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::tok_photon_src, and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::photon_config::tok_valuemaps.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 154 of file EGExtraInfoModifierFromValueMaps.h.
References filterCSVwithJSON::copy, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::e_conf, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ele_idx, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ele_vmaps, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::eles_by_oop, edm::Event::getHandle(), edm::EDGetTokenT< T >::isUninitialized(), EGExtraInfoModifierFromValueMaps< MapType, OutputType >::ph_conf, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::pho_idx, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::pho_vmaps, EGExtraInfoModifierFromValueMaps< MapType, OutputType >::phos_by_oop, 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.
|
private |
Definition at line 103 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
mutableprivate |
Definition at line 109 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
private |
Definition at line 106 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
private |
Definition at line 105 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
private |
Definition at line 111 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject().
|
private |
Definition at line 104 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
mutableprivate |
Definition at line 109 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
private |
Definition at line 108 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().
|
private |
Definition at line 107 of file EGExtraInfoModifierFromValueMaps.h.
Referenced by EGExtraInfoModifierFromValueMaps< MapType, OutputType >::modifyObject(), and EGExtraInfoModifierFromValueMaps< MapType, OutputType >::setEvent().