CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | Static Public Attributes | Private Member Functions | Private Attributes
reco::GsfElectron Class Reference

#include <GsfElectron.h>

Inheritance diagram for reco::GsfElectron:
reco::RecoCandidate reco::LeafCandidate reco::Candidate pat::PATObject< reco::GsfElectron > pat::Lepton< reco::GsfElectron > pat::Electron

Classes

struct  ChargeInfo
 
struct  ClassificationVariables
 
struct  ClosestCtfTrack
 
struct  ConversionRejection
 
struct  Corrections
 
struct  FiducialFlags
 
struct  IsolationVariables
 
struct  MvaInput
 
struct  MvaOutput
 
struct  PflowIsolationVariables
 
struct  PixelMatchVariables
 
struct  SaturationInfo
 
struct  ShowerShape
 
struct  TrackClusterMatching
 
struct  TrackExtrapolations
 

Public Types

enum  Classification {
  UNKNOWN = -1, GOLDEN = 0, BIGBREM = 1, BADTRACK = 2,
  SHOWERING = 3, GAP = 4
}
 
enum  P4Kind { P4_UNKNOWN = -1, P4_FROM_SUPER_CLUSTER = 0, P4_COMBINATION = 1, P4_PFLOW_COMBINATION = 2 }
 
- Public Types inherited from reco::RecoCandidate
enum  TrackType { noTrackType, recoTrackType, gsfTrackType }
 track type More...
 
- Public Types inherited from reco::LeafCandidate
typedef int Charge
 electric charge type More...
 
typedef CandidateCollection daughters
 collection of daughter candidates More...
 
typedef unsigned int index
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef math::XYZVector Vector
 point in the space More...
 
- Public Types inherited from reco::Candidate
enum  { dimension = 3 }
 
enum  { size = dimension * (dimension + 1) / 2 }
 matix size More...
 
typedef int Charge
 electric charge type More...
 
typedef candidate::const_iterator const_iterator
 
typedef math::Error< dimension >::type CovarianceMatrix
 covariance error matrix (3x3) More...
 
typedef unsigned int index
 index type More...
 
typedef candidate::iterator iterator
 
typedef math::XYZTLorentzVector LorentzVector
 Lorentz vector. More...
 
typedef math::XYZPoint Point
 point in the space More...
 
typedef math::PtEtaPhiMLorentzVector PolarLorentzVector
 Lorentz vector. More...
 
typedef size_t size_type
 
typedef math::XYZVector Vector
 point in the space More...
 

Public Member Functions

void addAmbiguousGsfTrack (const reco::GsfTrackRef &t)
 
bool ambiguous () const
 
auto const & ambiguousGsfTracks () const
 
GsfTrackRefVector::size_type ambiguousGsfTracksSize () const
 
CaloCluster_iterator basicClustersBegin () const
 
CaloCluster_iterator basicClustersEnd () const
 
int basicClustersSize () const
 
float caloEnergy () const
 
math::XYZPoint caloPosition () const
 
P4Kind candidateP4Kind () const
 
const ChargeInfochargeInfo () const
 
Classification classification () const
 
const ClassificationVariablesclassificationVariables () const
 
void clearAmbiguousGsfTracks ()
 
GsfElectronclone () const override
 returns a clone of the Candidate object More...
 
GsfElectronclone (const GsfElectronCoreRef &core, const CaloClusterPtr &electronCluster, const TrackRef &closestCtfTrack, const TrackBaseRef &conversionPartner, const GsfTrackRefVector &ambiguousTracks) const
 
virtual ClosestCtfTrack closestCtfTrack () const
 
int closestCtfTrackNLayers () const
 
float closestCtfTrackNormChi2 () const
 
virtual TrackRef closestCtfTrackRef () const
 
bool closestCtfTrackRefValid () const
 
float convDcot () const
 
float convDist () const
 
const ConversionRejectionconversionRejectionVariables () const
 
int convFlags () const
 
TrackBaseRef convPartner () const
 
float convRadius () const
 
float convVtxFitProb () const
 
virtual GsfElectronCoreRef core () const
 
void correctEcalEnergy (float newEnergy, float newEnergyError, bool corrEovP=true)
 
float correctedEcalEnergy () const
 
float correctedEcalEnergyError () const
 
const Correctionscorrections () const
 
void correctMomentum (const LorentzVector &p4, float trackMomentumError, float p4Error)
 
float ctfGsfOverlap () const
 
float deltaEtaEleClusterTrackAtCalo () const
 
float deltaEtaSeedClusterTrackAtCalo () const
 
float deltaEtaSeedClusterTrackAtVtx () const
 
float deltaEtaSuperClusterTrackAtVtx () const
 
float deltaPhiEleClusterTrackAtCalo () const
 
float deltaPhiSeedClusterTrackAtCalo () const
 
float deltaPhiSuperClusterTrackAtVtx () const
 
float dnn_bkg_nonIsolated () const
 
float dnn_bkg_Photon () const
 
float dnn_bkg_Tau () const
 
float dnn_signal_Isolated () const
 
float dnn_signal_nonIsolated () const
 
float dr03EcalRecHitSumEt () const
 
float dr03HcalTowerSumEt (int depth=0) const
 
float dr03HcalTowerSumEtBc (int depth=0) const
 
const IsolationVariablesdr03IsolationVariables () const
 
float dr03TkSumPt () const
 
float dr03TkSumPtHEEP () const
 
float dr04EcalRecHitSumEt () const
 
float dr04HcalTowerSumEt (int depth=0) const
 
float dr04HcalTowerSumEtBc (int depth=0) const
 
const IsolationVariablesdr04IsolationVariables () const
 
float dr04TkSumPt () const
 
float dr04TkSumPtHEEP () const
 
float e1x5 () const
 
float e2x5Max () const
 
float e5x5 () const
 
float eBottom () const
 
bool ecalDriven () const
 
bool ecalDrivenSeed () const
 
float ecalEnergy () const
 
float ecalEnergyError () const
 
float ecalPFClusterIso () const
 
float eEleClusterOverPout () const
 
CaloClusterPtr electronCluster () const
 
float eLeft () const
 
float eRight () const
 
float eSeedClusterOverP () const
 
float eSeedClusterOverPout () const
 
float eSuperClusterOverP () const
 
float eTop () const
 
float fbrem () const
 
const FiducialFlagsfiducialFlags () const
 
float full5x5_e1x5 () const
 
float full5x5_e2x5Bottom () const
 
float full5x5_e2x5Left () const
 
float full5x5_e2x5Max () const
 
float full5x5_e2x5Right () const
 
float full5x5_e2x5Top () const
 
float full5x5_e5x5 () const
 
float full5x5_eBottom () const
 
float full5x5_eLeft () const
 
float full5x5_eRight () const
 
float full5x5_eTop () const
 
float full5x5_hcalOverEcal (int depth=0) const
 
float full5x5_hcalOverEcalBc (int depth=0) const
 
bool full5x5_hcalOverEcalValid () const
 
float full5x5_r9 () const
 
void full5x5_setShowerShape (const ShowerShape &s)
 
const ShowerShapefull5x5_showerShape () const
 
float full5x5_sigmaEtaEta () const
 
float full5x5_sigmaIetaIeta () const
 
float full5x5_sigmaIphiIphi () const
 
 GsfElectron ()
 
 GsfElectron (const GsfElectronCoreRef &)
 
 GsfElectron (const GsfElectron &, const GsfElectronCoreRef &)
 
 GsfElectron (const GsfElectron &electron, const GsfElectronCoreRef &core, const CaloClusterPtr &electronCluster, const TrackRef &closestCtfTrack, const TrackBaseRef &conversionPartner, const GsfTrackRefVector &ambiguousTracks)
 
 GsfElectron (int charge, const ChargeInfo &, const GsfElectronCoreRef &, const TrackClusterMatching &, const TrackExtrapolations &, const ClosestCtfTrack &, const FiducialFlags &, const ShowerShape &, const ConversionRejection &)
 
 GsfElectron (int charge, const ChargeInfo &, const GsfElectronCoreRef &, const TrackClusterMatching &, const TrackExtrapolations &, const ClosestCtfTrack &, const FiducialFlags &, const ShowerShape &, const ShowerShape &, const ConversionRejection &, const SaturationInfo &)
 
GsfTrackRef gsfTrack () const override
 reference to a GsfTrack More...
 
float hadronicOverEm () const
 
float hcalOverEcal (const ShowerShape &ss, int depth) const
 
float hcalOverEcal (int depth=0) const
 
float hcalOverEcalBc (const ShowerShape &ss, int depth) const
 
float hcalOverEcalBc (int depth=0) const
 
bool hcalOverEcalValid () const
 
float hcalPFClusterIso () const
 
void hcalToRun2EffDepth ()
 
const std::vector< CaloTowerDetId > & hcalTowersBehindClusters () const
 
float hcalTowerSumEt (const IsolationVariables &iv, int depth) const
 
float hcalTowerSumEtBc (const IsolationVariables &iv, int depth) const
 
bool isEB () const
 
bool isEBEEGap () const
 
bool isEBEtaGap () const
 
bool isEBGap () const
 
bool isEBPhiGap () const
 
bool isEcalEnergyCorrected () const
 
bool isEE () const
 
bool isEEDeeGap () const
 
bool isEEGap () const
 
bool isEERingGap () const
 
bool isElectron () const override
 
bool isEnergyScaleCorrected () const
 
bool isGap () const
 
bool isGsfCtfChargeConsistent () const
 
bool isGsfCtfScPixChargeConsistent () const
 
bool isGsfScPixChargeConsistent () const
 
const IsolationVariablesisolationVariables03 () const
 
const IsolationVariablesisolationVariables04 () const
 
float isSeedSaturated () const
 
float mva_e_pi () const
 
float mva_Isolated () const
 
const MvaInputmvaInput () const
 
const MvaOutputmvaOutput () const
 
float nSaturatedXtals () const
 
int numberOfBrems () const
 
bool overlap (const Candidate &) const override
 check overlap with another candidate More...
 
const LorentzVectorp4 (P4Kind kind) const
 
float p4Error (P4Kind kind) const
 
virtual SuperClusterRef parentSuperCluster () const
 
bool passingCutBasedPreselection () const
 
bool passingMvaPreselection () const
 
bool passingPflowPreselection () const
 
const PflowIsolationVariablespfIsolationVariables () const
 
float pixelMatchDPhi1 () const
 
float pixelMatchDPhi2 () const
 
float pixelMatchDRz1 () const
 
float pixelMatchDRz2 () const
 
int pixelMatchSubdetector1 () const
 
int pixelMatchSubdetector2 () const
 
float r9 () const
 
const SaturationInfosaturationInfo () const
 
float scE1x5 () const
 
float scE2x5Max () const
 
float scE5x5 () const
 
int scPixCharge () const
 
float scSigmaEtaEta () const
 
float scSigmaIEtaIEta () const
 
void setAmbiguous (bool flag)
 
void setClassification (Classification myclass)
 
void setClassificationVariables (const ClassificationVariables &cv)
 
void setConversionRejectionVariables (const ConversionRejection &convRej)
 
void setCore (const reco::GsfElectronCoreRef &core)
 
void setCorrectedEcalEnergy (float newEnergy)
 
void setCorrectedEcalEnergy (float newEnergy, bool rescaleDependentValues)
 
void setCorrectedEcalEnergyError (float newEnergyError)
 
void setCorrections (const Corrections &c)
 
void setDeltaEtaSuperClusterAtVtx (float de)
 
void setDeltaPhiSuperClusterAtVtx (float dphi)
 
void setDr03Isolation (const IsolationVariables &dr03)
 
void setDr04Isolation (const IsolationVariables &dr04)
 
void setEcalEnergyError (float energyError)
 
void setFFlagIsEB (const bool b)
 
void setFFlagIsEBEEGap (const bool b)
 
void setFFlagIsEBEtaGap (const bool b)
 
void setFFlagIsEBPhiGap (const bool b)
 
void setFFlagIsEE (const bool b)
 
void setFFlagIsEEDeeGap (const bool b)
 
void setFFlagIsEERingGap (const bool b)
 
void setIsolation03 (const IsolationVariables &dr03)
 
void setIsolation04 (const IsolationVariables &dr04)
 
void setMvaInput (const MvaInput &mi)
 
void setMvaOutput (const MvaOutput &mo)
 
