CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Static Private Member Functions | Private Attributes
EG9X105XObjectUpdateModifier Class Reference
Inheritance diagram for EG9X105XObjectUpdateModifier:
ModifyObjectValueBase

Classes

class  TokenHandlePair
 

Public Member Functions

 EG9X105XObjectUpdateModifier (const edm::ParameterSet &conf, edm::ConsumesCollector &cc)
 
void modifyObject (pat::Electron &ele) const final
 
void modifyObject (pat::Photon &pho) const final
 
void modifyObject (reco::GsfElectron &ele) const final
 
void modifyObject (reco::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 (pat::Jet &) const
 
virtual void modifyObject (pat::Muon &) const
 
virtual void modifyObject (pat::Tau &) const
 
virtual void modifyObject (reco::BaseTau &) const
 
virtual void modifyObject (reco::Jet &) const
 
virtual void modifyObject (reco::Muon &) 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::BeamSpotbeamspot_
 
TokenHandlePair< reco::ConversionCollectionconversions_
 
TokenHandlePair< EcalRecHitCollectionecalRecHitsEB_
 
TokenHandlePair< EcalRecHitCollectionecalRecHitsEE_
 
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_
 

Detailed Description

Definition at line 23 of file EG9X105XObjectUpdateModifier.cc.

Constructor & Destructor Documentation

◆ EG9X105XObjectUpdateModifier()

EG9X105XObjectUpdateModifier::EG9X105XObjectUpdateModifier ( const edm::ParameterSet conf,
edm::ConsumesCollector cc 
)

Definition at line 86 of file EG9X105XObjectUpdateModifier.cc.

87  : ModifyObjectValueBase(conf),
88  eleCollVMsAreKeyedTo_(conf, "eleCollVMsAreKeyedTo", cc),
89  phoCollVMsAreKeyedTo_(conf, "phoCollVMsAreKeyedTo", cc),
90  conversions_(conf, "conversions", cc),
91  beamspot_(conf, "beamspot", cc),
92  ecalRecHitsEB_(conf, "ecalRecHitsEB", cc),
93  ecalRecHitsEE_(conf, "ecalRecHitsEE", cc),
94  eleTrkIso_(conf, "eleTrkIso", cc),
95  eleTrkIso04_(conf, "eleTrkIso04", cc),
96  phoPhotonIso_(conf, "phoPhotonIso", cc),
97  phoNeutralHadIso_(conf, "phoNeutralHadIso", cc),
98  phoChargedHadIso_(conf, "phoChargedHadIso", cc),
99  phoChargedHadWorstVtxIso_(conf, "phoChargedHadWorstVtxIso", cc),
100  phoChargedHadWorstVtxConeVetoIso_(conf, "phoChargedHadWorstVtxConeVetoIso", cc),
101  phoChargedHadPFPVIso_(conf, "phoChargedHadPFPVIso", cc),
102  allowGsfTrkMatchForConvs_(conf.getParameter<bool>("allowGsfTrackForConvs")),
103  updateChargedHadPFPVIso_(conf.getParameter<bool>("updateChargedHadPFPVIso")) {}

◆ ~EG9X105XObjectUpdateModifier()

EG9X105XObjectUpdateModifier::~EG9X105XObjectUpdateModifier ( )
inlineoverride

Definition at line 39 of file EG9X105XObjectUpdateModifier.cc.

39 {}

Member Function Documentation

◆ getPtrForValueMap()

template<typename ObjType >
edm::Ptr< ObjType > EG9X105XObjectUpdateModifier::getPtrForValueMap ( const ObjType &  obj,
const edm::Handle< edm::View< ObjType > > &  objsVMIsKeyedTo 
)
staticprivate

Definition at line 191 of file EG9X105XObjectUpdateModifier.cc.

192  {
193  for (auto& objVMPtr : objsVMIsKeyedTo->ptrs()) {
194  if (obj.superCluster()->seed()->seed() == objVMPtr->superCluster()->seed()->seed())
195  return objVMPtr;
196  }
197  return edm::Ptr<ObjType>(objsVMIsKeyedTo.id()); //return null ptr if not found
198 }

References getGTfromDQMFile::obj.

Referenced by modifyObject().

◆ modifyObject() [1/4]

void EG9X105XObjectUpdateModifier::modifyObject ( pat::Electron ele) const
inlinefinalvirtual

Reimplemented from ModifyObjectValueBase.

Definition at line 47 of file EG9X105XObjectUpdateModifier.cc.

47 { return modifyObject(static_cast<reco::GsfElectron&>(ele)); }

References modifyObject().

Referenced by modifyObject().

◆ modifyObject() [2/4]

void EG9X105XObjectUpdateModifier::modifyObject ( pat::Photon pho) const
inlinefinalvirtual

Reimplemented from ModifyObjectValueBase.

Definition at line 48 of file EG9X105XObjectUpdateModifier.cc.

48 { return modifyObject(static_cast<reco::Photon&>(pho)); }

References modifyObject().

Referenced by modifyObject().

◆ modifyObject() [3/4]

void EG9X105XObjectUpdateModifier::modifyObject ( reco::GsfElectron ele) const
finalvirtual

Reimplemented from ModifyObjectValueBase.

Definition at line 125 of file EG9X105XObjectUpdateModifier.cc.

125  {
127  if (ptrForVM.isNull()) {
128  throw cms::Exception("LogicError")
129  << " in EG9X105ObjectUpdateModifier, line " << __LINE__ << " electron " << ele.et() << " " << ele.eta() << " "
130  << ele.superCluster()->seed()->seed().rawId()
131  << " failed to match to the electrons the key map was keyed to, check the map collection is correct";
132  }
137  } else {
138  //its rather important to use the core function here to get the org trk ref
140  ele.core()->ctfTrack(), *conversions_.handle(), beamspot_.handle()->position(), 2.0, 1e-6, 0));
141  }
142  ele.setConversionRejectionVariables(convRejVars);
143 
145  isolVars03.tkSumPtHEEP = (*eleTrkIso_.handle())[ptrForVM];
146  ele.setDr03Isolation(isolVars03);
148  isolVars04.tkSumPtHEEP = (*eleTrkIso04_.handle())[ptrForVM];
149  ele.setDr04Isolation(isolVars04);
150 }

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.

