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 (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 < 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 196 of file EGPfIsolationModifier.cc.
References e_conf, ele_idx, ele_vmaps, EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, eles_by_oop, 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 229 of file EGPfIsolationModifier.cc.
References 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 163 of file EGPfIsolationModifier.cc.
References edm::ConsumesCollector::consumes(), e_conf, EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, EGPfIsolationModifierFromValueMaps::electron_config::electron_src, SiPixelRawToDigiRegional_cfi::inputs, 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 112 of file EGPfIsolationModifier.cc.
References e_conf, ele_idx, ele_vmaps, EGPfIsolationModifierFromValueMaps::electron_config::electron_inputs, eles_by_oop, 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 154 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().