void setP4 (P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
 
void setPassCutBasedPreselection (bool flag)
 
void setPassMvaPreselection (bool flag)
 
void setPassPflowPreselection (bool flag)
 
void setPfIsolationVariables (const PflowIsolationVariables &iso)
 
void setPixelMatchDPhi1 (float dPhi1)
 
void setPixelMatchDPhi2 (float dPhi2)
 
void setPixelMatchDRz1 (float dRz1)
 
void setPixelMatchDRz2 (float dRz2)
 
void setPixelMatchSubdetectors (int sd1, int sd2)
 
void setSaturationInfo (const SaturationInfo &s)
 
void setShowerShape (const ShowerShape &s)
 
void setSuperClusterFbrem (float fbrem)
 
void setTrackExtrapolations (const TrackExtrapolations &te)
 
void setTrackFbrem (float fbrem)
 
void setTrackMomentumError (float trackMomentumError)
 
float shFracInnerHits () const
 
const ShowerShapeshowerShape () const
 
float sigmaEtaEta () const
 
float sigmaIetaIeta () const
 
float sigmaIphiIphi () const
 
SuperClusterRef superCluster () const override
 reference to a SuperCluster More...
 
float superClusterFbrem () const
 
math::XYZPoint superClusterPosition () const
 
const TrackClusterMatchingtrackClusterMatching () const
 
bool trackerDrivenSeed () const
 
const TrackExtrapolationstrackExtrapolations () const
 
float trackFbrem () const
 
math::XYZVectorF trackMomentumAtCalo () const
 
math::XYZVectorF trackMomentumAtEleClus () const
 
math::XYZVectorF trackMomentumAtVtx () const
 
math::XYZVectorF trackMomentumAtVtxWithConstraint () const
 
float trackMomentumError () const
 
math::XYZVectorF trackMomentumOut () const
 
math::XYZPointF trackPositionAtCalo () const
 
math::XYZPointF TrackPositionAtCalo () const
 
math::XYZPointF trackPositionAtVtx () const
 
math::XYZPointF TrackPositionAtVtx () const
 
 ~GsfElectron () override
 
- Public Member Functions inherited from reco::RecoCandidate
const TrackbestTrack () const override
 best track pointer More...
 
virtual TrackBaseRef bestTrackRef () const
 best track RefToBase More...
 
virtual TrackType bestTrackType () const
 track type More...
 
virtual CaloTowerRef caloTower () const
 reference to a CaloTower More...
 
RecoCandidateclone () const override
 returns a clone of the Candidate object More...
 
virtual reco::TrackRef combinedMuon () const
 reference to a stand-alone muon Track More...
 
float dxyError () const override
 uncertainty on dxy More...
 
float dzError () const override
 uncertainty on dz More...
 
virtual size_t numberOfTracks () const
 number of multiple Tracks More...
 
 RecoCandidate ()
 default constructor More...
 
template<typename P4 >
 RecoCandidate (Charge q, const P4 &p4, const Point &vtx=Point(0, 0, 0), int pdgId=0, int status=0)
 constructor from values More...
 
virtual reco::TrackRef standAloneMuon () const
 reference to a stand-alone muon Track More...
 
virtual reco::TrackRef track () const
 reference to a Track More...
 
virtual reco::TrackRef track (size_t) const
 reference to one of multiple Tracks More...
 
 ~RecoCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::LeafCandidate
Vector boostToCM () const final
 
int charge () const final
 electric charge More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
const Candidatedaughter (size_type) const override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (size_type) override
 return daughter at a given position (throws an exception) More...
 
Candidatedaughter (const std::string &s) override
 return daughter with a specified role name More...
 
const Candidatedaughter (const std::string &s) const override
 return daughter with a specified role name More...
 
double energy () const final
 energy More...
 
double et () const final
 transverse energy More...
 
double et2 () const final
 transverse energy squared (use this for cut!) More...
 
double eta () const final
 momentum pseudorapidity More...
 
void fillVertexCovariance (CovarianceMatrix &v) const override
 fill SMatrix More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
bool hasMasterClone () const override
 
bool hasMasterClonePtr () const override
 
bool isCaloMuon () const override
 
bool isConvertedPhoton () const override
 
bool isGlobalMuon () const override
 
bool isJet () const override
 
bool isMuon () const override
 
bool isPhoton () const override
 
bool isStandAloneMuon () const override
 
bool isTrackerMuon () const override
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&... args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
bool longLived () const final
 is long lived? More...
 
double mass () const final
 mass More...
 
bool massConstraint () const final
 do mass constraint? More...
 
double massSqr () const final
 mass squared More...
 
const CandidateBaseRefmasterClone () const override
 
const CandidatePtrmasterClonePtr () const override
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
Vector momentum () const final
 spatial momentum vector More...
 
const Candidatemother (size_type) const override
 return mother at a given position (throws an exception) More...
 
double mt () const final
 transverse mass More...
 
double mtSqr () const final
 transverse mass squared More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
size_t numberOfDaughters () const override
 number of daughters More...
 
size_t numberOfMothers () const override
 number of mothers More...
 
size_t numberOfSourceCandidatePtrs () const override
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
double p () const final
 magnitude of momentum vector More...
 
const LorentzVectorp4 () const final
 four-momentum Lorentz vector More...
 
int pdgId () const final
 PDG identifier. More...
 
double phi () const final
 momentum azimuthal angle More...
 
const PolarLorentzVectorpolarP4 () const final
 four-momentum Lorentz vector More...
 
double pt () const final
 transverse momentum More...
 
double px () const final
 x coordinate of momentum vector More...
 
double py () const final
 y coordinate of momentum vector More...
 
double pz () const final
 z coordinate of momentum vector More...
 
double rapidity () const final
 rapidity More...
 
void setCharge (Charge q) final
 set electric charge More...
 
void setLongLived () final
 
void setMass (double m) final
 set particle mass More...
 
void setMassConstraint () final
 
void setP4 (const LorentzVector &p4) final
 set 4-momentum More...
 
void setP4 (const PolarLorentzVector &p4) final
 set 4-momentum More...
 
void setPdgId (int pdgId) final
 
void setPz (double pz) final
 
void setStatus (int status) final
 set status word More...
 
void setThreeCharge (Charge qx3) final
 set electric charge More...
 
void setVertex (const Point &vertex) override
 set vertex More...
 
CandidatePtr sourceCandidatePtr (size_type i) const override
 
int status () const final
 status word More...
 
double theta () const final
 momentum polar angle More...
 
int threeCharge () const final
 electric charge More...
 
const Pointvertex () const override
 vertex position (overwritten by PF...) More...
 
double vertexChi2 () const override
 chi-squares More...
 
double vertexCovariance (int i, int j) const override
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const final
 return SMatrix More...
 
double vertexNdof () const override
 
double vertexNormalizedChi2 () const override
 chi-squared divided by n.d.o.f. More...
 
double vx () const override
 x coordinate of vertex position More...
 
double vy () const override
 y coordinate of vertex position More...
 
double vz () const override
 z coordinate of vertex position More...
 
double y () const final
 rapidity More...
 
 ~LeafCandidate () override
 destructor More...
 
- Public Member Functions inherited from reco::Candidate
const_iterator begin () const
 first daughter const_iterator More...
 
iterator begin ()
 first daughter iterator More...
 
 Candidate ()
 default constructor More...
 
const_iterator end () const
 last daughter const_iterator More...
 
iterator end ()
 last daughter iterator More...
 
template<typename T >
T get () const
 get a component More...
 
template<typename T , typename Tag >
T get () const
 get a component More...
 
template<typename T >
T get (size_type i) const
 get a component More...
 
template<typename T , typename Tag >
T get (size_type i) const
 get a component More...
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
template<typename T >
size_type numberOf () const
 number of components More...
 
template<typename T , typename Tag >
size_type numberOf () const
 number of components More...
 
virtual void setSourceCandidatePtr (const CandidatePtr &ptr)
 Set the ptr to the source Candidate. More...
 
virtual ~Candidate ()
 destructor More...
 

Static Public Attributes

static constexpr float mvaPlaceholder = -999999999.
 

Private Member Functions

void init ()
 

Private Attributes

bool ambiguous_
 
GsfTrackRefVector ambiguousGsfTracks_
 
ChargeInfo chargeInfo_
 
Classification class_
 
ClassificationVariables classVariables_
 
ConversionRejection conversionRejection_
 
GsfElectronCoreRef core_
 
Corrections corrections_
 
IsolationVariables dr03_
 
IsolationVariables dr04_
 
FiducialFlags fiducialFlags_
 
ShowerShape full5x5_showerShape_
 
MvaInput mvaInput_
 
MvaOutput mvaOutput_
 
bool passCutBasedPreselection_
 
bool passMvaPreslection_
 
bool passPflowPreselection_
 
PflowIsolationVariables pfIso_
 
PixelMatchVariables pixelMatchVariables_
 
SaturationInfo saturationInfo_
 
ShowerShape showerShape_
 
TrackClusterMatching trackClusterMatching_
 
TrackExtrapolations trackExtrapolations_
 

Additional Inherited Members

- Protected Member Functions inherited from reco::RecoCandidate
template<typename R >
bool checkOverlap (const R &r1, const R &r2) const
 check if two components overlap More...
 

Detailed Description

Definition at line 36 of file GsfElectron.h.

Member Enumeration Documentation

◆ Classification

Enumerator
UNKNOWN 
GOLDEN 
BIGBREM 
BADTRACK 
SHOWERING 
GAP 

Definition at line 799 of file GsfElectron.h.

◆ P4Kind

Enumerator
P4_UNKNOWN 
P4_FROM_SUPER_CLUSTER 
P4_COMBINATION 
P4_PFLOW_COMBINATION 

Definition at line 844 of file GsfElectron.h.

Constructor & Destructor Documentation

◆ GsfElectron() [1/6]

GsfElectron::GsfElectron ( )

Definition at line 18 of file GsfElectron.cc.

References init().

Referenced by clone().

18 { init(); }

◆ GsfElectron() [2/6]

GsfElectron::GsfElectron ( const GsfElectronCoreRef core)

Definition at line 20 of file GsfElectron.cc.

References init().

20 : core_(core) { init(); }
Definition: __init__.py:1
GsfElectronCoreRef core_
Definition: GsfElectron.h:187

◆ GsfElectron() [3/6]

GsfElectron::GsfElectron ( const GsfElectron electron,
const GsfElectronCoreRef core 
)

Definition at line 75 of file GsfElectron.cc.

77  chargeInfo_(electron.chargeInfo_),
78  core_(core),
79  trackClusterMatching_(electron.trackClusterMatching_),
80  trackExtrapolations_(electron.trackExtrapolations_),
81  //closestCtfTrack_(electron.closestCtfTrack_),
82  fiducialFlags_(electron.fiducialFlags_),
83  showerShape_(electron.showerShape_),
84  full5x5_showerShape_(electron.full5x5_showerShape_),
85  saturationInfo_(electron.saturationInfo_),
86  dr03_(electron.dr03_),
87  dr04_(electron.dr04_),
88  conversionRejection_(electron.conversionRejection_),
89  pfIso_(electron.pfIso_),
90  mvaInput_(electron.mvaInput_),
91  mvaOutput_(electron.mvaOutput_),
92  passCutBasedPreselection_(electron.passCutBasedPreselection_),
93  passPflowPreselection_(electron.passPflowPreselection_),
94  passMvaPreslection_(electron.passMvaPreslection_),
95  ambiguous_(electron.ambiguous_),
96  ambiguousGsfTracks_(electron.ambiguousGsfTracks_),
97  classVariables_(electron.classVariables_),
98  class_(electron.class_),
99  corrections_(electron.corrections_),
100  pixelMatchVariables_(electron.pixelMatchVariables_) {
101  //assert(electron.core()->ctfTrack()==core->ctfTrack()) ;
102  //assert(electron.core()->ctfGsfOverlap()==core->ctfGsfOverlap()) ;
103 }
MvaInput mvaInput_
Definition: GsfElectron.h:753
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
Classification class_
Definition: GsfElectron.h:820
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654
Definition: __init__.py:1
Corrections corrections_
Definition: GsfElectron.h:912
SaturationInfo saturationInfo_
Definition: GsfElectron.h:525
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:786
ChargeInfo chargeInfo_
Definition: GsfElectron.h:139
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:752
MvaOutput mvaOutput_
Definition: GsfElectron.h:754
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
ShowerShape showerShape_
Definition: GsfElectron.h:504
IsolationVariables dr04_
Definition: GsfElectron.h:620
ClassificationVariables classVariables_
Definition: GsfElectron.h:819
GsfElectronCoreRef core_
Definition: GsfElectron.h:187
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:505
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245
bool passCutBasedPreselection_
Definition: GsfElectron.h:782
IsolationVariables dr03_
Definition: GsfElectron.h:619
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286
bool passPflowPreselection_
Definition: GsfElectron.h:783

◆ GsfElectron() [4/6]

GsfElectron::GsfElectron ( const GsfElectron electron,
const GsfElectronCoreRef core,
const CaloClusterPtr electronCluster,
const TrackRef closestCtfTrack,
const TrackBaseRef conversionPartner,
const GsfTrackRefVector ambiguousTracks 
)

Definition at line 105 of file GsfElectron.cc.

References conversionRejection_, reco::GsfElectron::TrackClusterMatching::electronCluster, electronCluster(), reco::GsfElectron::ConversionRejection::partner, and trackClusterMatching_.

112  chargeInfo_(electron.chargeInfo_),
113  core_(core),
114  trackClusterMatching_(electron.trackClusterMatching_),
115  trackExtrapolations_(electron.trackExtrapolations_),
116  //closestCtfTrack_(electron.closestCtfTrack_),
117  fiducialFlags_(electron.fiducialFlags_),
118  showerShape_(electron.showerShape_),
119  full5x5_showerShape_(electron.full5x5_showerShape_),
120  saturationInfo_(electron.saturationInfo_),
121  dr03_(electron.dr03_),
122  dr04_(electron.dr04_),
123  conversionRejection_(electron.conversionRejection_),
124  pfIso_(electron.pfIso_),
125  mvaInput_(electron.mvaInput_),
126  mvaOutput_(electron.mvaOutput_),
127  passCutBasedPreselection_(electron.passCutBasedPreselection_),
128  passPflowPreselection_(electron.passPflowPreselection_),
129  passMvaPreslection_(electron.passMvaPreslection_),
130  ambiguous_(electron.ambiguous_),
131  ambiguousGsfTracks_(ambiguousTracks),
132  //mva_(electron.mva_),
133  classVariables_(electron.classVariables_),
134  class_(electron.class_),
135  corrections_(electron.corrections_),
136  pixelMatchVariables_(electron.pixelMatchVariables_) {
138  //closestCtfTrack_.ctfTrack = closestCtfTrack ;
139  conversionRejection_.partner = conversionPartner;
140  //assert(closestCtfTrack==core->ctfTrack()) ;
141  //assert(electron.core()->ctfGsfOverlap()==core->ctfGsfOverlap()) ;
142  // TO BE DONE
143  // Check that the new edm references are really
144  // the clones of the former references, and therefore other attributes
145  // stay valid :
146  // * electron.core_ ~ core ?
147  // * electron.trackClusterMatching_.electronCluster ~ electronCluster ?
148  // * electron.closestCtfTrack_.ctfTrack ~ closestCtfTrack ?
149  // * electron.ambiguousGsfTracks_ ~ ambiguousTracks ?
150 }
MvaInput mvaInput_
Definition: GsfElectron.h:753
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
Classification class_
Definition: GsfElectron.h:820
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654
Definition: __init__.py:1
Corrections corrections_
Definition: GsfElectron.h:912
SaturationInfo saturationInfo_
Definition: GsfElectron.h:525
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:786
ChargeInfo chargeInfo_
Definition: GsfElectron.h:139
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:752
MvaOutput mvaOutput_
Definition: GsfElectron.h:754
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
ShowerShape showerShape_
Definition: GsfElectron.h:504
IsolationVariables dr04_
Definition: GsfElectron.h:620
ClassificationVariables classVariables_
Definition: GsfElectron.h:819
GsfElectronCoreRef core_
Definition: GsfElectron.h:187
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:505
CaloClusterPtr electronCluster() const
Definition: GsfElectron.h:220
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245
bool passCutBasedPreselection_
Definition: GsfElectron.h:782
IsolationVariables dr03_
Definition: GsfElectron.h:619
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286
bool passPflowPreselection_
Definition: GsfElectron.h:783

◆ GsfElectron() [5/6]

GsfElectron::GsfElectron ( int  charge,
const ChargeInfo chargeInfo,
const GsfElectronCoreRef core,
const TrackClusterMatching tcm,
const TrackExtrapolations te,
const ClosestCtfTrack ctfInfo,
const FiducialFlags ff,
const ShowerShape ss,
const ConversionRejection crv 
)

Definition at line 22 of file GsfElectron.cc.

References reco::LeafCandidate::charge(), reco::GsfElectron::Corrections::correctedEcalEnergy, corrections_, init(), reco::GsfElectron::TrackExtrapolations::positionAtVtx, reco::LeafCandidate::setCharge(), reco::LeafCandidate::setPdgId(), reco::LeafCandidate::setVertex(), and superCluster().

32  core_(core),
35  //closestCtfTrack_(ctfInfo),
39  init();
41  setVertex(math::XYZPoint(te.positionAtVtx.x(), te.positionAtVtx.y(), te.positionAtVtx.z()));
42  setPdgId(-11 * charge);
43  /*if (ecalDrivenSeed())*/ corrections_.correctedEcalEnergy = superCluster()->energy();
44  // assert(ctfInfo.ctfTrack==(GsfElectron::core()->ctfTrack())) ;
45  // assert(ctfInfo.shFracInnerHits==(GsfElectron::core()->ctfGsfOverlap())) ;
46 }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654
Definition: __init__.py:1
Corrections corrections_
Definition: GsfElectron.h:912
ChargeInfo chargeInfo_
Definition: GsfElectron.h:139
void setVertex(const Point &vertex) override
set vertex
void setCharge(Charge q) final
set electric charge
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
ShowerShape showerShape_
Definition: GsfElectron.h:504
GsfElectronCoreRef core_
Definition: GsfElectron.h:187
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286
void setPdgId(int pdgId) final
const ChargeInfo & chargeInfo() const
Definition: GsfElectron.h:131
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155
int charge() const final
electric charge