◆ modifyObject() [4/4]

void EG9X105XObjectUpdateModifier::modifyObject ( reco::Photon pho) const
finalvirtual

Reimplemented from ModifyObjectValueBase.

Definition at line 152 of file EG9X105XObjectUpdateModifier.cc.

152  {
154  if (ptrForVM.isNull()) {
155  throw cms::Exception("LogicError")
156  << " in EG9X105ObjectUpdateModifier, line " << __LINE__ << " photon " << pho.et() << " " << pho.eta() << " "
157  << pho.superCluster()->seed()->seed().rawId()
158  << " failed to match to the photons the key map was keyed to, check the map collection is correct";
159  }
160 
162  pfIso.photonIso = (*phoPhotonIso_.handle())[ptrForVM];
163  pfIso.neutralHadronIso = (*phoNeutralHadIso_.handle())[ptrForVM];
164  pfIso.chargedHadronIso = (*phoChargedHadIso_.handle())[ptrForVM];
168  pfIso.chargedHadronPFPVIso = (*phoChargedHadPFPVIso_.handle())[ptrForVM];
169  }
170  pho.setPflowIsolationVariables(pfIso);
171 
174 
175  const reco::CaloClusterPtr seedClus = pho.superCluster()->seed();
176  const bool isEB = seedClus->seed().subdetId() == EcalBarrel;
177  const auto& recHits = isEB ? *ecalRecHitsEB_.handle() : *ecalRecHitsEE_.handle();
178  Cluster2ndMoments clus2ndMomFrac = EcalClusterTools::cluster2ndMoments(*seedClus, recHits);
180  fracSS.smMajor = clus2ndMomFrac.sMaj;
181  fracSS.smMinor = clus2ndMomFrac.sMin;
182  fracSS.smAlpha = clus2ndMomFrac.alpha;
183  fullSS.smMajor = clus2ndMomFull.sMaj;
184  fullSS.smMinor = clus2ndMomFull.sMin;
185  fullSS.smAlpha = clus2ndMomFull.alpha;
186  pho.setShowerShapeVariables(fracSS);
188 }

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, FastTrackerRecHitMaskProducer_cfi::recHits, 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_.

◆ setEvent()

