Classes | |
struct | electron_config |
struct | photon_config |
Public Member Functions | |
EGFull5x5ShowerShapeModifierFromValueMaps (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (pat::Electron &) const final |
void | modifyObject (pat::Photon &) const final |
void | setEvent (const edm::Event &) 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 void | setEventContent (const edm::EventSetup &) |
virtual | ~ModifyObjectValueBase () |
Private Attributes | |
electron_config | e_conf |
unsigned | ele_idx |
std::unordered_map< unsigned, edm::Handle< edm::ValueMap< float > > > | ele_vmaps |
std::vector< 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::vector< edm::Ptr< reco::Photon > > | phos_by_oop |
Definition at line 21 of file EGFull5x5ShowerShapeModifier.cc.
EGFull5x5ShowerShapeModifierFromValueMaps::EGFull5x5ShowerShapeModifierFromValueMaps | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 95 of file EGFull5x5ShowerShapeModifier.cc.
References e_conf, ele_idx, pwdgSkimBPark_cfi::electrons, edm::ParameterSet::exists(), edm::ParameterSet::getParameterSet(), ph_conf, pho_idx, BPHMonitor_cfi::photons, 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_hcalOverEcalBcDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth7, 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.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 280 of file EGFull5x5ShowerShapeModifier.cc.
References e_conf, ele_idx, ele_vmaps, eles_by_oop, reco::GsfElectron::full5x5_setShowerShape(), reco::GsfElectron::full5x5_showerShape(), edm::EDGetTokenT< T >::isUninitialized(), 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_hcalOverEcalBcDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_r9, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaEtaEta, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIetaIeta, and EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_sigmaIphiIphi.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 320 of file EGFull5x5ShowerShapeModifier.cc.
References reco::Photon::full5x5_setShowerShapeVariables(), reco::Photon::full5x5_showerShapeVariables(), edm::EDGetTokenT< T >::isUninitialized(), 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_hcalOverEcalBcDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth7, 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 205 of file EGFull5x5ShowerShapeModifier.cc.
References filterCSVwithJSON::copy, e_conf, ele_idx, ele_vmaps, hltEgammaEleL1TrkIsoL1Seeded_cfi::eles, eles_by_oop, edm::Event::getHandle(), 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_hcalOverEcalBcDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalBcDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalBcDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth1, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth2, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth3, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth4, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth5, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth6, EGFull5x5ShowerShapeModifierFromValueMaps::electron_config::tok_hcalOverEcalDepth7, EGFull5x5ShowerShapeModifierFromValueMaps::photon_config::tok_hcalOverEcalDepth7, 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.
|
private |
Definition at line 81 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps(), modifyObject(), and setEvent().
|
mutableprivate |
Definition at line 87 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps(), modifyObject(), and setEvent().
|
private |
Definition at line 84 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 83 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 82 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps(), modifyObject(), and setEvent().
|
mutableprivate |
Definition at line 87 of file EGFull5x5ShowerShapeModifier.cc.
Referenced by EGFull5x5ShowerShapeModifierFromValueMaps(), 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().