◆ GsfElectron() [6/6]

GsfElectron::GsfElectron ( int  charge,
const ChargeInfo chargeInfo,
const GsfElectronCoreRef core,
const TrackClusterMatching tcm,
const TrackExtrapolations te,
const ClosestCtfTrack ctfInfo,
const FiducialFlags ff,
const ShowerShape ss,
const ShowerShape full5x5_ss,
const ConversionRejection crv,
const SaturationInfo si 
)

Definition at line 48 of file GsfElectron.cc.

References reco::LeafCandidate::charge(), reco::GsfElectron::Corrections::correctedEcalEnergy, corrections_, init(), reco::GsfElectron::TrackExtrapolations::positionAtVtx, reco::LeafCandidate::setCharge(), reco::LeafCandidate::setPdgId(), reco::LeafCandidate::setVertex(), and superCluster().

60  core_(core),
65  full5x5_showerShape_(full5x5_ss),
66  saturationInfo_(si),
68  init();
70  setVertex(math::XYZPoint(te.positionAtVtx.x(), te.positionAtVtx.y(), te.positionAtVtx.z()));
71  setPdgId(-11 * charge);
73 }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654
Definition: __init__.py:1
Corrections corrections_
Definition: GsfElectron.h:912
SaturationInfo saturationInfo_
Definition: GsfElectron.h:525
ChargeInfo chargeInfo_
Definition: GsfElectron.h:139
void setVertex(const Point &vertex) override
set vertex
void setCharge(Charge q) final
set electric charge
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
ShowerShape showerShape_
Definition: GsfElectron.h:504
GsfElectronCoreRef core_
Definition: GsfElectron.h:187
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:505
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286
void setPdgId(int pdgId) final
const ChargeInfo & chargeInfo() const
Definition: GsfElectron.h:131
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155
int charge() const final
electric charge

◆ ~GsfElectron()

reco::GsfElectron::~GsfElectron ( )
inlineoverride

Definition at line 94 of file GsfElectron.h.

94 {};

Member Function Documentation

◆ addAmbiguousGsfTrack()

void reco::GsfElectron::addAmbiguousGsfTrack ( const reco::GsfTrackRef t)
inline

Definition at line 774 of file GsfElectron.h.

References ambiguousGsfTracks_, edm::RefVector< C, T, F >::push_back(), and submitPVValidationJobs::t.

Referenced by PFElectronTranslator::createGsfElectrons().

GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:786
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:67

◆ ambiguous()

bool reco::GsfElectron::ambiguous ( ) const
inline

Definition at line 765 of file GsfElectron.h.

References ambiguous_.

Referenced by GsfElectronProducer::produce().

765 { return ambiguous_; }

◆ ambiguousGsfTracks()

auto const& reco::GsfElectron::ambiguousGsfTracks ( ) const
inline

Definition at line 767 of file GsfElectron.h.

References ambiguousGsfTracks_.

Referenced by ConversionTools::matchesConversion().

767 { return ambiguousGsfTracks_; }
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:786

◆ ambiguousGsfTracksSize()

GsfTrackRefVector::size_type reco::GsfElectron::ambiguousGsfTracksSize ( ) const
inline

Definition at line 766 of file GsfElectron.h.

References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::size().

Referenced by ElectronMcSignalValidator::analyze(), and ElectronMcFakeValidator::analyze().

766 { return ambiguousGsfTracks_.size(); }
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:786
size_type size() const
Size of the RefVector.
Definition: RefVector.h:102

◆ basicClustersBegin()

CaloCluster_iterator reco::GsfElectron::basicClustersBegin ( ) const
inline

Definition at line 298 of file GsfElectron.h.

References superCluster().

298 { return superCluster()->clustersBegin(); }
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ basicClustersEnd()

CaloCluster_iterator reco::GsfElectron::basicClustersEnd ( ) const
inline

Definition at line 299 of file GsfElectron.h.

References superCluster().

299 { return superCluster()->clustersEnd(); }
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ basicClustersSize()

int reco::GsfElectron::basicClustersSize ( ) const
inline

Definition at line 295 of file GsfElectron.h.

References superCluster().

Referenced by numberOfBrems().

295  {
296  return superCluster()->clustersSize();
297  } // number of basic clusters inside the supercluster
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ caloEnergy()

float reco::GsfElectron::caloEnergy ( ) const
inline

◆ caloPosition()

math::XYZPoint reco::GsfElectron::caloPosition ( ) const
inline

Definition at line 302 of file GsfElectron.h.

References superCluster().

Referenced by FWElectronDetailView::build(), and EgammaObjects::findRecoMass().

302 { return superCluster()->position(); }
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ candidateP4Kind()

P4Kind reco::GsfElectron::candidateP4Kind ( ) const
inline

◆ chargeInfo()

const ChargeInfo& reco::GsfElectron::chargeInfo ( ) const
inline

Definition at line 131 of file GsfElectron.h.

References chargeInfo_.

131 { return chargeInfo_; }
ChargeInfo chargeInfo_
Definition: GsfElectron.h:139

◆ classification()

Classification reco::GsfElectron::classification ( ) const
inline

◆ classificationVariables()

const ClassificationVariables& reco::GsfElectron::classificationVariables ( ) const
inline

Definition at line 804 of file GsfElectron.h.

References classVariables_.

804 { return classVariables_; }
ClassificationVariables classVariables_
Definition: GsfElectron.h:819

◆ clearAmbiguousGsfTracks()

void reco::GsfElectron::clearAmbiguousGsfTracks ( )
inline

Definition at line 773 of file GsfElectron.h.

References ambiguousGsfTracks_, and edm::RefVector< C, T, F >::clear().

GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:786
void clear()
Clear the vector.
Definition: RefVector.h:142

◆ clone() [1/2]

GsfElectron * GsfElectron::clone ( void  ) const
overridevirtual

returns a clone of the Candidate object

Reimplemented from reco::LeafCandidate.

Reimplemented in pat::Electron, and pat::Lepton< reco::GsfElectron >.

Definition at line 158 of file GsfElectron.cc.

References GsfElectron().

158 { return new GsfElectron(*this); }

◆ clone() [2/2]

GsfElectron * GsfElectron::clone ( const GsfElectronCoreRef core,
const CaloClusterPtr electronCluster,
const TrackRef closestCtfTrack,
const TrackBaseRef conversionPartner,
const GsfTrackRefVector ambiguousTracks 
) const

Definition at line 160 of file GsfElectron.cc.

References closestCtfTrack(), electronCluster(), and GsfElectron().

164  {
165  return new GsfElectron(*this, core, electronCluster, closestCtfTrack, conversionPartner, ambiguousTracks);
166 }
Definition: __init__.py:1
CaloClusterPtr electronCluster() const
Definition: GsfElectron.h:220
virtual ClosestCtfTrack closestCtfTrack() const
Definition: GsfElectron.h:181

◆ closestCtfTrack()

virtual ClosestCtfTrack reco::GsfElectron::closestCtfTrack ( ) const
inlinevirtual

Definition at line 181 of file GsfElectron.h.

