Classes | |
struct | electron_config |
struct | photon_config |
Public Member Functions | |
EGFull5x5ShowerShapeModifierFromValueMaps (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 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, nano_cff::electrons, edm::ParameterSet::exists(), edm::Event::getByToken(), 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, genParticles_cff::map, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::maxEnergyXtal, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::photon_src, nano_cff::photons, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::r9, setEvent(), EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaIetaIeta, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::sigmaIetaIeta, and EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::sigmaIphiIphi.
|
finalvirtual |
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(), crabWrapper::key, edm::Ptr< T >::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.
Referenced by setConsumes().
|
finalvirtual |
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(), crabWrapper::key, edm::Ptr< T >::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.
|
finalvirtual |
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, genParticles_cff::map, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::maxEnergyXtal, modifyObject(), ph_conf, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::photon_src, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::r9, edm::second(), 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, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIphiIphi, and mitigatedMETSequence_cff::U.
Referenced by setEventContent().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 142 of file EGFull5x5ShowerShapeModifier.cc.
References e_conf, ele_idx, ele_vmaps, eles_by_oop, edm::Event::getByToken(), mps_fire::i, edm::EDGetTokenT< T >::isUninitialized(), ph_conf, pho_idx, pho_vmaps, phos_by_oop, setEventContent(), 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.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 197 of file EGFull5x5ShowerShapeModifier.cc.
References setConsumes(), GlobalPosition_Frontier_DevDB_cff::tag, and mitigatedMETSequence_cff::U.
Referenced by setEvent().
|
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().