Classes | |
class | TokenHandlePair |
Public Member Functions | |
EG9X105XObjectUpdateModifier (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 |
~EG9X105XObjectUpdateModifier () 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 () |
Static Private Member Functions | |
template<typename ObjType > | |
static edm::Ptr< ObjType > | getPtrForValueMap (const ObjType &obj, const edm::Handle< edm::View< ObjType > > &objsVMIsKeyedTo) |
Private Attributes | |
bool | allowGsfTrkMatchForConvs_ |
TokenHandlePair< reco::BeamSpot > | beamspot_ |
TokenHandlePair< reco::ConversionCollection > | conversions_ |
TokenHandlePair< EcalRecHitCollection > | ecalRecHitsEB_ |
TokenHandlePair< EcalRecHitCollection > | ecalRecHitsEE_ |
TokenHandlePair< edm::View< reco::GsfElectron > > | eleCollVMsAreKeyedTo_ |
TokenHandlePair< edm::ValueMap< float > > | eleTrkIso04_ |
TokenHandlePair< edm::ValueMap< float > > | eleTrkIso_ |
TokenHandlePair< edm::ValueMap< float > > | phoChargedHadIso_ |
TokenHandlePair< edm::ValueMap< float > > | phoChargedHadPFPVIso_ |
TokenHandlePair< edm::ValueMap< float > > | phoChargedHadWorstVtxConeVetoIso_ |
TokenHandlePair< edm::ValueMap< float > > | phoChargedHadWorstVtxIso_ |
TokenHandlePair< edm::View< reco::Photon > > | phoCollVMsAreKeyedTo_ |
TokenHandlePair< edm::ValueMap< float > > | phoNeutralHadIso_ |
TokenHandlePair< edm::ValueMap< float > > | phoPhotonIso_ |
bool | updateChargedHadPFPVIso_ |
Definition at line 24 of file EG9X105XObjectUpdateModifier.cc.
EG9X105XObjectUpdateModifier::EG9X105XObjectUpdateModifier | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector & | cc | ||
) |
Definition at line 89 of file EG9X105XObjectUpdateModifier.cc.
|
inlineoverride |
Definition at line 41 of file EG9X105XObjectUpdateModifier.cc.
References modifyObject(), setEvent(), and setEventContent().
|
staticprivate |
Definition at line 196 of file EG9X105XObjectUpdateModifier.cc.
References DEFINE_EDM_PLUGIN.
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 135 of file EG9X105XObjectUpdateModifier.cc.
References allowGsfTrkMatchForConvs_, beamspot_, reco::GsfElectron::conversionRejectionVariables(), conversions_, reco::GsfElectron::core(), reco::GsfElectron::dr03IsolationVariables(), reco::GsfElectron::dr04IsolationVariables(), MillePedeFileConverter_cfg::e, eleCollVMsAreKeyedTo_, eleTrkIso04_, eleTrkIso_, reco::LeafCandidate::et(), reco::LeafCandidate::eta(), Exception, getPtrForValueMap(), ConversionTools::getVtxFitProb(), EG9X105XObjectUpdateModifier::TokenHandlePair< T >::handle(), edm::Ptr< T >::isNull(), ConversionTools::matchedConversion(), reco::BeamSpot::position(), reco::GsfElectron::setConversionRejectionVariables(), reco::GsfElectron::setDr03Isolation(), reco::GsfElectron::setDr04Isolation(), reco::GsfElectron::superCluster(), reco::GsfElectron::IsolationVariables::tkSumPtHEEP, and reco::GsfElectron::ConversionRejection::vtxFitProb.
Referenced by ~EG9X105XObjectUpdateModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 158 of file EG9X105XObjectUpdateModifier.cc.
References Cluster2ndMoments::alpha, reco::Photon::PflowIsolationVariables::chargedHadronIso, reco::Photon::PflowIsolationVariables::chargedHadronPFPVIso, reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxGeomVetoIso, reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxIso, EcalClusterToolsT< noZS >::cluster2ndMoments(), EcalBarrel, ecalRecHitsEB_, ecalRecHitsEE_, reco::LeafCandidate::et(), reco::LeafCandidate::eta(), Exception, reco::Photon::full5x5_setShowerShapeVariables(), reco::Photon::full5x5_showerShapeVariables(), reco::Photon::getPflowIsolationVariables(), getPtrForValueMap(), EG9X105XObjectUpdateModifier::TokenHandlePair< T >::handle(), edm::Ptr< T >::isNull(), reco::Photon::PflowIsolationVariables::neutralHadronIso, phoChargedHadIso_, phoChargedHadPFPVIso_, phoChargedHadWorstVtxConeVetoIso_, phoChargedHadWorstVtxIso_, phoCollVMsAreKeyedTo_, phoNeutralHadIso_, phoPhotonIso_, reco::Photon::PflowIsolationVariables::photonIso, reco::Photon::setPflowIsolationVariables(), reco::Photon::setShowerShapeVariables(), reco::Photon::showerShapeVariables(), Cluster2ndMoments::sMaj, reco::Photon::ShowerShape::smAlpha, Cluster2ndMoments::sMin, reco::Photon::ShowerShape::smMajor, reco::Photon::ShowerShape::smMinor, reco::Photon::superCluster(), and updateChargedHadPFPVIso_.
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 49 of file EG9X105XObjectUpdateModifier.cc.
References modifyObject().
Referenced by modifyObject().
|
inlinefinalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 50 of file EG9X105XObjectUpdateModifier.cc.
References getPtrForValueMap(), modifyObject(), and haddnano::obj.
Referenced by modifyObject().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 112 of file EG9X105XObjectUpdateModifier.cc.
References beamspot_, conversions_, ecalRecHitsEB_, ecalRecHitsEE_, eleCollVMsAreKeyedTo_, eleTrkIso04_, eleTrkIso_, phoChargedHadIso_, phoChargedHadPFPVIso_, phoChargedHadWorstVtxConeVetoIso_, phoChargedHadWorstVtxIso_, phoCollVMsAreKeyedTo_, phoNeutralHadIso_, phoPhotonIso_, EG9X105XObjectUpdateModifier::TokenHandlePair< T >::setHandle(), and updateChargedHadPFPVIso_.
Referenced by ~EG9X105XObjectUpdateModifier().
|
finalvirtual |
Reimplemented from ModifyObjectValueBase.
Definition at line 130 of file EG9X105XObjectUpdateModifier.cc.
Referenced by ~EG9X105XObjectUpdateModifier().
|
private |
Definition at line 79 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject().
|
private |
Definition at line 61 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 60 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 62 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 63 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 57 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 66 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 65 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 69 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 72 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 71 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 70 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 58 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 68 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 67 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().
|
private |
Definition at line 85 of file EG9X105XObjectUpdateModifier.cc.
Referenced by modifyObject(), and setEvent().