References core(), and ctfGsfOverlap().

Referenced by clone().

181  {
182  return ClosestCtfTrack(core()->ctfTrack(), core()->ctfGsfOverlap());
183  }
float ctfGsfOverlap() const
Definition: GsfElectron.h:157
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8

◆ closestCtfTrackNLayers()

int reco::GsfElectron::closestCtfTrackNLayers ( ) const
inline

Definition at line 168 of file GsfElectron.h.

References closestCtfTrackRef(), and closestCtfTrackRefValid().

Referenced by ElectronDNNEstimator::getInputsVars().

168  {
169  return closestCtfTrackRefValid() ? closestCtfTrackRef()->hitPattern().trackerLayersWithMeasurement() : -1;
170  }
virtual TrackRef closestCtfTrackRef() const
Definition: GsfElectron.h:180
bool closestCtfTrackRefValid() const
Definition: GsfElectron.h:161

◆ closestCtfTrackNormChi2()

float reco::GsfElectron::closestCtfTrackNormChi2 ( ) const
inline

Definition at line 165 of file GsfElectron.h.

References closestCtfTrackRef(), and closestCtfTrackRefValid().

Referenced by ElectronDNNEstimator::getInputsVars().

165  {
166  return closestCtfTrackRefValid() ? closestCtfTrackRef()->normalizedChi2() : 0;
167  }
virtual TrackRef closestCtfTrackRef() const
Definition: GsfElectron.h:180
bool closestCtfTrackRefValid() const
Definition: GsfElectron.h:161

◆ closestCtfTrackRef()

virtual TrackRef reco::GsfElectron::closestCtfTrackRef ( ) const
inlinevirtual

◆ closestCtfTrackRefValid()

bool reco::GsfElectron::closestCtfTrackRefValid ( ) const
inline

Definition at line 161 of file GsfElectron.h.

References closestCtfTrackRef(), edm::Ref< C, T, F >::isAvailable(), and edm::Ref< C, T, F >::isNonnull().

Referenced by closestCtfTrackNLayers(), and closestCtfTrackNormChi2().

161  {
163  }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
bool isAvailable() const
Definition: Ref.h:541
virtual TrackRef closestCtfTrackRef() const
Definition: GsfElectron.h:180

◆ convDcot()

float reco::GsfElectron::convDcot ( ) const
inline

◆ convDist()

float reco::GsfElectron::convDist ( ) const
inline

◆ conversionRejectionVariables()

const ConversionRejection& reco::GsfElectron::conversionRejectionVariables ( ) const
inline

Definition at line 649 of file GsfElectron.h.

References conversionRejection_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

649 { return conversionRejection_; }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654

◆ convFlags()

int reco::GsfElectron::convFlags ( ) const
inline

◆ convPartner()

TrackBaseRef reco::GsfElectron::convPartner ( ) const
inline

Definition at line 644 of file GsfElectron.h.

References conversionRejection_, and reco::GsfElectron::ConversionRejection::partner.

644 { return conversionRejection_.partner; }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654

◆ convRadius()

float reco::GsfElectron::convRadius ( ) const
inline

◆ convVtxFitProb()

float reco::GsfElectron::convVtxFitProb ( ) const
inline

◆ core()

GsfElectronCoreRef GsfElectron::core ( ) const
virtual

◆ correctEcalEnergy()

void reco::GsfElectron::correctEcalEnergy ( float  newEnergy,
float  newEnergyError,
bool  corrEovP = true 
)
inline

Definition at line 901 of file GsfElectron.h.

References setCorrectedEcalEnergy(), and setEcalEnergyError().

Referenced by RegressionEnergyPatElectronProducer::produce().

901  {
902  setCorrectedEcalEnergy(newEnergy, corrEovP);
903  setEcalEnergyError(newEnergyError);
904  }
void setEcalEnergyError(float energyError)
Definition: GsfElectron.h:895
void setCorrectedEcalEnergy(float newEnergy)
Definition: GsfElectron.cc:174

◆ correctedEcalEnergy()

float reco::GsfElectron::correctedEcalEnergy ( ) const
inline

◆ correctedEcalEnergyError()

float reco::GsfElectron::correctedEcalEnergyError ( ) const
inline

◆ corrections()

const Corrections& reco::GsfElectron::corrections ( ) const
inline

Definition at line 889 of file GsfElectron.h.

References corrections_.

Referenced by ElectronEnergyCalibrator::calibrate(), and ElectronEnergyCalibrator::setEnergyAndSystVarations().

889 { return corrections_; }
Corrections corrections_
Definition: GsfElectron.h:912

◆ correctMomentum()

void reco::GsfElectron::correctMomentum ( const LorentzVector p4,
float  trackMomentumError,
float  p4Error 
)
inline

◆ ctfGsfOverlap()

float reco::GsfElectron::ctfGsfOverlap ( ) const
inline

Definition at line 157 of file GsfElectron.h.

References core().

Referenced by closestCtfTrack().

157 { return core()->ctfGsfOverlap(); }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8

◆ deltaEtaEleClusterTrackAtCalo()

float reco::GsfElectron::deltaEtaEleClusterTrackAtCalo ( ) const
inline

◆ deltaEtaSeedClusterTrackAtCalo()

float reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo ( ) const
inline

◆ deltaEtaSeedClusterTrackAtVtx()

float reco::GsfElectron::deltaEtaSeedClusterTrackAtVtx ( ) const
inline

Definition at line 231 of file GsfElectron.h.

References reco::GsfElectron::TrackClusterMatching::deltaEtaSuperClusterAtVtx, edm::Ref< C, T, F >::isNonnull(), SiStripPI::max, superCluster(), and trackClusterMatching_.

Referenced by ZElectronsSelector::operator()().

231  {
232  return superCluster().isNonnull() && superCluster()->seed().isNonnull()
234  superCluster()->seed()->eta()
236  }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:238
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ deltaEtaSuperClusterTrackAtVtx()

float reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx ( ) const
inline

◆ deltaPhiEleClusterTrackAtCalo()

float reco::GsfElectron::deltaPhiEleClusterTrackAtCalo ( ) const
inline

◆ deltaPhiSeedClusterTrackAtCalo()

float reco::GsfElectron::deltaPhiSeedClusterTrackAtCalo ( ) const
inline

◆ deltaPhiSuperClusterTrackAtVtx()

float reco::GsfElectron::deltaPhiSuperClusterTrackAtVtx ( ) const
inline

◆ dnn_bkg_nonIsolated()

float reco::GsfElectron::dnn_bkg_nonIsolated ( ) const
inline

◆ dnn_bkg_Photon()

float reco::GsfElectron::dnn_bkg_Photon ( ) const
inline

◆ dnn_bkg_Tau()

float reco::GsfElectron::dnn_bkg_Tau ( ) const
inline

Definition at line 748 of file GsfElectron.h.

References reco::GsfElectron::MvaOutput::dnn_e_bkgTau, and mvaOutput_.

◆ dnn_signal_Isolated()

float reco::GsfElectron::dnn_signal_Isolated ( ) const
inline

◆ dnn_signal_nonIsolated()

float reco::GsfElectron::dnn_signal_nonIsolated ( ) const
inline

◆ dr03EcalRecHitSumEt()

float reco::GsfElectron::dr03EcalRecHitSumEt ( ) const
inline

◆ dr03HcalTowerSumEt()

float reco::GsfElectron::dr03HcalTowerSumEt ( int  depth = 0) const
inline

◆ dr03HcalTowerSumEtBc()

float reco::GsfElectron::dr03HcalTowerSumEtBc ( int  depth = 0) const
inline

Definition at line 593 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, dr03_, and hcalTowerSumEtBc().

Referenced by ElectronMcSignalValidator::analyze(), and ElectronMcFakeValidator::analyze().

593 { return hcalTowerSumEtBc(dr03_, depth); }
float hcalTowerSumEtBc(const IsolationVariables &iv, int depth) const
Definition: GsfElectron.h:577
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ dr03IsolationVariables()

const IsolationVariables& reco::GsfElectron::dr03IsolationVariables ( ) const
inline

Definition at line 594 of file GsfElectron.h.

References dr03_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

594 { return dr03_; }
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ dr03TkSumPt()

float reco::GsfElectron::dr03TkSumPt ( ) const
inline

◆ dr03TkSumPtHEEP()

float reco::GsfElectron::dr03TkSumPtHEEP ( ) const
inline

Definition at line 558 of file GsfElectron.h.

References dr03_, and reco::GsfElectron::IsolationVariables::tkSumPtHEEP.

Referenced by GsfEleTrkPtIsoCut::value().

558 { return dr03_.tkSumPtHEEP; }
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ dr04EcalRecHitSumEt()

float reco::GsfElectron::dr04EcalRecHitSumEt ( ) const
inline

Definition at line 599 of file GsfElectron.h.

References dr04_, and reco::GsfElectron::IsolationVariables::ecalRecHitSumEt.

Referenced by pat::Electron::ecalIso().

