Classes | |
struct | electron_config |
struct | photon_config |
Public Types | |
typedef std::unordered_map < std::string, tag_and_token > | input_map |
typedef std::tuple < edm::InputTag, edm::EDGetTokenT < edm::ValueMap< float > > > | tag_and_token |
Public Member Functions | |
EGPfIsolationModifierFromValueMaps (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 < float > > > | 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 < float > > > | pho_vmaps |
std::unordered_map< unsigned, edm::Ptr< reco::Photon > > | phos_by_oop |
Definition at line 38 of file EGPfIsolationModifier.cc.
typedef std::unordered_map<std::string,tag_and_token> EGPfIsolationModifierFromValueMaps::input_map |
Definition at line 41 of file EGPfIsolationModifier.cc.
typedef std::tuple<edm::InputTag,edm::EDGetTokenT<edm::ValueMap<float> > > EGPfIsolationModifierFromValueMaps::tag_and_token |
Definition at line 40 of file EGPfIsolationModifier.cc.
EGPfIsolationModifierFromValueMaps::EGPfIsolationModifierFromValueMaps | ( | const edm::ParameterSet & | conf | ) |
Definition at line 79 of file EGPfIsolationModifier.cc.
References EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, EGPfIsolationModifierFromValueMaps::electron_config::electron_src, HI_PhotonSkim_cff::electrons, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, EGPfIsolationModifierFromValueMaps::photon_config::photon_src, interactiveExample::photons, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 190 of file EGPfIsolationModifier.cc.
References assignValue(), e_conf, ele_idx, ele_vmaps, EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, eles_by_oop, edm::hlt::Exception, edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), reco::GsfElectron::pfIsolationVariables(), reco::GsfElectron::setPfIsolationVariables(), and EGPfIsolationModifierFromValueMaps::electron_config::tok_electron_src.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 223 of file EGPfIsolationModifier.cc.
References assignValue(), edm::hlt::Exception, reco::Photon::getPflowIsolationVariables(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, reco::Photon::setPflowIsolationVariables(), and EGPfIsolationModifierFromValueMaps::photon_config::tok_photon_src.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 159 of file EGPfIsolationModifier.cc.
References edm::ConsumesCollector::consumes(), e_conf, EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, EGPfIsolationModifierFromValueMaps::electron_config::electron_src, SiPixelRawToDigiRegional_cfi::inputs, make_consumes(), ph_conf, EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, EGPfIsolationModifierFromValueMaps::photon_config::photon_src, AlCaHLTBitMon_QueryRunRegistry::string, EGPfIsolationModifierFromValueMaps::electron_config::tok_electron_src, and EGPfIsolationModifierFromValueMaps::photon_config::tok_photon_src.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 110 of file EGPfIsolationModifier.cc.
References e_conf, ele_idx, ele_vmaps, EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, eles_by_oop, get_product(), edm::Event::getByToken(), i, SiPixelRawToDigiRegional_cfi::inputs, edm::EDGetTokenT< T >::isUninitialized(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, AlCaHLTBitMon_QueryRunRegistry::string, EGPfIsolationModifierFromValueMaps::electron_config::tok_electron_src, and EGPfIsolationModifierFromValueMaps::photon_config::tok_photon_src.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 152 of file EGPfIsolationModifier.cc.
|
private |
Definition at line 65 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 71 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 68 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 67 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 66 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 71 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 70 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 69 of file EGPfIsolationModifier.cc.
Referenced by modifyObject(), and setEvent().