void EG9X105XObjectUpdateModifier::setEvent ( const edm::Event iEvent)
finalvirtual

◆ setEventContent()

void EG9X105XObjectUpdateModifier::setEventContent ( const edm::EventSetup iSetup)
finalvirtual

Reimplemented from ModifyObjectValueBase.

Definition at line 123 of file EG9X105XObjectUpdateModifier.cc.

123 {}

Member Data Documentation

◆ allowGsfTrkMatchForConvs_

bool EG9X105XObjectUpdateModifier::allowGsfTrkMatchForConvs_
private

Definition at line 77 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject().

◆ beamspot_

TokenHandlePair<reco::BeamSpot> EG9X105XObjectUpdateModifier::beamspot_
private

Definition at line 59 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ conversions_

TokenHandlePair<reco::ConversionCollection> EG9X105XObjectUpdateModifier::conversions_
private

Definition at line 58 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ ecalRecHitsEB_

TokenHandlePair<EcalRecHitCollection> EG9X105XObjectUpdateModifier::ecalRecHitsEB_
private

Definition at line 60 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ ecalRecHitsEE_

TokenHandlePair<EcalRecHitCollection> EG9X105XObjectUpdateModifier::ecalRecHitsEE_
private

Definition at line 61 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ eleCollVMsAreKeyedTo_

TokenHandlePair<edm::View<reco::GsfElectron> > EG9X105XObjectUpdateModifier::eleCollVMsAreKeyedTo_
private

Definition at line 55 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ eleTrkIso04_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::eleTrkIso04_
private

Definition at line 64 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ eleTrkIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::eleTrkIso_
private

Definition at line 63 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoChargedHadIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::phoChargedHadIso_
private

Definition at line 67 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoChargedHadPFPVIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::phoChargedHadPFPVIso_
private

Definition at line 70 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoChargedHadWorstVtxConeVetoIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::phoChargedHadWorstVtxConeVetoIso_
private

Definition at line 69 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoChargedHadWorstVtxIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::phoChargedHadWorstVtxIso_
private

Definition at line 68 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoCollVMsAreKeyedTo_

TokenHandlePair<edm::View<reco::Photon> > EG9X105XObjectUpdateModifier::phoCollVMsAreKeyedTo_
private

Definition at line 56 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoNeutralHadIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::phoNeutralHadIso_
private

Definition at line 66 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ phoPhotonIso_

TokenHandlePair<edm::ValueMap<float> > EG9X105XObjectUpdateModifier::phoPhotonIso_
private

Definition at line 65 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

◆ updateChargedHadPFPVIso_

bool EG9X105XObjectUpdateModifier::updateChargedHadPFPVIso_
private

Definition at line 83 of file EG9X105XObjectUpdateModifier.cc.

Referenced by modifyObject(), and setEvent().