599 { return dr04_.ecalRecHitSumEt; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ dr04HcalTowerSumEt()

float reco::GsfElectron::dr04HcalTowerSumEt ( int  depth = 0) const
inline

Definition at line 600 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, dr04_, and hcalTowerSumEt().

Referenced by pat::Electron::hcalIso().

600 { return hcalTowerSumEt(dr04_, depth); }
float hcalTowerSumEt(const IsolationVariables &iv, int depth) const
Definition: GsfElectron.h:560
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ dr04HcalTowerSumEtBc()

float reco::GsfElectron::dr04HcalTowerSumEtBc ( int  depth = 0) const
inline

Definition at line 601 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, dr04_, and hcalTowerSumEtBc().

601 { return hcalTowerSumEtBc(dr04_, depth); }
IsolationVariables dr04_
Definition: GsfElectron.h:620
float hcalTowerSumEtBc(const IsolationVariables &iv, int depth) const
Definition: GsfElectron.h:577

◆ dr04IsolationVariables()

const IsolationVariables& reco::GsfElectron::dr04IsolationVariables ( ) const
inline

Definition at line 602 of file GsfElectron.h.

References dr04_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

602 { return dr04_; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ dr04TkSumPt()

float reco::GsfElectron::dr04TkSumPt ( ) const
inline

Definition at line 597 of file GsfElectron.h.

References dr04_, and reco::GsfElectron::IsolationVariables::tkSumPt.

Referenced by EwkElecDQM::analyze(), and pat::Electron::trackIso().

597 { return dr04_.tkSumPt; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ dr04TkSumPtHEEP()

float reco::GsfElectron::dr04TkSumPtHEEP ( ) const
inline

Definition at line 598 of file GsfElectron.h.

References dr04_, and reco::GsfElectron::IsolationVariables::tkSumPtHEEP.

598 { return dr04_.tkSumPtHEEP; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ e1x5()

float reco::GsfElectron::e1x5 ( ) const
inline

◆ e2x5Max()

float reco::GsfElectron::e2x5Max ( ) const
inline

◆ e5x5()

float reco::GsfElectron::e5x5 ( ) const
inline

◆ eBottom()

float reco::GsfElectron::eBottom ( ) const
inline

Definition at line 466 of file GsfElectron.h.

References reco::GsfElectron::ShowerShape::eBottom, and showerShape_.

466 { return showerShape_.eBottom; }
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ ecalDriven()

bool GsfElectron::ecalDriven ( ) const

◆ ecalDrivenSeed()

bool reco::GsfElectron::ecalDrivenSeed ( ) const
inline

◆ ecalEnergy()

float reco::GsfElectron::ecalEnergy ( ) const
inline

◆ ecalEnergyError()

float reco::GsfElectron::ecalEnergyError ( ) const
inline

◆ ecalPFClusterIso()

float reco::GsfElectron::ecalPFClusterIso ( ) const
inline

◆ eEleClusterOverPout()

float reco::GsfElectron::eEleClusterOverPout ( ) const
inline

◆ electronCluster()

CaloClusterPtr reco::GsfElectron::electronCluster ( ) const
inline

◆ eLeft()

float reco::GsfElectron::eLeft ( ) const
inline

Definition at line 463 of file GsfElectron.h.

References reco::GsfElectron::ShowerShape::eLeft, and showerShape_.

463 { return showerShape_.eLeft; }
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ eRight()

float reco::GsfElectron::eRight ( ) const
inline

Definition at line 464 of file GsfElectron.h.

References reco::GsfElectron::ShowerShape::eRight, and showerShape_.

464 { return showerShape_.eRight; }
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ eSeedClusterOverP()

float reco::GsfElectron::eSeedClusterOverP ( ) const
inline

◆ eSeedClusterOverPout()

float reco::GsfElectron::eSeedClusterOverPout ( ) const
inline

◆ eSuperClusterOverP()

float reco::GsfElectron::eSuperClusterOverP ( ) const
inline

◆ eTop()

float reco::GsfElectron::eTop ( ) const
inline

Definition at line 465 of file GsfElectron.h.

References reco::GsfElectron::ShowerShape::eTop, and showerShape_.

465 { return showerShape_.eTop; }
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ fbrem()

float reco::GsfElectron::fbrem ( ) const
inline

◆ fiducialFlags()

const FiducialFlags& reco::GsfElectron::fiducialFlags ( ) const
inline

Definition at line 338 of file GsfElectron.h.

References fiducialFlags_.

338 { return fiducialFlags_; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351

◆ full5x5_e1x5()

float reco::GsfElectron::full5x5_e1x5 ( ) const
inline

◆ full5x5_e2x5Bottom()

float reco::GsfElectron::full5x5_e2x5Bottom ( ) const
inline

◆ full5x5_e2x5Left()

float reco::GsfElectron::full5x5_e2x5Left ( ) const
inline

◆ full5x5_e2x5Max()

float reco::GsfElectron::full5x5_e2x5Max ( ) const
inline

◆ full5x5_e2x5Right()

float reco::GsfElectron::full5x5_e2x5Right ( ) const
inline

◆ full5x5_e2x5Top()

float reco::GsfElectron::full5x5_e2x5Top ( ) const
inline

◆ full5x5_e5x5()

float reco::GsfElectron::full5x5_e5x5 ( ) const
inline

◆ full5x5_eBottom()

float reco::GsfElectron::full5x5_eBottom ( ) const
inline

◆ full5x5_eLeft()

float reco::GsfElectron::full5x5_eLeft ( ) const
inline

◆ full5x5_eRight()

float reco::GsfElectron::full5x5_eRight ( ) const
inline

◆ full5x5_eTop()

float reco::GsfElectron::full5x5_eTop ( ) const
inline

◆ full5x5_hcalOverEcal()

float reco::GsfElectron::full5x5_hcalOverEcal ( int  depth = 0) const
inline

◆ full5x5_hcalOverEcalBc()

float reco::GsfElectron::full5x5_hcalOverEcalBc ( int  depth = 0) const
inline

Definition at line 478 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, full5x5_showerShape_, and hcalOverEcalBc().

Referenced by EGRegressionModifierV3::getRegData().

float hcalOverEcalBc(const ShowerShape &ss, int depth) const
Definition: GsfElectron.h:442
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:505

◆ full5x5_hcalOverEcalValid()

bool reco::GsfElectron::full5x5_hcalOverEcalValid ( ) const
inline

◆ full5x5_r9()

float reco::GsfElectron::full5x5_r9 ( ) const
inline

◆ full5x5_setShowerShape()

void reco::GsfElectron::full5x5_setShowerShape ( const ShowerShape s)
inline

◆ full5x5_showerShape()

const ShowerShape& reco::GsfElectron::full5x5_showerShape ( ) const
inline

◆ full5x5_sigmaEtaEta()

float reco::GsfElectron::full5x5_sigmaEtaEta ( ) const
inline

◆ full5x5_sigmaIetaIeta()

float reco::GsfElectron::full5x5_sigmaIetaIeta ( ) const
inline

◆ full5x5_sigmaIphiIphi()

float reco::GsfElectron::full5x5_sigmaIphiIphi ( ) const
inline

◆ gsfTrack()

GsfTrackRef reco::GsfElectron::gsfTrack ( ) const
inlineoverridevirtual

reference to a GsfTrack

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Electron.

Definition at line 156 of file GsfElectron.h.

References core().

Referenced by ElectronTagProbeAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), ElectronMcFakeValidator::analyze(), FWElectronLegoProxyBuilder::build(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), ElectronHEEPIDValueMapProducer::calTrkIso(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), EpCombinationTool::combine(), egammaisolation::EgammaTrackExtractor::deposit(), Electron.Electron::dxy(), Electron.Electron::dz(), Electron.Electron::edxy(), Electron.Electron::edz(), WZInterestingEventSelector::electronSelection(), lowptgsfeleid::features_V1(), egHLT::OffHelper::fillIsolData(), ElectronDNNEstimator::getInputsVars(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), SoftPFElectronTagInfoProducer::isElecClean(), egamma::isInnermostElectron(), EGammaMvaEleEstimator::isoMvaValue(), Electron.Electron::lostInner(), EGRegressionModifierV2::modifyObject(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), ZElectronsSelector::operator()(), overlap(), ElectronIdentifier::passID(), DiElectronVertexValidation::passLooseSelection(), GEDGsfElectronFinalizer::produce(), LowPtGsfElectronSeedValueMapsProducer::produce(), SoftPFElectronTagInfoProducer::produce(), GsfElectronAlgo::setCutBasedPreselectionFlag(), GsfElectronAlgo::setPixelMatchInfomation(), EgammaCutBasedEleId::TestWP(), GsfEleMissingHitsCut::value(), GsfEleDzCut::value(), and GsfEleDxyCut::value().

156 { return core()->gsfTrack(); }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8

◆ hadronicOverEm()

float reco::GsfElectron::hadronicOverEm ( ) const
inline

◆ hcalOverEcal() [1/2]

float reco::GsfElectron::hcalOverEcal ( const ShowerShape ss,
int  depth 
) const
inline

Definition at line 425 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, f, and contentValuesCheck::ss.

Referenced by ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), WZInterestingEventSelector::electronSelection(), full5x5_hcalOverEcal(), hadronicOverEm(), ElectronMVAEstimator::mva(), and GsfElectronAlgo::setCutBasedPreselectionFlag().

425  {
426  if (ss.pre7DepthHcal) {
427  if (depth == 0)
428  return ss.hcalDepth1OverEcal + ss.hcalDepth2OverEcal;
429  else if (depth == 1)
430  return ss.hcalDepth1OverEcal;
431  else if (depth == 2)
432  return ss.hcalDepth2OverEcal;
433 
434  return 0.f;
435  } else {
436  const auto &hovere = ss.hcalOverEcal;
437  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hovere), std::end(hovere), 0.f)
438  : hovere[depth - 1];
439  }
440  }
double f[11][100]

◆ hcalOverEcal() [2/2]

float reco::GsfElectron::hcalOverEcal ( int  depth = 0) const
inline

Definition at line 441 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, hcalOverEcal(), and showerShape_.

Referenced by hcalOverEcal().

441 { return hcalOverEcal(showerShape_, depth); }
ShowerShape showerShape_
Definition: GsfElectron.h:504
float hcalOverEcal(const ShowerShape &ss, int depth) const
Definition: GsfElectron.h:425

◆ hcalOverEcalBc() [1/2]

float reco::GsfElectron::hcalOverEcalBc ( const ShowerShape ss,
int  depth 
) const
inline

Definition at line 442 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, f, and contentValuesCheck::ss.

Referenced by ElectronMcSignalValidator::analyze(), ElectronMcFakeValidator::analyze(), full5x5_hcalOverEcalBc(), EGRegressionModifierV3::getRegData(), EGRegressionModifierV2::modifyObject(), SoftElectronMVAEstimator::mva(), and GsfElectronAlgo::setCutBasedPreselectionFlag().

442  {
443  if (ss.pre7DepthHcal) {
444  if (depth == 0)
445  return ss.hcalDepth1OverEcalBc + ss.hcalDepth2OverEcalBc;
446  else if (depth == 1)
447  return ss.hcalDepth1OverEcalBc;
448  else if (depth == 2)
449  return ss.hcalDepth2OverEcalBc;
450 
451  return 0.f;
452  } else {
453  const auto &hovere = ss.hcalOverEcalBc;
454  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hovere), std::end(hovere), 0.f)
455  : hovere[depth - 1];
456  }
457  }
double f[11][100]

◆ hcalOverEcalBc() [2/2]

float reco::GsfElectron::hcalOverEcalBc ( int  depth = 0) const
inline

Definition at line 458 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, hcalOverEcalBc(), and showerShape_.

Referenced by hcalOverEcalBc().

458 { return hcalOverEcalBc(showerShape_, depth); }
float hcalOverEcalBc(const ShowerShape &ss, int depth) const
Definition: GsfElectron.h:442
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ hcalOverEcalValid()

bool reco::GsfElectron::hcalOverEcalValid ( ) const
inline

◆ hcalPFClusterIso()

float reco::GsfElectron::hcalPFClusterIso ( ) const
inline

◆ hcalToRun2EffDepth()

void GsfElectron::hcalToRun2EffDepth ( )

Definition at line 243 of file GsfElectron.cc.

References dr03_, dr04_, full5x5_showerShape_, reco::GsfElectron::IsolationVariables::hcalRecHitSumEt, l1ctLayer2EG_cff::id, showerShape_, and parallelization::uint.

243  {
244  auto& ss1 = showerShape_;
245  auto& ss2 = full5x5_showerShape_;
246  auto& iv1 = dr03_;
247  auto& iv2 = dr04_;
248 
249  for (uint id = 2u; id < ss1.hcalOverEcal.size(); ++id) {
250  ss1.hcalOverEcal[1] += ss1.hcalOverEcal[id];
251  ss1.hcalOverEcalBc[1] += ss1.hcalOverEcalBc[id];
252 
253  ss1.hcalOverEcal[id] = 0.f;
254  ss1.hcalOverEcalBc[id] = 0.f;
255 
256  ss2.hcalOverEcal[1] += ss2.hcalOverEcal[id];
257  ss2.hcalOverEcalBc[1] += ss2.hcalOverEcalBc[id];
258 
259  ss2.hcalOverEcal[id] = 0.f;
260  ss2.hcalOverEcalBc[id] = 0.f;
261 
262  iv1.hcalRecHitSumEt[1] += iv1.hcalRecHitSumEt[id];
263  iv1.hcalRecHitSumEtBc[1] += iv1.hcalRecHitSumEtBc[id];
264 
265  iv1.hcalRecHitSumEt[id] = 0.f;
266  iv1.hcalRecHitSumEtBc[id] = 0.f;
267 
268  iv2.hcalRecHitSumEt[1] += iv2.hcalRecHitSumEt[id];
269  iv2.hcalRecHitSumEtBc[1] += iv2.hcalRecHitSumEtBc[id];
270 
271  iv2.hcalRecHitSumEt[id] = 0.f;
272  iv2.hcalRecHitSumEtBc[id] = 0.f;
273  }
274 }
std::array< float, 7 > hcalRecHitSumEt
Definition: GsfElectron.h:540
ShowerShape showerShape_
Definition: GsfElectron.h:504
IsolationVariables dr04_
Definition: GsfElectron.h:620
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:505
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ hcalTowersBehindClusters()

const std::vector<CaloTowerDetId>& reco::GsfElectron::hcalTowersBehindClusters ( ) const
inline

Definition at line 459 of file GsfElectron.h.

References reco::GsfElectron::ShowerShape::hcalTowersBehindClusters, and showerShape_.

459  {
461  }
ShowerShape showerShape_
Definition: GsfElectron.h:504
std::vector< CaloTowerDetId > hcalTowersBehindClusters
Definition: GsfElectron.h:374

◆ hcalTowerSumEt()

float reco::GsfElectron::hcalTowerSumEt ( const IsolationVariables iv,
int  depth 
) const
inline

Definition at line 560 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, f, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv.

Referenced by dr03HcalTowerSumEt(), and dr04HcalTowerSumEt().

560  {
561  if (iv.pre7DepthHcal) {
562  if (depth == 0)
563  return iv.hcalDepth1TowerSumEt + iv.hcalDepth2TowerSumEt;
564  else if (depth == 1)
565  return iv.hcalDepth1TowerSumEt;
566  else if (depth == 2)
567  return iv.hcalDepth2TowerSumEt;
568 
569  return 0.f;
570  } else {
571  const auto &hcaliso = iv.hcalRecHitSumEt;
572  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hcaliso), std::end(hcaliso), 0.f)
573  : hcaliso[depth - 1];
574  }
575  }
double f[11][100]

◆ hcalTowerSumEtBc()

float reco::GsfElectron::hcalTowerSumEtBc ( const IsolationVariables iv,
int  depth 
) const
inline

Definition at line 577 of file GsfElectron.h.

References hcalRecHitTable_cff::depth, f, and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::iv.

Referenced by dr03HcalTowerSumEtBc(), and dr04HcalTowerSumEtBc().

