Public Member Functions | |
EG8XObjectUpdateModifier (const edm::ParameterSet &conf, edm::ConsumesCollector &cc) | |
void | modifyObject (reco::GsfElectron &ele) const final |
void | modifyObject (reco::Photon &pho) const final |
void | modifyObject (pat::Electron &ele) const final |
void | modifyObject (pat::Photon &pho) const final |
void | setEvent (const edm::Event &) final |
void | setEventContent (const edm::EventSetup &) final |
~EG8XObjectUpdateModifier () override | |
Public Member Functions inherited from ModifyObjectValueBase | |
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 Member Functions | |
std::pair< int, bool > | getSaturationInfo (const reco::SuperCluster &superClus) const |
Private Attributes | |
CaloTopology const * | caloTopo_ = nullptr |
edm::ESGetToken< CaloTopology, CaloTopologyRecord > | caloTopoToken_ |
EcalRecHitCollection const * | ecalRecHitsEB_ = nullptr |
edm::EDGetTokenT< EcalRecHitCollection > | ecalRecHitsEBToken_ |
EcalRecHitCollection const * | ecalRecHitsEE_ = nullptr |
edm::EDGetTokenT< EcalRecHitCollection > | ecalRecHitsEEToken_ |
Definition at line 20 of file EG8XObjectUpdateModifier.cc.
EG8XObjectUpdateModifier::EG8XObjectUpdateModifier | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 46 of file EG8XObjectUpdateModifier.cc.
References gpuPixelDoublets::cc.
|
inlineoverride |
Definition at line 23 of file EG8XObjectUpdateModifier.cc.
|
private |
Definition at line 94 of file EG8XObjectUpdateModifier.cc.
References EcalBarrel, ecalRecHitsEB_, ecalRecHitsEE_, and reco::SuperCluster::seed().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 61 of file EG8XObjectUpdateModifier.cc.
References caloTopo_, EcalClusterToolsT< noZS >::e2x5Bottom(), EcalClusterToolsT< noZS >::e2x5Left(), reco::GsfElectron::ShowerShape::e2x5Left, EcalClusterToolsT< noZS >::e2x5Right(), EcalClusterToolsT< noZS >::e2x5Top(), ecalRecHitsEB_, ecalRecHitsEE_, reco::GsfElectron::full5x5_setShowerShape(), reco::GsfElectron::full5x5_showerShape(), getSaturationInfo(), reco::GsfElectron::isEB(), reco::GsfElectron::SaturationInfo::isSeedSaturated, reco::GsfElectron::SaturationInfo::nSaturatedXtals, reco::GsfElectron::setSaturationInfo(), reco::GsfElectron::setShowerShape(), reco::GsfElectron::showerShape(), and reco::GsfElectron::superCluster().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 86 of file EG8XObjectUpdateModifier.cc.
References getSaturationInfo(), reco::Photon::SaturationInfo::isSeedSaturated, reco::Photon::SaturationInfo::nSaturatedXtals, reco::Photon::setSaturationInfo(), and reco::Photon::superCluster().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 31 of file EG8XObjectUpdateModifier.cc.
References modifyObject().
Referenced by modifyObject().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 32 of file EG8XObjectUpdateModifier.cc.
References modifyObject().
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 52 of file EG8XObjectUpdateModifier.cc.
References ecalRecHitsEB_, ecalRecHitsEBToken_, ecalRecHitsEE_, ecalRecHitsEEToken_, and iEvent.
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 57 of file EG8XObjectUpdateModifier.cc.
References caloTopo_, caloTopoToken_, and edm::EventSetup::getData().
|
private |
Definition at line 37 of file EG8XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEventContent().
|
private |
Definition at line 41 of file EG8XObjectUpdateModifier.cc.
Referenced by setEventContent().
|
private |
Definition at line 38 of file EG8XObjectUpdateModifier.cc.
Referenced by getSaturationInfo(), modifyObject(), and setEvent().
|
private |
Definition at line 42 of file EG8XObjectUpdateModifier.cc.
Referenced by setEvent().
|
private |
Definition at line 39 of file EG8XObjectUpdateModifier.cc.
Referenced by getSaturationInfo(), modifyObject(), and setEvent().
|
private |
Definition at line 43 of file EG8XObjectUpdateModifier.cc.
Referenced by setEvent().