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 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< 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, electrons_cff::electrons, edm::ParameterSet::exists(), edm::Event::getByToken(), edm::ParameterSet::getParameter(), genParticles_cff::map, EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, EGPfIsolationModifierFromValueMaps::photon_config::photon_src, nano_cff::photons, setEvent(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalvirtual |
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(), crabWrapper::key, edm::Ptr< T >::key(), pat::PATObject< ObjectType >::originalObjectRef(), reco::GsfElectron::pfIsolationVariables(), reco::GsfElectron::setPfIsolationVariables(), and EGPfIsolationModifierFromValueMaps::electron_config::tok_electron_src.
Referenced by setConsumes().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 229 of file EGPfIsolationModifier.cc.
References Exception, reco::Photon::getPflowIsolationVariables(), edm::EDGetTokenT< T >::isUninitialized(), crabWrapper::key, edm::Ptr< T >::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.
|
finalvirtual |
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, PatBasicFWLiteJetAnalyzer_Selector_cfg::inputs, genParticles_cff::map, modifyObject(), ModifyObjectValueBase::name(), ph_conf, EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, EGPfIsolationModifierFromValueMaps::photon_config::photon_src, edm::second(), AlCaHLTBitMon_QueryRunRegistry::string, EGPfIsolationModifierFromValueMaps::electron_config::tok_electron_src, EGPfIsolationModifierFromValueMaps::photon_config::tok_photon_src, and mitigatedMETSequence_cff::U.
Referenced by setEventContent().
|
finalvirtual |
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(), mps_fire::i, PatBasicFWLiteJetAnalyzer_Selector_cfg::inputs, edm::EDGetTokenT< T >::isUninitialized(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGPfIsolationModifierFromValueMaps::photon_config::photon_inputs, setEventContent(), AlCaHLTBitMon_QueryRunRegistry::string, EGPfIsolationModifierFromValueMaps::electron_config::tok_electron_src, and EGPfIsolationModifierFromValueMaps::photon_config::tok_photon_src.
Referenced by EGPfIsolationModifierFromValueMaps().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 154 of file EGPfIsolationModifier.cc.
References setConsumes(), GlobalPosition_Frontier_DevDB_cff::tag, and mitigatedMETSequence_cff::U.
Referenced by setEvent().
|
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().