reco::Photon::showerShapeVariables
const ShowerShape & showerShapeVariables() const
Definition: Photon.h:201
reco::Photon::superCluster
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.
EG9X105XObjectUpdateModifier::phoChargedHadPFPVIso_
TokenHandlePair< edm::ValueMap< float > > phoChargedHadPFPVIso_
Definition: EG9X105XObjectUpdateModifier.cc:70
ConversionTools::getVtxFitProb
static float getVtxFitProb(const reco::Conversion *conv)
Definition: ConversionTools.cc:441
EG9X105XObjectUpdateModifier::getPtrForValueMap
static edm::Ptr< ObjType > getPtrForValueMap(const ObjType &obj, const edm::Handle< edm::View< ObjType > > &objsVMIsKeyedTo)
Definition: EG9X105XObjectUpdateModifier.cc:191
reco::Photon::PflowIsolationVariables::chargedHadronPFPVIso
float chargedHadronPFPVIso
Definition: Photon.h:463
reco::GsfElectron::dr03IsolationVariables
const IsolationVariables & dr03IsolationVariables() const
Definition: GsfElectron.h:538
EG9X105XObjectUpdateModifier::phoChargedHadIso_
TokenHandlePair< edm::ValueMap< float > > phoChargedHadIso_
Definition: EG9X105XObjectUpdateModifier.cc:67
reco::Photon::PflowIsolationVariables::chargedHadronIso
float chargedHadronIso
Definition: Photon.h:460
ModifyObjectValueBase::ModifyObjectValueBase
ModifyObjectValueBase(const edm::ParameterSet &conf)
Definition: ModifyObjectValueBase.h:20
EG9X105XObjectUpdateModifier::phoChargedHadWorstVtxIso_
TokenHandlePair< edm::ValueMap< float > > phoChargedHadWorstVtxIso_
Definition: EG9X105XObjectUpdateModifier.cc:68
reco::Photon::PflowIsolationVariables::neutralHadronIso
float neutralHadronIso
Definition: Photon.h:464
EcalBarrel
Definition: EcalSubdetector.h:10
EG9X105XObjectUpdateModifier::phoNeutralHadIso_
TokenHandlePair< edm::ValueMap< float > > phoNeutralHadIso_
Definition: EG9X105XObjectUpdateModifier.cc:66
reco::GsfElectron::core
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxGeomVetoIso
float chargedHadronWorstVtxGeomVetoIso
Definition: Photon.h:462
reco::GsfElectron::IsolationVariables::tkSumPtHEEP
float tkSumPtHEEP
Definition: GsfElectron.h:512
EG9X105XObjectUpdateModifier::TokenHandlePair::setHandle
void setHandle(const edm::Event &iEvent)
Definition: EG9X105XObjectUpdateModifier.cc:30
reco::Photon::PflowIsolationVariables
Definition: Photon.h:459
EG9X105XObjectUpdateModifier::eleCollVMsAreKeyedTo_
TokenHandlePair< edm::View< reco::GsfElectron > > eleCollVMsAreKeyedTo_
Definition: EG9X105XObjectUpdateModifier.cc:55
reco::Photon::setPflowIsolationVariables
void setPflowIsolationVariables(const PflowIsolationVariables &pfisol)
Set Particle Flow Isolation variables.
Definition: Photon.h:497
reco::GsfElectron::ConversionRejection
Definition: GsfElectron.h:572
reco::Photon::ShowerShape::smAlpha
float smAlpha
Definition: Photon.h:168
EG9X105XObjectUpdateModifier::TokenHandlePair::handle
const edm::Handle< T > & handle() const
Definition: EG9X105XObjectUpdateModifier.cc:31
reco::Photon::ShowerShape::smMajor
float smMajor
Definition: Photon.h:166
Cluster2ndMoments::alpha
float alpha
Definition: EcalClusterTools.h:68
reco::BeamSpot::position
const Point & position() const
position
Definition: BeamSpot.h:59
reco::GsfElectron::IsolationVariables
Definition: GsfElectron.h:510
EcalClusterToolsT::cluster2ndMoments
static Cluster2ndMoments cluster2ndMoments(const reco::BasicCluster &basicCluster, const EcalRecHitCollection &recHits, double phiCorrectionFactor=0.8, double w0=4.7, bool useLogWeights=true)
Definition: EcalClusterTools.h:1446
reco::GsfElectron::setDr04Isolation
void setDr04Isolation(const IsolationVariables &dr04)
Definition: GsfElectron.h:554
getGTfromDQMFile.obj
obj
Definition: getGTfromDQMFile.py:32
EG9X105XObjectUpdateModifier::beamspot_
TokenHandlePair< reco::BeamSpot > beamspot_
Definition: EG9X105XObjectUpdateModifier.cc:59
FastTrackerRecHitMaskProducer_cfi.recHits
recHits
Definition: FastTrackerRecHitMaskProducer_cfi.py:8
EG9X105XObjectUpdateModifier::eleTrkIso04_
TokenHandlePair< edm::ValueMap< float > > eleTrkIso04_
Definition: EG9X105XObjectUpdateModifier.cc:64
reco::Photon::PflowIsolationVariables::chargedHadronWorstVtxIso
float chargedHadronWorstVtxIso
Definition: Photon.h:461
reco::GsfElectron::conversionRejectionVariables
const ConversionRejection & conversionRejectionVariables() const
Definition: GsfElectron.h:594
Cluster2ndMoments::sMaj
float sMaj
Definition: EcalClusterTools.h:65
reco::Photon::full5x5_setShowerShapeVariables
void full5x5_setShowerShapeVariables(const ShowerShape &a)
Definition: Photon.h:205
reco::Photon::full5x5_showerShapeVariables
const ShowerShape & full5x5_showerShapeVariables() const
Definition: Photon.h:202
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
reco::Photon::getPflowIsolationVariables
const PflowIsolationVariables & getPflowIsolationVariables() const
Get Particle Flow Isolation variables block.
Definition: Photon.h:494
EG9X105XObjectUpdateModifier::phoChargedHadWorstVtxConeVetoIso_
TokenHandlePair< edm::ValueMap< float > > phoChargedHadWorstVtxConeVetoIso_
Definition: EG9X105XObjectUpdateModifier.cc:69
reco::Photon::ShowerShape::smMinor
float smMinor
Definition: Photon.h:167
iEvent
int iEvent
Definition: GenABIO.cc:224
EG9X105XObjectUpdateModifier::ecalRecHitsEE_
TokenHandlePair< EcalRecHitCollection > ecalRecHitsEE_
Definition: EG9X105XObjectUpdateModifier.cc:61
EG9X105XObjectUpdateModifier::eleTrkIso_
TokenHandlePair< edm::ValueMap< float > > eleTrkIso_
Definition: EG9X105XObjectUpdateModifier.cc:63
EG9X105XObjectUpdateModifier::allowGsfTrkMatchForConvs_
bool allowGsfTrkMatchForConvs_
Definition: EG9X105XObjectUpdateModifier.cc:77
cc
edm::Ptr
Definition: AssociationVector.h:31
EG9X105XObjectUpdateModifier::modifyObject
void modifyObject(reco::GsfElectron &ele) const final
Definition: EG9X105XObjectUpdateModifier.cc:125
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
reco::LeafCandidate::et
double et() const final
transverse energy
Definition: LeafCandidate.h:127
reco::Photon::ShowerShape
Definition: Photon.h:137
reco::GsfElectron::setConversionRejectionVariables
void setConversionRejectionVariables(const ConversionRejection &convRej)
Definition: GsfElectron.h:595
reco::GsfElectron::setDr03Isolation
void setDr03Isolation(const IsolationVariables &dr03)
Definition: GsfElectron.h:553
Exception
Definition: hltDiff.cc:246
EG9X105XObjectUpdateModifier::phoCollVMsAreKeyedTo_
TokenHandlePair< edm::View< reco::Photon > > phoCollVMsAreKeyedTo_
Definition: EG9X105XObjectUpdateModifier.cc:56
ConversionTools::matchedConversion
static const reco::Conversion * matchedConversion(const reco::GsfElectron &ele, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0)
Definition: ConversionTools.cc:258
EG9X105XObjectUpdateModifier::conversions_
TokenHandlePair< reco::ConversionCollection > conversions_
Definition: EG9X105XObjectUpdateModifier.cc:58
reco::Photon::PflowIsolationVariables::photonIso
float photonIso
Definition: Photon.h:465
reco::GsfElectron::superCluster
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:163
Cluster2ndMoments::sMin
float sMin
Definition: EcalClusterTools.h:66
EG9X105XObjectUpdateModifier::phoPhotonIso_
TokenHandlePair< edm::ValueMap< float > > phoPhotonIso_
Definition: EG9X105XObjectUpdateModifier.cc:65
EG9X105XObjectUpdateModifier::updateChargedHadPFPVIso_
bool updateChargedHadPFPVIso_
Definition: EG9X105XObjectUpdateModifier.cc:83
reco::GsfElectron::dr04IsolationVariables
const IsolationVariables & dr04IsolationVariables() const
Definition: GsfElectron.h:550
Cluster2ndMoments
Definition: EcalClusterTools.h:63
EG9X105XObjectUpdateModifier::ecalRecHitsEB_
TokenHandlePair< EcalRecHitCollection > ecalRecHitsEB_
Definition: EG9X105XObjectUpdateModifier.cc:60
edm::HandleBase::id
ProductID id() const
Definition: HandleBase.cc:13
edm::Ptr::isNull
bool isNull() const
Checks for null.
Definition: Ptr.h:142
reco::GsfElectron::ConversionRejection::vtxFitProb
float vtxFitProb
Definition: GsfElectron.h:578
reco::Photon::setShowerShapeVariables
void setShowerShapeVariables(const ShowerShape &a)
Definition: Photon.h:204
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37