Classes | |
struct | electron_config |
struct | photon_config |
Public Member Functions | |
EGFull5x5ShowerShapeModifierFromValueMaps (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 17 of file EGFull5x5ShowerShapeModifier.cc.
EGFull5x5ShowerShapeModifierFromValueMaps::EGFull5x5ShowerShapeModifierFromValueMaps | ( | const edm::ParameterSet & | conf | ) |
Definition at line 97 of file EGFull5x5ShowerShapeModifier.cc.
References EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e2x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::e2x5Max, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e3x3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::electron_src, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::maxEnergyXtal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::photon_src, interactiveExample::photons, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::r9, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaIetaIeta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::sigmaIetaIeta, and EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaIphiIphi.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 244 of file EGFull5x5ShowerShapeModifier.cc.
References e_conf, ele_idx, ele_vmaps, eles_by_oop, Exception, reco::GsfElectron::full5x5_setShowerShape(), reco::GsfElectron::full5x5_showerShape(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e2x5Max, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_electron_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_r9, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIetaIeta, and EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIphiIphi.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 278 of file EGFull5x5ShowerShapeModifier.cc.
References Exception, reco::Photon::full5x5_setShowerShapeVariables(), reco::Photon::full5x5_showerShapeVariables(), edm::EDGetTokenT< T >::isUninitialized(), edm::Ptr< T >::key(), relval_steps::key, pat::PATObject< ObjectType >::originalObjectRef(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e2x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e3x3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_maxEnergyXtal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_photon_src, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_sigmaEtaEta, and EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_sigmaIetaIeta.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 206 of file EGFull5x5ShowerShapeModifier.cc.
References edm::ConsumesCollector::consumes(), EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e2x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::e2x5Max, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e3x3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::e5x5, e_conf, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::electron_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::maxEnergyXtal, ph_conf, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::photon_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::r9, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaIetaIeta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::sigmaIetaIeta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaIphiIphi, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e2x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e2x5Max, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e3x3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_electron_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_maxEnergyXtal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_photon_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_r9, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIetaIeta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_sigmaIetaIeta, and EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIphiIphi.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 142 of file EGFull5x5ShowerShapeModifier.cc.
References e_conf, ele_idx, ele_vmaps, eles_by_oop, edm::Event::getByToken(), i, edm::EDGetTokenT< T >::isUninitialized(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e1x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e2x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e2x5Max, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e3x3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_e5x5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_electron_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth1OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth1OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth2OverEcal, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalDepth2OverEcalBc, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_maxEnergyXtal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_photon_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_r9, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIetaIeta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_sigmaIetaIeta, and EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIphiIphi.
|
finaloverridevirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 197 of file EGFull5x5ShowerShapeModifier.cc.
|
private |
Definition at line 83 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 89 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 86 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 85 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 84 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), setConsumes(), and setEvent().
|
mutableprivate |
Definition at line 89 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 88 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 87 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().