577  {
578  if (iv.pre7DepthHcal) {
579  if (depth == 0)
580  return iv.hcalDepth1TowerSumEtBc + iv.hcalDepth2TowerSumEtBc;
581  else if (depth == 1)
582  return iv.hcalDepth1TowerSumEtBc;
583  else if (depth == 2)
584  return iv.hcalDepth2TowerSumEtBc;
585 
586  return 0.f;
587  } else {
588  const auto &hcaliso = iv.hcalRecHitSumEtBc;
589  return (!(depth > 0 and depth < 8)) ? std::accumulate(std::begin(hcaliso), std::end(hcaliso), 0.f)
590  : hcaliso[depth - 1];
591  }
592  }
double f[11][100]

◆ init()

void GsfElectron::init ( void  )
private

Definition at line 10 of file GsfElectron.cc.

References ambiguous_, class_, passCutBasedPreselection_, passMvaPreslection_, passPflowPreselection_, and UNKNOWN.

Referenced by GsfElectron().

10  {
12  passPflowPreselection_ = false;
13  passMvaPreslection_ = false;
14  ambiguous_ = true;
15  class_ = UNKNOWN;
16 }
Classification class_
Definition: GsfElectron.h:820
bool passCutBasedPreselection_
Definition: GsfElectron.h:782
bool passPflowPreselection_
Definition: GsfElectron.h:783

◆ isEB()

bool reco::GsfElectron::isEB ( ) const
inline

◆ isEBEEGap()

bool reco::GsfElectron::isEBEEGap ( ) const
inline

◆ isEBEtaGap()

bool reco::GsfElectron::isEBEtaGap ( ) const
inline

◆ isEBGap()

bool reco::GsfElectron::isEBGap ( ) const
inline

Definition at line 332 of file GsfElectron.h.

References isEBEtaGap(), and isEBPhiGap().

Referenced by egHLT::OffEle::isGap(), and isGap().

332 { return (isEBEtaGap() || isEBPhiGap()); }
bool isEBPhiGap() const
Definition: GsfElectron.h:334
bool isEBEtaGap() const
Definition: GsfElectron.h:333

◆ isEBPhiGap()

bool reco::GsfElectron::isEBPhiGap ( ) const
inline

◆ isEcalEnergyCorrected()

bool reco::GsfElectron::isEcalEnergyCorrected ( ) const
inline

◆ isEE()

bool reco::GsfElectron::isEE ( ) const
inline

◆ isEEDeeGap()

bool reco::GsfElectron::isEEDeeGap ( ) const
inline

◆ isEEGap()

bool reco::GsfElectron::isEEGap ( ) const
inline

Definition at line 335 of file GsfElectron.h.

References isEEDeeGap(), and isEERingGap().

Referenced by egHLT::OffEle::isGap(), and isGap().

335 { return (isEEDeeGap() || isEERingGap()); }
bool isEERingGap() const
Definition: GsfElectron.h:337
bool isEEDeeGap() const
Definition: GsfElectron.h:336

◆ isEERingGap()

bool reco::GsfElectron::isEERingGap ( ) const
inline

◆ isElectron()

bool reco::GsfElectron::isElectron ( ) const
inlineoverridevirtual

Reimplemented from reco::LeafCandidate.

Definition at line 134 of file GsfElectron.h.

134 { return true; }

◆ isEnergyScaleCorrected()

bool reco::GsfElectron::isEnergyScaleCorrected ( ) const
inline

Definition at line 900 of file GsfElectron.h.

References isEcalEnergyCorrected().

900 { return isEcalEnergyCorrected(); }
bool isEcalEnergyCorrected() const
Definition: GsfElectron.h:881

◆ isGap()

bool reco::GsfElectron::isGap ( ) const
inline

Definition at line 330 of file GsfElectron.h.

References isEBEEGap(), isEBGap(), and isEEGap().

330 { return ((isEBEEGap()) || (isEBGap()) || (isEEGap())); }
bool isEBGap() const
Definition: GsfElectron.h:332
bool isEBEEGap() const
Definition: GsfElectron.h:331
bool isEEGap() const
Definition: GsfElectron.h:335

◆ isGsfCtfChargeConsistent()

bool reco::GsfElectron::isGsfCtfChargeConsistent ( ) const
inline

◆ isGsfCtfScPixChargeConsistent()

bool reco::GsfElectron::isGsfCtfScPixChargeConsistent ( ) const
inline

◆ isGsfScPixChargeConsistent()

bool reco::GsfElectron::isGsfScPixChargeConsistent ( ) const
inline

◆ isolationVariables03()

const IsolationVariables& reco::GsfElectron::isolationVariables03 ( ) const
inline

Definition at line 611 of file GsfElectron.h.

References dr03_.

611 { return dr03_; }
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ isolationVariables04()

const IsolationVariables& reco::GsfElectron::isolationVariables04 ( ) const
inline

Definition at line 612 of file GsfElectron.h.

References dr04_.

612 { return dr04_; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ isSeedSaturated()

float reco::GsfElectron::isSeedSaturated ( ) const
inline

◆ mva_e_pi()

float reco::GsfElectron::mva_e_pi ( ) const
inline

◆ mva_Isolated()

float reco::GsfElectron::mva_Isolated ( ) const
inline

◆ mvaInput()

const MvaInput& reco::GsfElectron::mvaInput ( ) const
inline

Definition at line 734 of file GsfElectron.h.

References mvaInput_.

734 { return mvaInput_; }
MvaInput mvaInput_
Definition: GsfElectron.h:753

◆ mvaOutput()

const MvaOutput& reco::GsfElectron::mvaOutput ( ) const
inline

Definition at line 735 of file GsfElectron.h.

References mvaOutput_.

Referenced by GEDGsfElectronFinalizer::produce().

735 { return mvaOutput_; }
MvaOutput mvaOutput_
Definition: GsfElectron.h:754

◆ nSaturatedXtals()

float reco::GsfElectron::nSaturatedXtals ( ) const
inline

◆ numberOfBrems()

int reco::GsfElectron::numberOfBrems ( ) const
inline

Definition at line 808 of file GsfElectron.h.

References basicClustersSize().

Referenced by ElectronDNNEstimator::getInputsVars().

808 { return basicClustersSize() - 1; }
int basicClustersSize() const
Definition: GsfElectron.h:295

◆ overlap()

bool GsfElectron::overlap ( const Candidate ) const
overridevirtual

check overlap with another candidate

Implements reco::RecoCandidate.

Definition at line 152 of file GsfElectron.cc.

References HltBtagPostValidation_cff::c, reco::RecoCandidate::checkOverlap(), gsfTrack(), EcalTangentSkim_cfg::o, and superCluster().

152  {
153  const RecoCandidate* o = dynamic_cast<const RecoCandidate*>(&c);
154  return (o != nullptr && (checkOverlap(gsfTrack(), o->gsfTrack()) || checkOverlap(superCluster(), o->superCluster())));
155  //?? return false;
156 }
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
Definition: GsfElectron.h:156
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:67
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ p4()

const Candidate::LorentzVector & GsfElectron::p4 ( P4Kind  kind) const

Definition at line 217 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::combinedP4, corrections_, Exception, reco::GsfElectron::Corrections::fromSuperClusterP4, CalibrationSummaryClient_cfi::kind, P4_COMBINATION, P4_FROM_SUPER_CLUSTER, P4_PFLOW_COMBINATION, and reco::GsfElectron::Corrections::pflowP4.

Referenced by ElectronMcSignalValidatorMiniAOD::analyze(), ElectronTagProbeAnalyzer::analyze(), RegressionHelper::applyCombinationRegression(), EGEtScaleSysModifier::calCombinedMom(), ElectronEnergyCalibrator::calCombinedMom(), ElectronTagProbeAnalyzer::computeInvMass(), ElectronAnalyzer::computeInvMass(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), pat::PATElectronProducer::fillElectron2(), EwkElecTauHistManager::fillHistograms(), EGRegressionModifierV2::modifyObject(), EGRegressionModifierV1::modifyObject(), EGEtScaleSysModifier::modifyObject(), EGRegressionModifierV3::modifyObject(), TtSemiLRJetCombObservables::operator()(), Calculate_miniAOD::operator()(), egHLT::OffEle::p4(), Lepton.Lepton::p4WithFSR(), RegressionEnergyPatElectronProducer::produce(), SoftPFElectronTagInfoProducer::produce(), ElectronEnergyCalibrator::setEnergyAndSystVarations(), and TtSemiEvtSolution::setupHyp().

217  {
218  switch (kind) {
221  case P4_COMBINATION:
222  return corrections_.combinedP4;
224  return corrections_.pflowP4;
225  default:
226  throw cms::Exception("GsfElectron") << "unexpected p4 kind: " << kind;
227  }
228 }
Corrections corrections_
Definition: GsfElectron.h:912

◆ p4Error()

float GsfElectron::p4Error ( P4Kind  kind) const

Definition at line 230 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::combinedP4Error, corrections_, Exception, reco::GsfElectron::Corrections::fromSuperClusterP4Error, CalibrationSummaryClient_cfi::kind, P4_COMBINATION, P4_FROM_SUPER_CLUSTER, P4_PFLOW_COMBINATION, and reco::GsfElectron::Corrections::pflowP4Error.

Referenced by ElectronMcSignalValidator::analyze(), EGEtScaleSysModifier::calCombinedMom(), ElectronEnergyCalibrator::calCombinedMom(), correctMomentum(), EGEtScaleSysModifier::modifyObject(), and Electron.Electron::ptErr().

◆ parentSuperCluster()

virtual SuperClusterRef reco::GsfElectron::parentSuperCluster ( ) const
inlinevirtual

Reimplemented in pat::Electron.

Definition at line 160 of file GsfElectron.h.

References core().

Referenced by ElectronMcSignalValidator::analyze(), ElectronMcFakeValidator::analyze(), and PFElectronTranslator::createGsfElectrons().

160 { return core()->parentSuperCluster(); }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8

◆ passingCutBasedPreselection()

bool reco::GsfElectron::passingCutBasedPreselection ( ) const
inline

◆ passingMvaPreselection()

bool reco::GsfElectron::passingMvaPreselection ( ) const
inline

◆ passingPflowPreselection()

bool reco::GsfElectron::passingPflowPreselection ( ) const
inline

Definition at line 764 of file GsfElectron.h.

References passPflowPreselection_.

Referenced by GsfElectronProducer::isPreselected().

764 { return passPflowPreselection_; }
bool passPflowPreselection_
Definition: GsfElectron.h:783

◆ pfIsolationVariables()

const PflowIsolationVariables& reco::GsfElectron::pfIsolationVariables ( ) const
inline

◆ pixelMatchDPhi1()

float reco::GsfElectron::pixelMatchDPhi1 ( ) const
inline

Definition at line 937 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dPhi1, and pixelMatchVariables_.

937 { return pixelMatchVariables_.dPhi1; }
float dPhi1
Pixel match variable: deltaPhi for innermost hit.
Definition: GsfElectron.h:917
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943

◆ pixelMatchDPhi2()

float reco::GsfElectron::pixelMatchDPhi2 ( ) const
inline

Definition at line 938 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dPhi2, and pixelMatchVariables_.

938 { return pixelMatchVariables_.dPhi2; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
float dPhi2
Pixel match variable: deltaPhi for second hit.
Definition: GsfElectron.h:919

◆ pixelMatchDRz1()

float reco::GsfElectron::pixelMatchDRz1 ( ) const
inline

Definition at line 939 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dRz1, and pixelMatchVariables_.

939 { return pixelMatchVariables_.dRz1; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
float dRz1
Pixel match variable: deltaRz for innermost hit.
Definition: GsfElectron.h:921

◆ pixelMatchDRz2()

float reco::GsfElectron::pixelMatchDRz2 ( ) const
inline

Definition at line 940 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dRz2, and pixelMatchVariables_.

940 { return pixelMatchVariables_.dRz2; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
float dRz2
Pixel match variable: deltaRz for second hit.
Definition: GsfElectron.h:923

◆ pixelMatchSubdetector1()

int reco::GsfElectron::pixelMatchSubdetector1 ( ) const
inline

Definition at line 935 of file GsfElectron.h.

References pixelMatchVariables_, and reco::GsfElectron::PixelMatchVariables::subdetectors.

935 { return pixelMatchVariables_.subdetectors / 10; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:925
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943

◆ pixelMatchSubdetector2()

int reco::GsfElectron::pixelMatchSubdetector2 ( ) const
inline

Definition at line 936 of file GsfElectron.h.

References pixelMatchVariables_, and reco::GsfElectron::PixelMatchVariables::subdetectors.

936 { return pixelMatchVariables_.subdetectors % 10; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:925
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943

◆ r9()

float reco::GsfElectron::r9 ( ) const
inline

◆ saturationInfo()

const SaturationInfo& reco::GsfElectron::saturationInfo ( ) const
inline

Definition at line 521 of file GsfElectron.h.

References saturationInfo_.

521 { return saturationInfo_; }
SaturationInfo saturationInfo_
Definition: GsfElectron.h:525

◆ scE1x5()

float reco::GsfElectron::scE1x5 ( ) const
inline

Definition at line 497 of file GsfElectron.h.

References e1x5().

Referenced by ElectronMcSignalValidator::analyze(), and ElectronMcFakeValidator::analyze().

497 { return e1x5(); }
float e1x5() const
Definition: GsfElectron.h:421

◆ scE2x5Max()

float reco::GsfElectron::scE2x5Max ( ) const
inline

Definition at line 498 of file GsfElectron.h.

References e2x5Max().

Referenced by ElectronMcSignalValidator::analyze(), and ElectronMcFakeValidator::analyze().

498 { return e2x5Max(); }
float e2x5Max() const
Definition: GsfElectron.h:422

◆ scE5x5()

float reco::GsfElectron::scE5x5 ( ) const
inline

Definition at line 499 of file GsfElectron.h.

References e5x5().

Referenced by ElectronMcSignalValidator::analyze(), and ElectronMcFakeValidator::analyze().

499 { return e5x5(); }
float e5x5() const
Definition: GsfElectron.h:423

◆ scPixCharge()

int reco::GsfElectron::scPixCharge ( ) const
inline

◆ scSigmaEtaEta()

float reco::GsfElectron::scSigmaEtaEta ( ) const
inline

Definition at line 495 of file GsfElectron.h.

References sigmaEtaEta().

Referenced by ElectronTagProbeAnalyzer::analyze(), and ElectronMcSignalValidator::analyze().

495 { return sigmaEtaEta(); }
float sigmaEtaEta() const
Definition: GsfElectron.h:418

◆ scSigmaIEtaIEta()

float reco::GsfElectron::scSigmaIEtaIEta ( ) const
inline

◆ setAmbiguous()

void reco::GsfElectron::setAmbiguous ( bool  flag)
inline

Definition at line 772 of file GsfElectron.h.

References ambiguous_, and RemoveAddSevLevel::flag.

◆ setClassification()

void reco::GsfElectron::setClassification ( Classification  myclass)
inline

Definition at line 815 of file GsfElectron.h.

References class_.

815 { class_ = myclass; }
Classification class_
Definition: GsfElectron.h:820

◆ setClassificationVariables()

void reco::GsfElectron::setClassificationVariables ( const ClassificationVariables cv)
inline

Definition at line 814 of file GsfElectron.h.

References classVariables_, and cuy::cv.

814 { classVariables_ = cv; }
cv
Definition: cuy.py:363
ClassificationVariables classVariables_
Definition: GsfElectron.h:819

◆ setConversionRejectionVariables()

void reco::GsfElectron::setConversionRejectionVariables ( const ConversionRejection convRej)
inline

Definition at line 650 of file GsfElectron.h.

References conversionRejection_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

650 { conversionRejection_ = convRej; }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:654

◆ setCore()

void reco::GsfElectron::setCore ( const reco::GsfElectronCoreRef core)
inline

Definition at line 152 of file GsfElectron.h.

References core(), and core_.

Referenced by ReducedEGProducer::relinkGsfElectronCore().

152 { core_ = core; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
GsfElectronCoreRef core_
Definition: GsfElectron.h:187

◆ setCorrectedEcalEnergy() [1/2]

void GsfElectron::setCorrectedEcalEnergy ( float  newEnergy)

◆ setCorrectedEcalEnergy() [2/2]

void GsfElectron::setCorrectedEcalEnergy ( float  newEnergy,
bool  rescaleDependentValues 
)

Definition at line 176 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::correctedEcalEnergy, reco::GsfElectron::Corrections::correctedEcalEnergyError, corrections_, reco::GsfElectron::TrackClusterMatching::eSuperClusterOverP, reco::GsfElectron::ShowerShape::hcalOverEcal, reco::GsfElectron::ShowerShape::hcalOverEcalBc, l1ctLayer2EG_cff::id, reco::GsfElectron::Corrections::isEcalEnergyCorrected, reco::LeafCandidate::momentum(), reco::LeafCandidate::p4(), setP4(), showerShape_, and trackClusterMatching_.

176  {
178  momentum *= newEnergy / momentum.e();
179  setP4(momentum);
180  if (corrections_.correctedEcalEnergy > 0. && rescaleDependentValues) {
181  for (size_t id = 0; id < showerShape_.hcalOverEcal.size(); ++id) {
184  }
187  }
188  corrections_.correctedEcalEnergy = newEnergy;
190 }
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:194
Vector momentum() const final
spatial momentum vector
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
Corrections corrections_
Definition: GsfElectron.h:912
const LorentzVector & p4() const final
four-momentum Lorentz vector
std::array< float, 7 > hcalOverEcal
Definition: GsfElectron.h:371
ShowerShape showerShape_
Definition: GsfElectron.h:504
std::array< float, 7 > hcalOverEcalBc
Definition: GsfElectron.h:373
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245

◆ setCorrectedEcalEnergyError()

void GsfElectron::setCorrectedEcalEnergyError ( float  newEnergyError)

◆ setCorrections()

void reco::GsfElectron::setCorrections ( const Corrections c)
inline

◆ setDeltaEtaSuperClusterAtVtx()

void reco::GsfElectron::setDeltaEtaSuperClusterAtVtx ( float  de)
inline

◆ setDeltaPhiSuperClusterAtVtx()

void reco::GsfElectron::setDeltaPhiSuperClusterAtVtx ( float  dphi)
inline

◆ setDr03Isolation()

void reco::GsfElectron::setDr03Isolation ( const IsolationVariables dr03)
inline

Definition at line 605 of file GsfElectron.h.

References dr03_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

605 { dr03_ = dr03; }
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ setDr04Isolation()

void reco::GsfElectron::setDr04Isolation ( const IsolationVariables dr04)
inline

Definition at line 606 of file GsfElectron.h.

References dr04_.

Referenced by EG9X105XObjectUpdateModifier::modifyObject().

606 { dr04_ = dr04; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ setEcalEnergyError()

void reco::GsfElectron::setEcalEnergyError ( float  energyError)
inline

Definition at line 895 of file GsfElectron.h.

References setCorrectedEcalEnergyError().

Referenced by correctEcalEnergy().

895 { setCorrectedEcalEnergyError(energyError); }
void setCorrectedEcalEnergyError(float newEnergyError)
Definition: GsfElectron.cc:170

◆ setFFlagIsEB()

void reco::GsfElectron::setFFlagIsEB ( const bool  b)
inline

Definition at line 341 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEB.

341 { fiducialFlags_.isEB = b; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setFFlagIsEBEEGap()

void reco::GsfElectron::setFFlagIsEBEEGap ( const bool  b)
inline

Definition at line 343 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEBEEGap.

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setFFlagIsEBEtaGap()

void reco::GsfElectron::setFFlagIsEBEtaGap ( const bool  b)
inline

Definition at line 344 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEBEtaGap.

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setFFlagIsEBPhiGap()

void reco::GsfElectron::setFFlagIsEBPhiGap ( const bool  b)
inline

Definition at line 345 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEBPhiGap.

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setFFlagIsEE()

void reco::GsfElectron::setFFlagIsEE ( const bool  b)
inline

Definition at line 342 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEE.

342 { fiducialFlags_.isEE = b; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setFFlagIsEEDeeGap()

void reco::GsfElectron::setFFlagIsEEDeeGap ( const bool  b)
inline

Definition at line 346 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEEDeeGap.

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setFFlagIsEERingGap()

void reco::GsfElectron::setFFlagIsEERingGap ( const bool  b)
inline

Definition at line 347 of file GsfElectron.h.

References b, fiducialFlags_, and reco::GsfElectron::FiducialFlags::isEERingGap.

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:351
double b
Definition: hdecay.h:120

◆ setIsolation03()

void reco::GsfElectron::setIsolation03 ( const IsolationVariables dr03)
inline

Definition at line 609 of file GsfElectron.h.

References dr03_.

609 { dr03_ = dr03; }
IsolationVariables dr03_
Definition: GsfElectron.h:619

◆ setIsolation04()

void reco::GsfElectron::setIsolation04 ( const IsolationVariables dr04)
inline

Definition at line 610 of file GsfElectron.h.

References dr04_.

610 { dr04_ = dr04; }
IsolationVariables dr04_
Definition: GsfElectron.h:620

◆ setMvaInput()

void reco::GsfElectron::setMvaInput ( const MvaInput mi)
inline

Definition at line 739 of file GsfElectron.h.

References mvaInput_.

Referenced by PFElectronTranslator::createGsfElectrons().

739 { mvaInput_ = mi; }
MvaInput mvaInput_
Definition: GsfElectron.h:753

◆ setMvaOutput()

void reco::GsfElectron::setMvaOutput ( const MvaOutput mo)
inline

Definition at line 740 of file GsfElectron.h.

References mvaOutput_.

Referenced by PFElectronTranslator::createGsfElectrons(), and GEDGsfElectronFinalizer::produce().

740 { mvaOutput_ = mo; }
MvaOutput mvaOutput_
Definition: GsfElectron.h:754

◆ setP4()

void GsfElectron::setP4 ( P4Kind  kind,
const LorentzVector p4,
float  p4Error,
bool  setCandidate 
)

Definition at line 194 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::candidateP4Kind, reco::GsfElectron::Corrections::combinedP4, reco::GsfElectron::Corrections::combinedP4Error, corrections_, relativeConstraints::error, Exception, reco::GsfElectron::Corrections::fromSuperClusterP4, reco::GsfElectron::Corrections::fromSuperClusterP4Error, CalibrationSummaryClient_cfi::kind, reco::LeafCandidate::p4(), P4_COMBINATION, P4_FROM_SUPER_CLUSTER, P4_PFLOW_COMBINATION, reco::GsfElectron::Corrections::pflowP4, and reco::GsfElectron::Corrections::pflowP4Error.

Referenced by RegressionHelper::applyCombinationRegression(), correctMomentum(), PFElectronTranslator::createGsfElectrons(), pat::PATElectronProducer::fillElectron2(), ElectronRecalibSuperClusterAssociator::produce(), setCorrectedEcalEnergy(), and Jet.Jet::setCorrP4().

194  {
195  switch (kind) {
199  break;
200  case P4_COMBINATION:
203  break;
207  break;
208  default:
209  throw cms::Exception("GsfElectron") << "unexpected p4 kind: " << kind;
210  }
211  if (setCandidate) {
212  setP4(p4);
214  }
215 }
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:194
Corrections corrections_
Definition: GsfElectron.h:912
const LorentzVector & p4() const final
four-momentum Lorentz vector

◆ setPassCutBasedPreselection()

void reco::GsfElectron::setPassCutBasedPreselection ( bool  flag)
inline

◆ setPassMvaPreselection()

void reco::GsfElectron::setPassMvaPreselection ( bool  flag)
inline

◆ setPassPflowPreselection()

void reco::GsfElectron::setPassPflowPreselection ( bool  flag)
inline

◆ setPfIsolationVariables()

void reco::GsfElectron::setPfIsolationVariables ( const PflowIsolationVariables iso)
inline

◆ setPixelMatchDPhi1()

void reco::GsfElectron::setPixelMatchDPhi1 ( float  dPhi1)
inline

Definition at line 930 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dPhi1, and pixelMatchVariables_.

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

930 { pixelMatchVariables_.dPhi1 = dPhi1; }
float dPhi1
Pixel match variable: deltaPhi for innermost hit.
Definition: GsfElectron.h:917
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943

◆ setPixelMatchDPhi2()

void reco::GsfElectron::setPixelMatchDPhi2 ( float  dPhi2)
inline

Definition at line 931 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dPhi2, and pixelMatchVariables_.

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

931 { pixelMatchVariables_.dPhi2 = dPhi2; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
float dPhi2
Pixel match variable: deltaPhi for second hit.
Definition: GsfElectron.h:919

◆ setPixelMatchDRz1()

void reco::GsfElectron::setPixelMatchDRz1 ( float  dRz1)
inline

Definition at line 932 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dRz1, and pixelMatchVariables_.

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

932 { pixelMatchVariables_.dRz1 = dRz1; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
float dRz1
Pixel match variable: deltaRz for innermost hit.
Definition: GsfElectron.h:921

◆ setPixelMatchDRz2()

void reco::GsfElectron::setPixelMatchDRz2 ( float  dRz2)
inline

Definition at line 933 of file GsfElectron.h.

References reco::GsfElectron::PixelMatchVariables::dRz2, and pixelMatchVariables_.

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

933 { pixelMatchVariables_.dRz2 = dRz2; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943
float dRz2
Pixel match variable: deltaRz for second hit.
Definition: GsfElectron.h:923

◆ setPixelMatchSubdetectors()

void reco::GsfElectron::setPixelMatchSubdetectors ( int  sd1,
int  sd2 
)
inline

Definition at line 929 of file GsfElectron.h.

References pixelMatchVariables_, and reco::GsfElectron::PixelMatchVariables::subdetectors.

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

929 { pixelMatchVariables_.subdetectors = 10 * sd1 + sd2; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:925
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:943

◆ setSaturationInfo()

void reco::GsfElectron::setSaturationInfo ( const SaturationInfo s)
inline

Definition at line 522 of file GsfElectron.h.

References alignCSCRings::s, and saturationInfo_.

Referenced by EG8XObjectUpdateModifier::modifyObject().

522 { saturationInfo_ = s; }
SaturationInfo saturationInfo_
Definition: GsfElectron.h:525

◆ setShowerShape()

void reco::GsfElectron::setShowerShape ( const ShowerShape s)
inline

Definition at line 491 of file GsfElectron.h.

References alignCSCRings::s, and showerShape_.

Referenced by EG8XObjectUpdateModifier::modifyObject().

491 { showerShape_ = s; }
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ setSuperClusterFbrem()

void reco::GsfElectron::setSuperClusterFbrem ( float  fbrem)
inline

◆ setTrackExtrapolations()

void reco::GsfElectron::setTrackExtrapolations ( const TrackExtrapolations te)
inline

Definition at line 278 of file GsfElectron.h.

References trackExtrapolations_.

278 { trackExtrapolations_ = te; }
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286

◆ setTrackFbrem()

void reco::GsfElectron::setTrackFbrem ( float  fbrem)
inline

◆ setTrackMomentumError()

void GsfElectron::setTrackMomentumError ( float  trackMomentumError)

Definition at line 192 of file GsfElectron.cc.

References corrections_, and reco::GsfElectron::Corrections::trackMomentumError.

Referenced by correctMomentum().

192 { corrections_.trackMomentumError = trackErr; }
Corrections corrections_
Definition: GsfElectron.h:912

◆ shFracInnerHits()

float reco::GsfElectron::shFracInnerHits ( ) const
inline

Definition at line 179 of file GsfElectron.h.

References core().

Referenced by lowptgsfeleid::features_V0(), and lowptgsfeleid::features_V1().

179 { return core()->ctfGsfOverlap(); }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8

◆ showerShape()

const ShowerShape& reco::GsfElectron::showerShape ( ) const
inline

Definition at line 467 of file GsfElectron.h.

References showerShape_.

Referenced by EGRegressionModifierV1::modifyObject(), and EG8XObjectUpdateModifier::modifyObject().

467 { return showerShape_; }
ShowerShape showerShape_
Definition: GsfElectron.h:504

◆ sigmaEtaEta()

float reco::GsfElectron::sigmaEtaEta ( ) const
inline

◆ sigmaIetaIeta()

float reco::GsfElectron::sigmaIetaIeta ( ) const
inline

◆ sigmaIphiIphi()

float reco::GsfElectron::sigmaIphiIphi ( ) const
inline

◆ superCluster()

SuperClusterRef reco::GsfElectron::superCluster ( ) const
inlineoverridevirtual

reference to a SuperCluster

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Electron.

Definition at line 155 of file GsfElectron.h.

References core().

Referenced by ZIterativeAlgorithmWithFit::addEvent(), ElectronTagProbeAnalyzer::analyze(), ElectronMcSignalValidator::analyze(), ElectronMcFakeValidator::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), EgammaObjects::analyzeElectrons(), RegressionHelper::applyEcalRegression(), basicClustersBegin(), basicClustersEnd(), basicClustersSize(), FWElectronDetailView::build(), ElectronEnergyCalibrator::calibrate(), caloPosition(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), EpCombinationTool::combine(), deltaEtaSeedClusterTrackAtVtx(), ElectronIdentifier::dEtaInSeed(), egHLT::OffEle::etaSC(), egHLT::OffEle::etSC(), lowptgsfeleid::features_V1(), egHLT::OffHelper::fillClusShapeData(), ZeeCalibration::fillEleInfo(), egHLT::OffHelper::fillHLTData(), calib::CalibElectron::getCalibModulesWeights(), ZeeCalibration::getEtaCorrection(), ElectronDNNEstimator::getInputsVars(), EGRegressionModifierV3::getRegData(), ZIterativeAlgorithmWithFit::getWeight(), GsfElectron(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), ElectronPFIsolationWithConeVeto::isInIsolationCone(), ElectronIdentifier::isolation(), EGammaMvaEleEstimator::isoMvaValue(), EGRegressionModifierV2::modifyObject(), EGRegressionModifierV1::modifyObject(), EG8XObjectUpdateModifier::modifyObject(), EG9X105XObjectUpdateModifier::modifyObject(), EGRegressionModifierV3::modifyObject(), SoftElectronMVAEstimator::mva(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), ElectronHEEPIDValueMapProducer::nrSaturatedCrysIn5x5(), EleEnergyRetriever::operator()(), ZElectronsSelector::operator()(), overlap(), EgammaCutBasedEleId::PassEoverPCuts(), ElectronIdentifier::passID(), DiElectronVertexValidation::passLooseSelection(), egHLT::OffEle::phiSC(), GsfElectronAlgo::setCutBasedPreselectionFlag(), superClusterPosition(), EgammaCutBasedEleId::TestWP(), GsfEleSCMaxAbsEtaCut::value(), GsfEleRelPFIsoScaledCut::value(), GsfEleEffAreaPFIsoCut::value(), GsfEleHadronicOverEMLinearCut::value(), GsfEleCalPFClusterIsoCut::value(), and GsfEleSCEtaMultiRangeCut::value().

155 { return core()->superCluster(); }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8

◆ superClusterFbrem()

float reco::GsfElectron::superClusterFbrem ( ) const
inline

◆ superClusterPosition()

math::XYZPoint reco::GsfElectron::superClusterPosition ( ) const
inline

Definition at line 294 of file GsfElectron.h.

References superCluster().

294 { return superCluster()->position(); } // the super cluster position
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:155

◆ trackClusterMatching()

const TrackClusterMatching& reco::GsfElectron::trackClusterMatching ( ) const
inline

Definition at line 237 of file GsfElectron.h.

References trackClusterMatching_.

237 { return trackClusterMatching_; }
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:245

◆ trackerDrivenSeed()

bool reco::GsfElectron::trackerDrivenSeed ( ) const
inline

◆ trackExtrapolations()

const TrackExtrapolations& reco::GsfElectron::trackExtrapolations ( ) const
inline

Definition at line 275 of file GsfElectron.h.

References trackExtrapolations_.

275 { return trackExtrapolations_; }
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286

◆ trackFbrem()

float reco::GsfElectron::trackFbrem ( ) const
inline

Definition at line 802 of file GsfElectron.h.

References classVariables_, and reco::GsfElectron::ClassificationVariables::trackFbrem.

Referenced by fbrem().

802 { return classVariables_.trackFbrem; }
ClassificationVariables classVariables_
Definition: GsfElectron.h:819

◆ trackMomentumAtCalo()

math::XYZVectorF reco::GsfElectron::trackMomentumAtCalo ( ) const
inline

◆ trackMomentumAtEleClus()

math::XYZVectorF reco::GsfElectron::trackMomentumAtEleClus ( ) const
inline

◆ trackMomentumAtVtx()

math::XYZVectorF reco::GsfElectron::trackMomentumAtVtx ( ) const
inline

◆ trackMomentumAtVtxWithConstraint()

math::XYZVectorF reco::GsfElectron::trackMomentumAtVtxWithConstraint ( ) const
inline

◆ trackMomentumError()

float reco::GsfElectron::trackMomentumError ( ) const
inline

◆ trackMomentumOut()

math::XYZVectorF reco::GsfElectron::trackMomentumOut ( ) const
inline

◆ trackPositionAtCalo()

math::XYZPointF reco::GsfElectron::trackPositionAtCalo ( ) const
inline

◆ TrackPositionAtCalo()

math::XYZPointF reco::GsfElectron::TrackPositionAtCalo ( ) const
inline

Definition at line 282 of file GsfElectron.h.

References trackPositionAtCalo().

282 { return trackPositionAtCalo(); }
math::XYZPointF trackPositionAtCalo() const
Definition: GsfElectron.h:267

◆ trackPositionAtVtx()

math::XYZPointF reco::GsfElectron::trackPositionAtVtx ( ) const
inline

Definition at line 266 of file GsfElectron.h.

References reco::GsfElectron::TrackExtrapolations::positionAtVtx, and trackExtrapolations_.

Referenced by TrackPositionAtVtx().

TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:286

◆ TrackPositionAtVtx()

math::XYZPointF reco::GsfElectron::TrackPositionAtVtx ( ) const
inline

Definition at line 281 of file GsfElectron.h.

References trackPositionAtVtx().

Referenced by egHLT::OffEle::zVtx().

281 { return trackPositionAtVtx(); }
math::XYZPointF trackPositionAtVtx() const
Definition: GsfElectron.h:266

Member Data Documentation

◆ ambiguous_

bool reco::GsfElectron::ambiguous_
private

Definition at line 785 of file GsfElectron.h.

Referenced by ambiguous(), init(), and setAmbiguous().

◆ ambiguousGsfTracks_

GsfTrackRefVector reco::GsfElectron::ambiguousGsfTracks_
private

◆ chargeInfo_

ChargeInfo reco::GsfElectron::chargeInfo_
private

◆ class_

Classification reco::GsfElectron::class_
private

Definition at line 820 of file GsfElectron.h.

Referenced by classification(), init(), and setClassification().

◆ classVariables_

ClassificationVariables reco::GsfElectron::classVariables_
private

◆ conversionRejection_

ConversionRejection reco::GsfElectron::conversionRejection_
private

◆ core_

GsfElectronCoreRef reco::GsfElectron::core_
private

Definition at line 187 of file GsfElectron.h.

Referenced by core(), and setCore().

◆ corrections_

Corrections reco::GsfElectron::corrections_
private

◆ dr03_

IsolationVariables reco::GsfElectron::dr03_
private

◆ dr04_

IsolationVariables reco::GsfElectron::dr04_
private

◆ fiducialFlags_

FiducialFlags reco::GsfElectron::fiducialFlags_
private

◆ full5x5_showerShape_

ShowerShape reco::GsfElectron::full5x5_showerShape_
private

◆ mvaInput_

MvaInput reco::GsfElectron::mvaInput_
private

Definition at line 753 of file GsfElectron.h.

Referenced by mvaInput(), and setMvaInput().

◆ mvaOutput_

MvaOutput reco::GsfElectron::mvaOutput_
private

◆ mvaPlaceholder

constexpr float reco::GsfElectron::mvaPlaceholder = -999999999.
static

Definition at line 704 of file GsfElectron.h.

◆ passCutBasedPreselection_

bool reco::GsfElectron::passCutBasedPreselection_
private

Definition at line 782 of file GsfElectron.h.

Referenced by init(), passingCutBasedPreselection(), and setPassCutBasedPreselection().

◆ passMvaPreslection_

bool reco::GsfElectron::passMvaPreslection_
private

Definition at line 784 of file GsfElectron.h.

Referenced by init(), passingMvaPreselection(), and setPassMvaPreselection().

◆ passPflowPreselection_

bool reco::GsfElectron::passPflowPreselection_
private

Definition at line 783 of file GsfElectron.h.

Referenced by init(), passingPflowPreselection(), and setPassPflowPreselection().

◆ pfIso_

PflowIsolationVariables reco::GsfElectron::pfIso_
private

◆ pixelMatchVariables_

PixelMatchVariables reco::GsfElectron::pixelMatchVariables_
private

◆ saturationInfo_

SaturationInfo reco::GsfElectron::saturationInfo_
private

Definition at line 525 of file GsfElectron.h.

Referenced by isSeedSaturated(), nSaturatedXtals(), saturationInfo(), and setSaturationInfo().

◆ showerShape_

ShowerShape reco::GsfElectron::showerShape_
private

◆ trackClusterMatching_

TrackClusterMatching reco::GsfElectron::trackClusterMatching_
private

◆ trackExtrapolations_

TrackExtrapolations reco::GsfElectron::trackExtrapolations_
private