CMS 3D CMS Logo

List of all members | Classes | Public Types | Public Member Functions | 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
 
GsfTrackRefVector::const_iterator ambiguousGsfTracksBegin () const
 
GsfTrackRefVector::const_iterator ambiguousGsfTracksEnd () 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
 
ClosestCtfTrack closestCtfTrack () const
 
TrackRef closestCtfTrackRef () const
 
virtual TrackRef closestTrack () const
 
float convDcot () const
 
float convDist () const
 
const ConversionRejectionconversionRejectionVariables () const
 
int convFlags () const
 
TrackBaseRef convPartner () const
 
float convRadius () const
 
virtual GsfElectronCoreRef core () const
 
void correctEcalEnergy (float newEnergy, float newEnergyError)
 
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 dr03EcalRecHitSumEt () const
 
float dr03HcalDepth1TowerSumEt () const
 
float dr03HcalDepth1TowerSumEtBc () const
 
float dr03HcalDepth2TowerSumEt () const
 
float dr03HcalDepth2TowerSumEtBc () const
 
float dr03HcalTowerSumEt () const
 
float dr03HcalTowerSumEtBc () const
 
const IsolationVariablesdr03IsolationVariables () const
 
float dr03TkSumPt () const
 
float dr04EcalRecHitSumEt () const
 
float dr04HcalDepth1TowerSumEt () const
 
float dr04HcalDepth1TowerSumEtBc () const
 
float dr04HcalDepth2TowerSumEt () const
 
float dr04HcalDepth2TowerSumEtBc () const
 
float dr04HcalTowerSumEt () const
 
float dr04HcalTowerSumEtBc () const
 
const IsolationVariablesdr04IsolationVariables () const
 
float dr04TkSumPt () 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 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_hcalDepth1OverEcal () const
 
float full5x5_hcalDepth1OverEcalBc () const
 
float full5x5_hcalDepth2OverEcal () const
 
float full5x5_hcalDepth2OverEcalBc () const
 
float full5x5_hcalOverEcal () const
 
float full5x5_hcalOverEcalBc () 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 hadronicOverEm1 () const
 
float hadronicOverEm2 () const
 
float hcalDepth1OverEcal () const
 
float hcalDepth1OverEcalBc () const
 
float hcalDepth2OverEcal () const
 
float hcalDepth2OverEcalBc () const
 
float hcalOverEcal () const
 
float hcalOverEcalBc () const
 
const std::vector< CaloTowerDetId > & hcalTowersBehindClusters () 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
 
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 setCore (const reco::GsfElectronCoreRef &core)
 
void setCorrectedEcalEnergy (float newEnergy)
 
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...
 

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 37 of file GsfElectron.h.

Member Enumeration Documentation

Enumerator
UNKNOWN 
GOLDEN 
BIGBREM 
BADTRACK 
SHOWERING 
GAP 

Definition at line 740 of file GsfElectron.h.

Enumerator
P4_UNKNOWN 
P4_FROM_SUPER_CLUSTER 
P4_COMBINATION 
P4_PFLOW_COMBINATION 

Definition at line 788 of file GsfElectron.h.

Constructor & Destructor Documentation

GsfElectron::GsfElectron ( )

Definition at line 19 of file GsfElectron.cc.

References init().

Referenced by clone(), and GsfElectron().

20  { init() ; }
GsfElectron::GsfElectron ( const GsfElectronCoreRef core)

Definition at line 22 of file GsfElectron.cc.

References GsfElectron(), and init().

23  : core_(core)
24  { init() ; }
GsfElectronCoreRef core_
Definition: GsfElectron.h:207
GsfElectron::GsfElectron ( const GsfElectron electron,
const GsfElectronCoreRef core 
)

Definition at line 73 of file GsfElectron.cc.

References GsfElectron().

75  : RecoCandidate(electron),
76  chargeInfo_(electron.chargeInfo_),
77  core_(core),
80  //closestCtfTrack_(electron.closestCtfTrack_),
82  showerShape_(electron.showerShape_),
85  dr03_(electron.dr03_), dr04_(electron.dr04_),
87  pfIso_(electron.pfIso_),
88  mvaInput_(electron.mvaInput_),
89  mvaOutput_(electron.mvaOutput_),
93  ambiguous_(electron.ambiguous_),
96  class_(electron.class_),
97  corrections_(electron.corrections_),
99  {
100  //assert(electron.core()->ctfTrack()==core->ctfTrack()) ;
101  //assert(electron.core()->ctfGsfOverlap()==core->ctfGsfOverlap()) ;
102  }
MvaInput mvaInput_
Definition: GsfElectron.h:686
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
Classification class_
Definition: GsfElectron.h:762
ConversionRejection conversionRejection_
Definition: GsfElectron.h:613
Corrections corrections_
Definition: GsfElectron.h:854
SaturationInfo saturationInfo_
Definition: GsfElectron.h:519
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:723
ChargeInfo chargeInfo_
Definition: GsfElectron.h:166
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:685
MvaOutput mvaOutput_
Definition: GsfElectron.h:687
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
ShowerShape showerShape_
Definition: GsfElectron.h:495
IsolationVariables dr04_
Definition: GsfElectron.h:578
ClassificationVariables classVariables_
Definition: GsfElectron.h:761
GsfElectronCoreRef core_
Definition: GsfElectron.h:207
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:496
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
bool passCutBasedPreselection_
Definition: GsfElectron.h:719
IsolationVariables dr03_
Definition: GsfElectron.h:577
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
bool passPflowPreselection_
Definition: GsfElectron.h:720
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_.

111  : RecoCandidate(electron),
112  chargeInfo_(electron.chargeInfo_),
113  core_(core),
116  //closestCtfTrack_(electron.closestCtfTrack_),
117  fiducialFlags_(electron.fiducialFlags_),
118  showerShape_(electron.showerShape_),
121  dr03_(electron.dr03_), dr04_(electron.dr04_),
123  pfIso_(electron.pfIso_),
124  mvaInput_(electron.mvaInput_),
125  mvaOutput_(electron.mvaOutput_),
129  ambiguous_(electron.ambiguous_),
130  ambiguousGsfTracks_(ambiguousTracks),
131  //mva_(electron.mva_),
133  class_(electron.class_),
134  corrections_(electron.corrections_),
136  {
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  }
CaloClusterPtr electronCluster() const
Definition: GsfElectron.h:244
MvaInput mvaInput_
Definition: GsfElectron.h:686
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
Classification class_
Definition: GsfElectron.h:762
ConversionRejection conversionRejection_
Definition: GsfElectron.h:613
Corrections corrections_
Definition: GsfElectron.h:854
SaturationInfo saturationInfo_
Definition: GsfElectron.h:519
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:723
ChargeInfo chargeInfo_
Definition: GsfElectron.h:166
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:685
MvaOutput mvaOutput_
Definition: GsfElectron.h:687
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
ShowerShape showerShape_
Definition: GsfElectron.h:495
IsolationVariables dr04_
Definition: GsfElectron.h:578
ClassificationVariables classVariables_
Definition: GsfElectron.h:761
GsfElectronCoreRef core_
Definition: GsfElectron.h:207
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:496
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
bool passCutBasedPreselection_
Definition: GsfElectron.h:719
IsolationVariables dr03_
Definition: GsfElectron.h:577
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
bool passPflowPreselection_
Definition: GsfElectron.h:720
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 27 of file GsfElectron.cc.

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

35  core_(core),
37  //closestCtfTrack_(ctfInfo),
39  {
40  init() ;
41  setCharge(charge) ;
42  setVertex(math::XYZPoint(te.positionAtVtx.x(),te.positionAtVtx.y(),te.positionAtVtx.z())) ;
43  setPdgId(-11*charge) ;
44  /*if (ecalDrivenSeed())*/ corrections_.correctedEcalEnergy = superCluster()->energy() ;
45  // assert(ctfInfo.ctfTrack==(GsfElectron::core()->ctfTrack())) ;
46  // assert(ctfInfo.shFracInnerHits==(GsfElectron::core()->ctfGsfOverlap())) ;
47  }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:613
Corrections corrections_
Definition: GsfElectron.h:854
int charge() const final
electric charge
Definition: LeafCandidate.h:91
ChargeInfo chargeInfo_
Definition: GsfElectron.h:166
void setVertex(const Point &vertex) override
set vertex
void setCharge(Charge q) final
set electric charge
Definition: LeafCandidate.h:93
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
ShowerShape showerShape_
Definition: GsfElectron.h:495
GsfElectronCoreRef core_
Definition: GsfElectron.h:207
const ChargeInfo & chargeInfo() const
Definition: GsfElectron.h:157
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
void setPdgId(int pdgId) final
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 50 of file GsfElectron.cc.

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

60  core_(core),
64  {
65  init() ;
66  setCharge(charge) ;
67  setVertex(math::XYZPoint(te.positionAtVtx.x(),te.positionAtVtx.y(),te.positionAtVtx.z())) ;
68  setPdgId(-11*charge) ;
70  }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:613
Corrections corrections_
Definition: GsfElectron.h:854
SaturationInfo saturationInfo_
Definition: GsfElectron.h:519
int charge() const final
electric charge
Definition: LeafCandidate.h:91
ChargeInfo chargeInfo_
Definition: GsfElectron.h:166
void setVertex(const Point &vertex) override
set vertex
void setCharge(Charge q) final
set electric charge
Definition: LeafCandidate.h:93
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
ShowerShape showerShape_
Definition: GsfElectron.h:495
GsfElectronCoreRef core_
Definition: GsfElectron.h:207
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:496
const ChargeInfo & chargeInfo() const
Definition: GsfElectron.h:157
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
void setPdgId(int pdgId) final
reco::GsfElectron::~GsfElectron ( )
inlineoverride

Definition at line 114 of file GsfElectron.h.

References init().

114 {} ;

Member Function Documentation

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

Definition at line 710 of file GsfElectron.h.

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

Referenced by PFElectronTranslator::createGsfElectrons().

GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:723
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
Definition: RefVector.h:69
bool reco::GsfElectron::ambiguous ( ) const
inline

Definition at line 700 of file GsfElectron.h.

References ambiguous_.

700 { return ambiguous_ ; }
GsfTrackRefVector::const_iterator reco::GsfElectron::ambiguousGsfTracksBegin ( ) const
inline

Definition at line 702 of file GsfElectron.h.

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

Referenced by ConversionTools::matchesConversion().

702 { return ambiguousGsfTracks_.begin() ; }
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:723
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:248
GsfTrackRefVector::const_iterator reco::GsfElectron::ambiguousGsfTracksEnd ( ) const
inline

Definition at line 703 of file GsfElectron.h.

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

Referenced by ConversionTools::matchesConversion().

703 { return ambiguousGsfTracks_.end() ; }
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:723
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:253
GsfTrackRefVector::size_type reco::GsfElectron::ambiguousGsfTracksSize ( ) const
inline
CaloCluster_iterator reco::GsfElectron::basicClustersBegin ( ) const
inline

Definition at line 321 of file GsfElectron.h.

References superCluster().

321 { return superCluster()->clustersBegin() ; }
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
CaloCluster_iterator reco::GsfElectron::basicClustersEnd ( ) const
inline

Definition at line 322 of file GsfElectron.h.

References superCluster().

322 { return superCluster()->clustersEnd() ; }
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
int reco::GsfElectron::basicClustersSize ( ) const
inline

Definition at line 320 of file GsfElectron.h.

References superCluster().

Referenced by numberOfBrems().

320 { return superCluster()->clustersSize() ; } // number of basic clusters inside the supercluster
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
float reco::GsfElectron::caloEnergy ( ) const
inline
math::XYZPoint reco::GsfElectron::caloPosition ( ) const
inline
P4Kind reco::GsfElectron::candidateP4Kind ( ) const
inline
const ChargeInfo& reco::GsfElectron::chargeInfo ( ) const
inline

Definition at line 157 of file GsfElectron.h.

References chargeInfo_.

Referenced by ZeePlots::analyze(), and WenuPlots::analyze().

157 { return chargeInfo_ ; }
ChargeInfo chargeInfo_
Definition: GsfElectron.h:166
Classification reco::GsfElectron::classification ( ) const
inline
const ClassificationVariables& reco::GsfElectron::classificationVariables ( ) const
inline

Definition at line 745 of file GsfElectron.h.

References classVariables_.

745 { return classVariables_ ; }
ClassificationVariables classVariables_
Definition: GsfElectron.h:761
void reco::GsfElectron::clearAmbiguousGsfTracks ( )
inline

Definition at line 709 of file GsfElectron.h.

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

GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:723
void clear()
Clear the vector.
Definition: RefVector.h:147
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 161 of file GsfElectron.cc.

References GsfElectron().

162  { return new GsfElectron(*this) ; }
GsfElectron * GsfElectron::clone ( const GsfElectronCoreRef core,
const CaloClusterPtr electronCluster,
const TrackRef closestCtfTrack,
const TrackBaseRef conversionPartner,
const GsfTrackRefVector ambiguousTracks 
) const

Definition at line 165 of file GsfElectron.cc.

References GsfElectron().

172  { return new GsfElectron(*this,core,electronCluster,closestCtfTrack,conversionPartner,ambiguousTracks) ; }
ClosestCtfTrack reco::GsfElectron::closestCtfTrack ( ) const
inline

Definition at line 202 of file GsfElectron.h.

References core(), and ctfGsfOverlap().

202 { return ClosestCtfTrack(core()->ctfTrack(),core()->ctfGsfOverlap()) ; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
float ctfGsfOverlap() const
Definition: GsfElectron.h:187
TrackRef reco::GsfElectron::closestCtfTrackRef ( ) const
inline
virtual TrackRef reco::GsfElectron::closestTrack ( ) const
inlinevirtual

Definition at line 186 of file GsfElectron.h.

References core().

186 { return core()->ctfTrack() ; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
float reco::GsfElectron::convDcot ( ) const
inline
float reco::GsfElectron::convDist ( ) const
inline
const ConversionRejection& reco::GsfElectron::conversionRejectionVariables ( ) const
inline

Definition at line 608 of file GsfElectron.h.

References conversionRejection_.

608 { return conversionRejection_ ; }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:613
int reco::GsfElectron::convFlags ( ) const
inline
TrackBaseRef reco::GsfElectron::convPartner ( ) const
inline

Definition at line 604 of file GsfElectron.h.

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

604 { return conversionRejection_.partner ; }
ConversionRejection conversionRejection_
Definition: GsfElectron.h:613
float reco::GsfElectron::convRadius ( ) const
inline
GsfElectronCoreRef GsfElectron::core ( ) const
virtual
void reco::GsfElectron::correctEcalEnergy ( float  newEnergy,
float  newEnergyError 
)
inline

Definition at line 842 of file GsfElectron.h.

References setCorrectedEcalEnergy(), and setEcalEnergyError().

Referenced by RegressionEnergyPatElectronProducer::produce().

843  {
844  setCorrectedEcalEnergy(newEnergy) ;
845  setEcalEnergyError(newEnergyError) ;
846  }
void setEcalEnergyError(float energyError)
Definition: GsfElectron.h:836
void setCorrectedEcalEnergy(float newEnergy)
Definition: GsfElectron.cc:182
float reco::GsfElectron::correctedEcalEnergy ( ) const
inline
float reco::GsfElectron::correctedEcalEnergyError ( ) const
inline
const Corrections& reco::GsfElectron::corrections ( ) const
inline

Definition at line 830 of file GsfElectron.h.

References corrections_.

830 { return corrections_ ; }
Corrections corrections_
Definition: GsfElectron.h:854
void reco::GsfElectron::correctMomentum ( const LorentzVector p4,
float  trackMomentumError,
float  p4Error 
)
inline

Definition at line 847 of file GsfElectron.h.

References P4_COMBINATION, setP4(), and setTrackMomentumError().

Referenced by ElectronMomentumCorrector::correct(), EGExtraInfoModifierFromDB::modifyObject(), RegressionEnergyPatElectronProducer::produce(), CalibratedElectronProducer::produce(), and SimpleElectron::writeTo().

void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:199
float trackMomentumError() const
Definition: GsfElectron.h:825
float p4Error(P4Kind kind) const
Definition: GsfElectron.cc:237
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
void setTrackMomentumError(float trackMomentumError)
Definition: GsfElectron.cc:195
float reco::GsfElectron::ctfGsfOverlap ( ) const
inline

Definition at line 187 of file GsfElectron.h.

References core().

Referenced by closestCtfTrack().

187 { return core()->ctfGsfOverlap() ; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
float reco::GsfElectron::deltaEtaEleClusterTrackAtCalo ( ) const
inline
float reco::GsfElectron::deltaEtaSeedClusterTrackAtCalo ( ) const
inline
float reco::GsfElectron::deltaEtaSeedClusterTrackAtVtx ( ) const
inline

Definition at line 255 of file GsfElectron.h.

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

255  { return superCluster().isNonnull() && superCluster()->seed().isNonnull() ?
257  }
bool isNonnull() const
Checks for non-null.
Definition: Ref.h:253
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
float reco::GsfElectron::deltaEtaSuperClusterTrackAtVtx ( ) const
inline

Definition at line 249 of file GsfElectron.h.

References reco::GsfElectron::TrackClusterMatching::deltaEtaSuperClusterAtVtx, and trackClusterMatching_.

Referenced by ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkElecDQM::analyze(), ElectronMcFakeValidator::analyze(), ZeePlots::analyze(), GsfElectronMCFakeAnalyzer::analyze(), WenuPlots::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), FWElectronDetailView::deltaEtaSuperClusterTrackAtVtx(), egHLT::OffEle::dEtaIn(), dEtaInSeed(), ElectronMVAEstimatorRun2Phys14NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16HZZ::fillMVAVariables(), ElectronLikelihood::getInputVar(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), DQMExample_Step1::MediumEle(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), GsfEleDEtaInCut::operator()(), GsfEleDEtaInLinearCut::operator()(), passesElectronId(), passesElectronPreId(), L1TEGammaOffline::passesLooseEleId(), L1TEGammaOffline::passesMediumEleId(), EgammaCutBasedEleId::PassTriggerCuts(), ClassBasedElectronID::result(), PTDRElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), EgammaCutBasedEleId::TestWP(), GsfEleDEtaInCut::value(), and GsfEleDEtaInLinearCut::value().

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

Definition at line 252 of file GsfElectron.h.

References reco::GsfElectron::TrackClusterMatching::deltaPhiSuperClusterAtVtx, and trackClusterMatching_.

Referenced by ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), ZeePlots::analyze(), WenuPlots::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), FWElectronDetailView::deltaPhiSuperClusterTrackAtVtx(), egHLT::OffEle::dPhiIn(), ElectronMVAEstimatorRun2Phys14NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16HZZ::fillMVAVariables(), ElectronLikelihood::getInputVar(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), PFEGammaFilters::isElectronSafeForJetMET(), DQMExample_Step1::MediumEle(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), GsfEleDPhiInCut::operator()(), passesElectronId(), passesElectronPreId(), L1TEGammaOffline::passesLooseEleId(), L1TEGammaOffline::passesMediumEleId(), EgammaCutBasedEleId::PassTriggerCuts(), PTDRElectronID::result(), ClassBasedElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), EgammaCutBasedEleId::TestWP(), and GsfEleDPhiInCut::value().

float reco::GsfElectron::dr03EcalRecHitSumEt ( ) const
inline
float reco::GsfElectron::dr03HcalDepth1TowerSumEt ( ) const
inline
float reco::GsfElectron::dr03HcalDepth1TowerSumEtBc ( ) const
inline
float reco::GsfElectron::dr03HcalDepth2TowerSumEt ( ) const
inline
float reco::GsfElectron::dr03HcalDepth2TowerSumEtBc ( ) const
inline
float reco::GsfElectron::dr03HcalTowerSumEt ( ) const
inline
float reco::GsfElectron::dr03HcalTowerSumEtBc ( ) const
inline

Definition at line 550 of file GsfElectron.h.

References dr03HcalDepth1TowerSumEtBc(), and dr03HcalDepth2TowerSumEtBc().

float dr03HcalDepth1TowerSumEtBc() const
Definition: GsfElectron.h:548
float dr03HcalDepth2TowerSumEtBc() const
Definition: GsfElectron.h:549
const IsolationVariables& reco::GsfElectron::dr03IsolationVariables ( ) const
inline

Definition at line 551 of file GsfElectron.h.

References dr03_.

Referenced by ZeePlots::analyze(), and WenuPlots::analyze().

551 { return dr03_ ; }
IsolationVariables dr03_
Definition: GsfElectron.h:577
float reco::GsfElectron::dr03TkSumPt ( ) const
inline
float reco::GsfElectron::dr04EcalRecHitSumEt ( ) const
inline
float reco::GsfElectron::dr04HcalDepth1TowerSumEt ( ) const
inline
float reco::GsfElectron::dr04HcalDepth1TowerSumEtBc ( ) const
inline
float reco::GsfElectron::dr04HcalDepth2TowerSumEt ( ) const
inline
float reco::GsfElectron::dr04HcalDepth2TowerSumEtBc ( ) const
inline
float reco::GsfElectron::dr04HcalTowerSumEt ( ) const
inline
float reco::GsfElectron::dr04HcalTowerSumEtBc ( ) const
inline

Definition at line 561 of file GsfElectron.h.

References dr04HcalDepth1TowerSumEtBc(), and dr04HcalDepth2TowerSumEtBc().

float dr04HcalDepth1TowerSumEtBc() const
Definition: GsfElectron.h:559
float dr04HcalDepth2TowerSumEtBc() const
Definition: GsfElectron.h:560
const IsolationVariables& reco::GsfElectron::dr04IsolationVariables ( ) const
inline

Definition at line 562 of file GsfElectron.h.

References dr04_.

562 { return dr04_ ; }
IsolationVariables dr04_
Definition: GsfElectron.h:578
float reco::GsfElectron::dr04TkSumPt ( ) const
inline
float reco::GsfElectron::e1x5 ( ) const
inline
float reco::GsfElectron::e2x5Max ( ) const
inline
float reco::GsfElectron::e5x5 ( ) const
inline
float reco::GsfElectron::eBottom ( ) const
inline

Definition at line 450 of file GsfElectron.h.

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

450 { return showerShape_.eBottom; }
ShowerShape showerShape_
Definition: GsfElectron.h:495
bool GsfElectron::ecalDriven ( ) const
bool reco::GsfElectron::ecalDrivenSeed ( ) const
inline
float reco::GsfElectron::ecalEnergy ( ) const
inline
float reco::GsfElectron::ecalEnergyError ( ) const
inline

Definition at line 838 of file GsfElectron.h.

References correctedEcalEnergyError().

838 { return correctedEcalEnergyError() ; }
float correctedEcalEnergyError() const
Definition: GsfElectron.h:824
float reco::GsfElectron::eEleClusterOverPout ( ) const
inline
CaloClusterPtr reco::GsfElectron::electronCluster ( ) const
inline
float reco::GsfElectron::eLeft ( ) const
inline

Definition at line 447 of file GsfElectron.h.

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

447 { return showerShape_.eLeft; }
ShowerShape showerShape_
Definition: GsfElectron.h:495
float reco::GsfElectron::eRight ( ) const
inline

Definition at line 448 of file GsfElectron.h.

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

448 { return showerShape_.eRight; }
ShowerShape showerShape_
Definition: GsfElectron.h:495
float reco::GsfElectron::eSeedClusterOverP ( ) const
inline
float reco::GsfElectron::eSeedClusterOverPout ( ) const
inline
float reco::GsfElectron::eSuperClusterOverP ( ) const
inline

Definition at line 245 of file GsfElectron.h.

References reco::GsfElectron::TrackClusterMatching::eSuperClusterOverP, and trackClusterMatching_.

Referenced by ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), ZeePlots::analyze(), WenuPlots::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), CutBasedElectronID::cicSelection(), CutBasedElectronID::classify(), pat::ElectronSelector::customSelection_(), egHLT::OffEle::epIn(), ElectronMVAEstimatorRun2Phys14NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16HZZ::fillMVAVariables(), ElectronLikelihood::getInputVar(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EgAmbiguityTools::isBetter(), PFEGammaFilters::isElectronSafeForJetMET(), DQMExample_Step1::MediumEle(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), GsfEleEInverseMinusPInverseCut::operator()(), EgammaCutBasedEleId::PassEoverPCuts(), L1TEGammaOffline::passesLooseEleId(), L1TEGammaOffline::passesMediumEleId(), RegressionEnergyPatElectronProducer::produce(), PTDRElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), EgammaCutBasedEleId::TestWP(), and GsfEleEInverseMinusPInverseCut::value().

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

Definition at line 449 of file GsfElectron.h.

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

449 { return showerShape_.eTop; }
ShowerShape showerShape_
Definition: GsfElectron.h:495
float reco::GsfElectron::fbrem ( ) const
inline
const FiducialFlags& reco::GsfElectron::fiducialFlags ( ) const
inline

Definition at line 362 of file GsfElectron.h.

References fiducialFlags_.

362 { return fiducialFlags_ ; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
float reco::GsfElectron::full5x5_e1x5 ( ) const
inline
float reco::GsfElectron::full5x5_e2x5Bottom ( ) const
inline
float reco::GsfElectron::full5x5_e2x5Left ( ) const
inline
float reco::GsfElectron::full5x5_e2x5Max ( ) const
inline
float reco::GsfElectron::full5x5_e2x5Right ( ) const
inline
float reco::GsfElectron::full5x5_e2x5Top ( ) const
inline
float reco::GsfElectron::full5x5_e5x5 ( ) const
inline
float reco::GsfElectron::full5x5_eBottom ( ) const
inline
float reco::GsfElectron::full5x5_eLeft ( ) const
inline
float reco::GsfElectron::full5x5_eRight ( ) const
inline
float reco::GsfElectron::full5x5_eTop ( ) const
inline
float reco::GsfElectron::full5x5_hcalDepth1OverEcal ( ) const
inline
float reco::GsfElectron::full5x5_hcalDepth1OverEcalBc ( ) const
inline
float reco::GsfElectron::full5x5_hcalDepth2OverEcal ( ) const
inline
float reco::GsfElectron::full5x5_hcalDepth2OverEcalBc ( ) const
inline
float reco::GsfElectron::full5x5_hcalOverEcal ( ) const
inline
float reco::GsfElectron::full5x5_hcalOverEcalBc ( ) const
inline

Definition at line 466 of file GsfElectron.h.

References full5x5_hcalDepth1OverEcalBc(), and full5x5_hcalDepth2OverEcalBc().

float full5x5_hcalDepth1OverEcalBc() const
Definition: GsfElectron.h:464
float full5x5_hcalDepth2OverEcalBc() const
Definition: GsfElectron.h:465
float reco::GsfElectron::full5x5_r9 ( ) const
inline
void reco::GsfElectron::full5x5_setShowerShape ( const ShowerShape s)
inline
const ShowerShape& reco::GsfElectron::full5x5_showerShape ( ) const
inline
float reco::GsfElectron::full5x5_sigmaEtaEta ( ) const
inline
float reco::GsfElectron::full5x5_sigmaIetaIeta ( ) const
inline
float reco::GsfElectron::full5x5_sigmaIphiIphi ( ) const
inline
GsfTrackRef reco::GsfElectron::gsfTrack ( ) const
inlineoverridevirtual

reference to a GsfTrack

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Electron.

Definition at line 185 of file GsfElectron.h.

References core().

Referenced by ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), FWElectronLegoProxyBuilder::build(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), ElectronHEEPIDValueMapProducer::calTrkIso(), CutBasedElectronID::cicSelection(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), GsfElectronAlgo::createElectron(), egammaisolation::EgammaTrackExtractor::deposit(), PFCandWithSuperClusterExtractor::depositFromObject(), Electron.Electron::dxy(), Electron.Electron::dz(), Electron.Electron::edxy(), Electron.Electron::edz(), WZInterestingEventSelector::electronSelection(), PFIsolationEstimator::fGetIsolationInRings(), egHLT::OffHelper::fillIsolData(), ElectronMVAEstimatorRun2Phys14NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16HZZ::fillMVAVariables(), ConversionFinder::getElectronTrack(), ElectronSqPtTkIsolation::getIso(), ElectronTkIsolation::getIso(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), SoftPFElectronTagInfoProducer::isElecClean(), PFEGammaFilters::isElectron(), PFEGammaFilters::isElectronSafeForJetMET(), EGammaMvaEleEstimator::isoMvaValue(), Electron.Electron::lostInner(), DQMExample_Step1::MediumEle(), EGExtraInfoModifierFromDB::modifyObject(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), AntiElectronIDMVA5::MVAValue(), AntiElectronIDMVA6::MVAValue(), normalizedGsfChi2(), GsfEleDxyCut::operator()(), GsfEleDzCut::operator()(), GsfElectronEqual::operator()(), GsfEleMissingHitsCut::operator()(), EgAmbiguityTools::isInnerMost::operator()(), reco::operator<<(), overlap(), GEDGsfElectronFinalizer::produce(), SoftPFElectronTagInfoProducer::produce(), FWElectronProxyBuilder::requestCommon(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), GsfElectronAlgo::setPixelMatchInfomation(), EgammaCutBasedEleId::TestWP(), GsfEleDzCut::value(), GsfEleDxyCut::value(), and GsfEleMissingHitsCut::value().

185 { return core()->gsfTrack() ; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
float reco::GsfElectron::hadronicOverEm ( ) const
inline

Definition at line 487 of file GsfElectron.h.

References hcalOverEcal().

Referenced by ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), ZeePlots::analyze(), WenuPlots::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), ElectronMVAEstimatorRun2Phys14NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronLikelihood::getInputVar(), SuperClusterHelper::hadronicOverEm(), egHLT::OffEle::hOverE(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), DQMExample_Step1::MediumEle(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), GsfEleHadronicOverEMLinearCut::operator()(), GsfEleHadronicOverEMCut::operator()(), L1TEGammaOffline::passesLooseEleId(), L1TEGammaOffline::passesMediumEleId(), EgammaCutBasedEleId::PassTriggerCuts(), ClassBasedElectronID::result(), PTDRElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), EgammaCutBasedEleId::TestWP(), GsfEleHadronicOverEMLinearCut::value(), and GsfEleHadronicOverEMCut::value().

487 {return hcalOverEcal();}
float hcalOverEcal() const
Definition: GsfElectron.h:442
float reco::GsfElectron::hadronicOverEm1 ( ) const
inline

Definition at line 488 of file GsfElectron.h.

References hcalDepth1OverEcal().

488 {return hcalDepth1OverEcal();}
float hcalDepth1OverEcal() const
Definition: GsfElectron.h:440
float reco::GsfElectron::hadronicOverEm2 ( ) const
inline

Definition at line 489 of file GsfElectron.h.

References hcalDepth2OverEcal().

489 {return hcalDepth2OverEcal();}
float hcalDepth2OverEcal() const
Definition: GsfElectron.h:441
float reco::GsfElectron::hcalDepth1OverEcal ( ) const
inline
float reco::GsfElectron::hcalDepth1OverEcalBc ( ) const
inline
float reco::GsfElectron::hcalDepth2OverEcal ( ) const
inline
float reco::GsfElectron::hcalDepth2OverEcalBc ( ) const
inline
float reco::GsfElectron::hcalOverEcal ( ) const
inline
float reco::GsfElectron::hcalOverEcalBc ( ) const
inline
const std::vector<CaloTowerDetId>& reco::GsfElectron::hcalTowersBehindClusters ( ) const
inline

Definition at line 443 of file GsfElectron.h.

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

ShowerShape showerShape_
Definition: GsfElectron.h:495
std::vector< CaloTowerDetId > hcalTowersBehindClusters
Definition: GsfElectron.h:396
void GsfElectron::init ( void  )
private
bool reco::GsfElectron::isEB ( ) const
inline

Definition at line 352 of file GsfElectron.h.

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

Referenced by Electron.Electron::absIsoWithFSR(), ElectronMcSignalValidatorMiniAOD::analyze(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), RegressionHelper::applyCombinationRegression(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), CutBasedElectronID::cicSelection(), ElectronEnergyCorrector::classBasedParameterizationEnergy(), ElectronClassification::classify(), CutBasedElectronID::classify(), ElectronMomentumCorrector::correct(), EcalIsolationCorrector::correctForHLTDefinition(), EcalIsolationCorrector::correctForNoise(), WZInterestingEventSelector::electronSelection(), ZeeCandidateFilter::filter(), DQMExample_Step1::MediumEle(), EGExtraInfoModifierFromDB::modifyObject(), L1TEGammaOffline::passesLooseEleId(), L1TEGammaOffline::passesMediumEleId(), EgammaCutBasedEleId::PassTriggerCuts(), RegressionEnergyPatElectronProducer::produce(), CalibratedElectronProducer::produce(), ElectronClassification::refineWithPflow(), PTDRElectronID::result(), ClassBasedElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), ElectronEnergyCorrector::simpleParameterizationUncertainty(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), SuperClusterHelper::SuperClusterHelper(), and EgammaCutBasedEleId::TestWP().

352 { return fiducialFlags_.isEB ; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
bool reco::GsfElectron::isEBEEGap ( ) const
inline
bool reco::GsfElectron::isEBEtaGap ( ) const
inline
bool reco::GsfElectron::isEBGap ( ) const
inline

Definition at line 356 of file GsfElectron.h.

References isEBEtaGap(), and isEBPhiGap().

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

356 { return (isEBEtaGap()||isEBPhiGap()) ; }
bool isEBEtaGap() const
Definition: GsfElectron.h:357
bool isEBPhiGap() const
Definition: GsfElectron.h:358
bool reco::GsfElectron::isEBPhiGap ( ) const
inline
bool reco::GsfElectron::isEcalEnergyCorrected ( ) const
inline
bool reco::GsfElectron::isEE ( ) const
inline
bool reco::GsfElectron::isEEDeeGap ( ) const
inline
bool reco::GsfElectron::isEEGap ( ) const
inline

Definition at line 359 of file GsfElectron.h.

References isEEDeeGap(), and isEERingGap().

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

359 { return (isEEDeeGap()||isEERingGap()) ; }
bool isEERingGap() const
Definition: GsfElectron.h:361
bool isEEDeeGap() const
Definition: GsfElectron.h:360
bool reco::GsfElectron::isEERingGap ( ) const
inline
bool reco::GsfElectron::isElectron ( ) const
inlineoverridevirtual

Reimplemented from reco::LeafCandidate.

Definition at line 160 of file GsfElectron.h.

References overlap(), and funct::true.

160 { return true ; }
bool reco::GsfElectron::isEnergyScaleCorrected ( ) const
inline

Definition at line 841 of file GsfElectron.h.

References isEcalEnergyCorrected().

841 { return isEcalEnergyCorrected() ; }
bool isEcalEnergyCorrected() const
Definition: GsfElectron.h:822
bool reco::GsfElectron::isGap ( ) const
inline

Definition at line 354 of file GsfElectron.h.

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

354 { return ((isEBEEGap())||(isEBGap())||(isEEGap())) ; }
bool isEEGap() const
Definition: GsfElectron.h:359
bool isEBEEGap() const
Definition: GsfElectron.h:355
bool isEBGap() const
Definition: GsfElectron.h:356
bool reco::GsfElectron::isGsfCtfChargeConsistent ( ) const
inline
bool reco::GsfElectron::isGsfCtfScPixChargeConsistent ( ) const
inline
bool reco::GsfElectron::isGsfScPixChargeConsistent ( ) const
inline
const IsolationVariables& reco::GsfElectron::isolationVariables03 ( ) const
inline

Definition at line 571 of file GsfElectron.h.

References dr03_.

571 { return dr03_ ; }
IsolationVariables dr03_
Definition: GsfElectron.h:577
const IsolationVariables& reco::GsfElectron::isolationVariables04 ( ) const
inline

Definition at line 572 of file GsfElectron.h.

References dr04_.

572 { return dr04_ ; }
IsolationVariables dr04_
Definition: GsfElectron.h:578
float reco::GsfElectron::isSeedSaturated ( ) const
inline
float reco::GsfElectron::mva_e_pi ( ) const
inline
float reco::GsfElectron::mva_Isolated ( ) const
inline
const MvaInput& reco::GsfElectron::mvaInput ( ) const
inline

Definition at line 671 of file GsfElectron.h.

References mvaInput_.

671 { return mvaInput_ ; }
MvaInput mvaInput_
Definition: GsfElectron.h:686
const MvaOutput& reco::GsfElectron::mvaOutput ( ) const
inline

Definition at line 672 of file GsfElectron.h.

References mvaOutput_.

Referenced by GEDGsfElectronFinalizer::produce(), and GsfElectronAlgo::setPflowPreselectionFlag().

672 { return mvaOutput_ ; }
MvaOutput mvaOutput_
Definition: GsfElectron.h:687
float reco::GsfElectron::nSaturatedXtals ( ) const
inline
int reco::GsfElectron::numberOfBrems ( ) const
inline

Definition at line 749 of file GsfElectron.h.

References basicClustersSize().

Referenced by ElectronClassification::classify(), ElectronLikelihood::result(), and ElectronLikelihood::resultLog().

749 { return basicClustersSize()-1 ; }
int basicClustersSize() const
Definition: GsfElectron.h:320
bool GsfElectron::overlap ( const Candidate ) const
overridevirtual

check overlap with another candidate

Implements reco::RecoCandidate.

Definition at line 152 of file GsfElectron.cc.

References EnergyCorrector::c, reco::RecoCandidate::checkOverlap(), reco::RecoCandidate::gsfTrack(), gsfTrack(), connectstrParser::o, reco::RecoCandidate::superCluster(), and superCluster().

Referenced by isElectron().

152  {
153  const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c );
154  return ( o != nullptr &&
155  ( checkOverlap( gsfTrack(), o->gsfTrack() ) ||
157  );
158  //?? return false;
159 }
virtual reco::GsfTrackRef gsfTrack() const
reference to a GsfTrack
GsfTrackRef gsfTrack() const override
reference to a GsfTrack
Definition: GsfElectron.h:185
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
Definition: RecoCandidate.h:69
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
virtual reco::SuperClusterRef superCluster() const
reference to a SuperCluster
const Candidate::LorentzVector & GsfElectron::p4 ( P4Kind  kind) const

Definition at line 225 of file GsfElectron.cc.

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

Referenced by ElectronMcSignalValidatorMiniAOD::analyze(), ElectronTagProbeAnalyzer::analyze(), B2GDQM::analyzeSemiE(), RegressionHelper::applyCombinationRegression(), ElectronTagProbeAnalyzer::computeInvMass(), ElectronAnalyzer::computeInvMass(), ElectronMomentumCorrector::correct(), GsfElectronAlgo::createElectron(), pat::ElectronSelector::customSelection_(), PATTauDiscriminationAgainstElectronMVA6::discriminate(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), pat::PATElectronProducer::fillElectron2(), EwkElecTauHistManager::fillHistograms(), EGExtraInfoModifierFromDB::modifyObject(), GsfEleDeltaBetaIsoCut::operator()(), GsfEleDeltaBetaIsoCutStandalone::operator()(), TtSemiLRJetCombObservables::operator()(), Calculate_miniAOD::operator()(), egHLT::OffEle::p4(), Lepton.Lepton::p4WithFSR(), RegressionEnergyPatElectronProducer::produce(), CalibratedElectronProducer::produce(), SoftPFElectronTagInfoProducer::produce(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), pat::PATElectronProducer::setElectronMiniIso(), TtSemiEvtSolution::setupHyp(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), and SimpleElectron::writeTo().

226  {
227  switch(kind)
228  {
230  case P4_COMBINATION: return corrections_.combinedP4 ;
232  default: throw cms::Exception("GsfElectron")<<"unexpected p4 kind: "<<kind ;
233  }
234  }
Corrections corrections_
Definition: GsfElectron.h:854
float GsfElectron::p4Error ( P4Kind  kind) const

Definition at line 237 of file GsfElectron.cc.

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

Referenced by ElectronMcSignalValidator::analyze(), ElectronMomentumCorrector::correct(), reco::GsfElectron::Corrections::Corrections(), CalibratedElectronProducer::produce(), Electron.Electron::ptErr(), and trackMomentumError().

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

Definition at line 698 of file GsfElectron.h.

References passCutBasedPreselection_.

Referenced by ecalDriven(), and GsfElectronAlgo::isPreselected().

698 { return passCutBasedPreselection_ ; }
bool passCutBasedPreselection_
Definition: GsfElectron.h:719
bool reco::GsfElectron::passingMvaPreselection ( ) const
inline
bool reco::GsfElectron::passingPflowPreselection ( ) const
inline

Definition at line 699 of file GsfElectron.h.

References passPflowPreselection_.

Referenced by GsfElectronAlgo::isPreselected().

699 { return passPflowPreselection_ ; }
bool passPflowPreselection_
Definition: GsfElectron.h:720
const PflowIsolationVariables& reco::GsfElectron::pfIsolationVariables ( ) const
inline
float reco::GsfElectron::pixelMatchDPhi1 ( ) const
inline

Definition at line 885 of file GsfElectron.h.

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

885 { return pixelMatchVariables_.dPhi1 ; }
float dPhi1
Pixel match variable: deltaPhi for innermost hit.
Definition: GsfElectron.h:859
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float reco::GsfElectron::pixelMatchDPhi2 ( ) const
inline

Definition at line 886 of file GsfElectron.h.

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

886 { return pixelMatchVariables_.dPhi2 ; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float dPhi2
Pixel match variable: deltaPhi for second hit.
Definition: GsfElectron.h:861
float reco::GsfElectron::pixelMatchDRz1 ( ) const
inline

Definition at line 887 of file GsfElectron.h.

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

887 { return pixelMatchVariables_.dRz1 ; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float dRz1
Pixel match variable: deltaRz for innermost hit.
Definition: GsfElectron.h:863
float reco::GsfElectron::pixelMatchDRz2 ( ) const
inline

Definition at line 888 of file GsfElectron.h.

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

888 { return pixelMatchVariables_.dRz2 ; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float dRz2
Pixel match variable: deltaRz for second hit.
Definition: GsfElectron.h:865
int reco::GsfElectron::pixelMatchSubdetector1 ( ) const
inline

Definition at line 883 of file GsfElectron.h.

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

883 { return pixelMatchVariables_.subdetectors/10 ; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:867
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
int reco::GsfElectron::pixelMatchSubdetector2 ( ) const
inline

Definition at line 884 of file GsfElectron.h.

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

884 { return pixelMatchVariables_.subdetectors%10 ; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:867
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float reco::GsfElectron::r9 ( ) const
inline
const SaturationInfo& reco::GsfElectron::saturationInfo ( ) const
inline

Definition at line 514 of file GsfElectron.h.

References saturationInfo_.

514 { return saturationInfo_; }
SaturationInfo saturationInfo_
Definition: GsfElectron.h:519
float reco::GsfElectron::scE1x5 ( ) const
inline
float reco::GsfElectron::scE2x5Max ( ) const
inline
float reco::GsfElectron::scE5x5 ( ) const
inline
int reco::GsfElectron::scPixCharge ( ) const
inline

Definition at line 153 of file GsfElectron.h.

References chargeInfo_, and reco::GsfElectron::ChargeInfo::scPixCharge.

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

Definition at line 482 of file GsfElectron.h.

References sigmaEtaEta().

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

482 { return sigmaEtaEta() ; }
float sigmaEtaEta() const
Definition: GsfElectron.h:433
float reco::GsfElectron::scSigmaIEtaIEta ( ) const
inline
void reco::GsfElectron::setAmbiguous ( bool  flag)
inline

Definition at line 708 of file GsfElectron.h.

References ambiguous_, and RemoveAddSevLevel::flag.

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

Definition at line 756 of file GsfElectron.h.

References class_.

Referenced by ElectronClassification::classify(), pat::PATElectronSlimmer::produce(), and ElectronClassification::refineWithPflow().

756 { class_ = myclass ; }
Classification class_
Definition: GsfElectron.h:762
void reco::GsfElectron::setClassificationVariables ( const ClassificationVariables cv)
inline

Definition at line 755 of file GsfElectron.h.

References classVariables_, and cuy::cv.

Referenced by pat::PATElectronSlimmer::produce().

755 { classVariables_ = cv ; }
cv
Definition: cuy.py:362
ClassificationVariables classVariables_
Definition: GsfElectron.h:761
void reco::GsfElectron::setCore ( const reco::GsfElectronCoreRef core)
inline

Definition at line 181 of file GsfElectron.h.

References core(), and core_.

Referenced by ReducedEGProducer::relinkGsfElectronCore().

181 { core_ = core; }
GsfElectronCoreRef core_
Definition: GsfElectron.h:207
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
void GsfElectron::setCorrectedEcalEnergy ( float  newEnergy)

Definition at line 182 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::correctedEcalEnergy, reco::GsfElectron::Corrections::correctedEcalEnergyError, corrections_, reco::GsfElectron::TrackClusterMatching::eSuperClusterOverP, reco::GsfElectron::ShowerShape::hcalDepth1OverEcal, reco::GsfElectron::ShowerShape::hcalDepth2OverEcal, reco::GsfElectron::Corrections::isEcalEnergyCorrected, reco::LeafCandidate::momentum(), reco::LeafCandidate::p4(), setP4(), showerShape_, trackClusterMatching_, and funct::true.

Referenced by RegressionHelper::applyEcalRegression(), ElectronEnergyCorrector::classBasedParameterizationEnergy(), correctEcalEnergy(), reco::GsfElectron::Corrections::Corrections(), EGExtraInfoModifierFromDB::modifyObject(), ElectronRecalibSuperClusterAssociator::produce(), and SimpleElectron::writeTo().

183  {
185  momentum *= newEnergy/momentum.e() ;
186  setP4(momentum) ;
191  corrections_.correctedEcalEnergy = newEnergy ;
193  }
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:199
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:854
Vector momentum() const final
spatial momentum vector
ShowerShape showerShape_
Definition: GsfElectron.h:495
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
void GsfElectron::setCorrectedEcalEnergyError ( float  newEnergyError)
void reco::GsfElectron::setCorrections ( const Corrections c)
inline

Definition at line 833 of file GsfElectron.h.

References EnergyCorrector::c, and corrections_.

Referenced by pat::PATElectronSlimmer::produce().

void reco::GsfElectron::setDeltaEtaSuperClusterAtVtx ( float  de)
inline
void reco::GsfElectron::setDeltaPhiSuperClusterAtVtx ( float  dphi)
inline
void reco::GsfElectron::setDr03Isolation ( const IsolationVariables dr03)
inline

Definition at line 565 of file GsfElectron.h.

References dr03_.

Referenced by pat::PATElectronSlimmer::produce().

565 { dr03_ = dr03 ; }
IsolationVariables dr03_
Definition: GsfElectron.h:577
void reco::GsfElectron::setDr04Isolation ( const IsolationVariables dr04)
inline

Definition at line 566 of file GsfElectron.h.

References dr04_.

Referenced by pat::PATElectronSlimmer::produce().

566 { dr04_ = dr04 ; }
IsolationVariables dr04_
Definition: GsfElectron.h:578
void reco::GsfElectron::setEcalEnergyError ( float  energyError)
inline

Definition at line 836 of file GsfElectron.h.

References setCorrectedEcalEnergyError().

Referenced by correctEcalEnergy().

void setCorrectedEcalEnergyError(float newEnergyError)
Definition: GsfElectron.cc:179
float energyError(float E, float *par)
void reco::GsfElectron::setFFlagIsEB ( const bool  b)
inline

Definition at line 365 of file GsfElectron.h.

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

365 { fiducialFlags_.isEB = b; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setFFlagIsEBEEGap ( const bool  b)
inline

Definition at line 367 of file GsfElectron.h.

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

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setFFlagIsEBEtaGap ( const bool  b)
inline

Definition at line 368 of file GsfElectron.h.

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

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setFFlagIsEBPhiGap ( const bool  b)
inline

Definition at line 369 of file GsfElectron.h.

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

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setFFlagIsEE ( const bool  b)
inline

Definition at line 366 of file GsfElectron.h.

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

366 { fiducialFlags_.isEE = b; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setFFlagIsEEDeeGap ( const bool  b)
inline

Definition at line 370 of file GsfElectron.h.

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

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setFFlagIsEERingGap ( const bool  b)
inline

Definition at line 371 of file GsfElectron.h.

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

FiducialFlags fiducialFlags_
Definition: GsfElectron.h:376
double b
Definition: hdecay.h:120
void reco::GsfElectron::setIsolation03 ( const IsolationVariables dr03)
inline

Definition at line 569 of file GsfElectron.h.

References dr03_.

Referenced by GsfElectronAlgo::createElectron().

569 { dr03_ = dr03 ; }
IsolationVariables dr03_
Definition: GsfElectron.h:577
void reco::GsfElectron::setIsolation04 ( const IsolationVariables dr04)
inline

Definition at line 570 of file GsfElectron.h.

References dr04_.

Referenced by GsfElectronAlgo::createElectron().

570 { dr04_ = dr04 ; }
IsolationVariables dr04_
Definition: GsfElectron.h:578
void reco::GsfElectron::setMvaInput ( const MvaInput mi)
inline

Definition at line 676 of file GsfElectron.h.

References mvaInput_.

Referenced by PFElectronTranslator::createGsfElectrons().

676 { mvaInput_ = mi ; }
MvaInput mvaInput_
Definition: GsfElectron.h:686
void reco::GsfElectron::setMvaOutput ( const MvaOutput mo)
inline

Definition at line 677 of file GsfElectron.h.

References mvaOutput_.

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

677 { mvaOutput_ = mo ; }
MvaOutput mvaOutput_
Definition: GsfElectron.h:687
void GsfElectron::setP4 ( P4Kind  kind,
const LorentzVector p4,
float  p4Error,
bool  setCandidate 
)

Definition at line 199 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, callgraph::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(), reco::GsfElectron::Corrections::Corrections(), correctMomentum(), GsfElectronAlgo::createElectron(), PFElectronTranslator::createGsfElectrons(), pat::PATElectronProducer::fillElectron2(), ElectronRecalibSuperClusterAssociator::produce(), setCorrectedEcalEnergy(), Jet.Jet::setCorrP4(), and setTrackMomentumError().

200  {
201  switch(kind)
202  {
206  break ;
207  case P4_COMBINATION:
210  break ;
214  break ;
215  default:
216  throw cms::Exception("GsfElectron")<<"unexpected p4 kind: "<<kind ;
217  }
218  if (setCandidate)
219  {
220  setP4(p4) ;
222  }
223  }
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:199
Corrections corrections_
Definition: GsfElectron.h:854
const LorentzVector & p4() const final
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
void reco::GsfElectron::setPassCutBasedPreselection ( bool  flag)
inline
void reco::GsfElectron::setPassMvaPreselection ( bool  flag)
inline
void reco::GsfElectron::setPassPflowPreselection ( bool  flag)
inline
void reco::GsfElectron::setPfIsolationVariables ( const PflowIsolationVariables iso)
inline
void reco::GsfElectron::setPixelMatchDPhi1 ( float  dPhi1)
inline

Definition at line 878 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

878 { pixelMatchVariables_.dPhi1 = dPhi1 ; }
float dPhi1
Pixel match variable: deltaPhi for innermost hit.
Definition: GsfElectron.h:859
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
void reco::GsfElectron::setPixelMatchDPhi2 ( float  dPhi2)
inline

Definition at line 879 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

879 { pixelMatchVariables_.dPhi2 = dPhi2 ; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float dPhi2
Pixel match variable: deltaPhi for second hit.
Definition: GsfElectron.h:861
void reco::GsfElectron::setPixelMatchDRz1 ( float  dRz1)
inline

Definition at line 880 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

880 { pixelMatchVariables_.dRz1 = dRz1 ; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float dRz1
Pixel match variable: deltaRz for innermost hit.
Definition: GsfElectron.h:863
void reco::GsfElectron::setPixelMatchDRz2 ( float  dRz2)
inline

Definition at line 881 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

881 { pixelMatchVariables_.dRz2 = dRz2 ; }
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
float dRz2
Pixel match variable: deltaRz for second hit.
Definition: GsfElectron.h:865
void reco::GsfElectron::setPixelMatchSubdetectors ( int  sd1,
int  sd2 
)
inline

Definition at line 877 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

877 { pixelMatchVariables_.subdetectors = 10*sd1+sd2 ; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:867
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:890
void reco::GsfElectron::setSaturationInfo ( const SaturationInfo s)
inline

Definition at line 515 of file GsfElectron.h.

References alignCSCRings::s, and saturationInfo_.

Referenced by pat::PATElectronSlimmer::produce().

515 { saturationInfo_ = s; }
SaturationInfo saturationInfo_
Definition: GsfElectron.h:519
void reco::GsfElectron::setShowerShape ( const ShowerShape s)
inline

Definition at line 478 of file GsfElectron.h.

References alignCSCRings::s, and showerShape_.

Referenced by pat::PATElectronSlimmer::produce().

478 { showerShape_ = s; }
ShowerShape showerShape_
Definition: GsfElectron.h:495
void reco::GsfElectron::setSuperClusterFbrem ( float  fbrem)
inline
void reco::GsfElectron::setTrackExtrapolations ( const TrackExtrapolations te)
inline

Definition at line 299 of file GsfElectron.h.

References trackExtrapolations_.

Referenced by pat::PATElectronSlimmer::produce().

299 { trackExtrapolations_ = te; }
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
void reco::GsfElectron::setTrackFbrem ( float  fbrem)
inline
void GsfElectron::setTrackMomentumError ( float  trackMomentumError)
float reco::GsfElectron::shFracInnerHits ( ) const
inline

Definition at line 200 of file GsfElectron.h.

References core().

Referenced by ConversionFinder::getConversionInfo(), and ConversionFinder::getElectronTrack().

200 { return core()->ctfGsfOverlap() ; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
const ShowerShape& reco::GsfElectron::showerShape ( ) const
inline

Definition at line 451 of file GsfElectron.h.

References showerShape_.

451 { return showerShape_ ; }
ShowerShape showerShape_
Definition: GsfElectron.h:495
float reco::GsfElectron::sigmaEtaEta ( ) const
inline
float reco::GsfElectron::sigmaIetaIeta ( ) const
inline
float reco::GsfElectron::sigmaIphiIphi ( ) const
inline
SuperClusterRef reco::GsfElectron::superCluster ( ) const
inlineoverridevirtual

reference to a SuperCluster

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Electron.

Definition at line 184 of file GsfElectron.h.

References core().

Referenced by ZIterativeAlgorithmWithFit::addEvent(), FWElectronDetailView::addSceneInfo(), FWElectronDetailView::addTrackPointsInCaloData(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), EgammaObjects::analyzeElectrons(), RegressionHelper::applyEcalRegression(), basicClustersBegin(), basicClustersEnd(), basicClustersSize(), FWElectronDetailView::build(), FWElectronProxyBuilder::buildViewType(), caloPosition(), CutBasedElectronID::cicSelection(), ElectronEnergyCorrector::classBasedParameterizationEnergy(), ElectronEnergyCorrector::classBasedParameterizationUncertainty(), CutBasedElectronID::classify(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), EGEnergyCorrector::CorrectedEnergyWithError(), EGEnergyCorrector::CorrectedEnergyWithErrorV3(), GsfElectronAlgo::createElectron(), deltaEtaSeedClusterTrackAtVtx(), PFCandWithSuperClusterExtractor::depositFromObject(), dEtaInSeed(), FWElectronDetailView::drawCrossHair(), egHLT::OffEle::etaSC(), egHLT::OffEle::etSC(), PFIsolationEstimator::fGetIsolationInRings(), egHLT::OffHelper::fillClusShapeData(), ZeeCalibration::fillEleInfo(), egHLT::OffHelper::fillHLTData(), ElectronMVAEstimatorRun2Phys14NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16HZZ::fillMVAVariables(), ElectronMVAEstimatorRun2Phys14NonTrig::findCategory(), ElectronMVAEstimatorRun2Spring15Trig::findCategory(), ElectronMVAEstimatorRun2Spring15NonTrig::findCategory(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::findCategory(), ElectronMVAEstimatorRun2Spring16HZZ::findCategory(), calib::CalibElectron::getCalibModulesWeights(), ZeeCalibration::getEtaCorrection(), ElectronLikelihood::getInputVar(), ZIterativeAlgorithmWithFit::getWeight(), GsfElectron(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EBEECutValuesT< int >::isBarrel(), ElectronPFIsolationWithConeVeto::isInIsolationCone(), EGammaMvaEleEstimator::isoMvaValue(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), EGExtraInfoModifierFromDB::modifyObject(), SoftElectronMVAEstimator::mva(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), EGammaMvaEleEstimatorCSA14::mvaValue(), EGammaMvaEleEstimator::mvaValue(), AntiElectronIDMVA6::MVAValue(), ElectronHEEPIDValueMapProducer::nrSaturatedCrysIn5x5(), GsfEleFull5x5SigmaIEtaIEtaCut::operator()(), GsfEleEcalDrivenCut::operator()(), GsfEleEffAreaPFIsoCut::operator()(), GsfEleDxyCut::operator()(), GsfEleDzCut::operator()(), GsfEleDeltaBetaIsoCut::operator()(), GsfEleHadronicOverEMLinearCut::operator()(), GsfEleDeltaBetaIsoCutStandalone::operator()(), GsfEleDEtaInCut::operator()(), GsfEleNormalizedGsfChi2Cut::operator()(), GsfEleHadronicOverEMCut::operator()(), GsfEleEInverseMinusPInverseCut::operator()(), GsfEleSigmaIEtaIEtaCut::operator()(), GsfEleDEtaInSeedCut::operator()(), GsfEleCalPFClusterIsoCut::operator()(), GsfEleMissingHitsCut::operator()(), GsfEleDPhiInCut::operator()(), GsfEleSCEtaMultiRangeCut::operator()(), reco::operator<<(), overlap(), EgammaCutBasedEleId::PassEoverPCuts(), egHLT::OffEle::phiSC(), GsfElectronFull5x5Filler::produce(), CalibratedElectronProducer::produce(), PTDRElectronID::result(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), SuperClusterHelper::SuperClusterHelper(), superClusterPosition(), EgammaCutBasedEleId::TestWP(), GsfEleHadronicOverEMLinearCut::value(), GsfEleEffAreaPFIsoCut::value(), GsfEleSCMaxAbsEtaCut::value(), GsfEleCalPFClusterIsoCut::value(), and GsfEleSCEtaMultiRangeCut::value().

184 { return core()->superCluster() ; }
virtual GsfElectronCoreRef core() const
Definition: GsfElectron.cc:8
float reco::GsfElectron::superClusterFbrem ( ) const
inline
math::XYZPoint reco::GsfElectron::superClusterPosition ( ) const
inline

Definition at line 319 of file GsfElectron.h.

References superCluster().

319 { return superCluster()->position() ; } // the super cluster position
SuperClusterRef superCluster() const override
reference to a SuperCluster
Definition: GsfElectron.h:184
const TrackClusterMatching& reco::GsfElectron::trackClusterMatching ( ) const
inline

Definition at line 258 of file GsfElectron.h.

References trackClusterMatching_.

258 { return trackClusterMatching_ ; }
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:268
bool reco::GsfElectron::trackerDrivenSeed ( ) const
inline
const TrackExtrapolations& reco::GsfElectron::trackExtrapolations ( ) const
inline

Definition at line 296 of file GsfElectron.h.

References trackExtrapolations_.

296 { return trackExtrapolations_ ; }
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
float reco::GsfElectron::trackFbrem ( ) const
inline
math::XYZVectorF reco::GsfElectron::trackMomentumAtCalo ( ) const
inline
math::XYZVectorF reco::GsfElectron::trackMomentumAtEleClus ( ) const
inline
math::XYZVectorF reco::GsfElectron::trackMomentumAtVtx ( ) const
inline

Definition at line 291 of file GsfElectron.h.

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

Referenced by ElectronMcSignalValidator::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), WenuPlots::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronCalibration::analyze(), ElectronCalibrationUniv::analyze(), RegressionHelper::applyCombinationRegression(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), ElectronMomentumCorrector::correct(), pat::ElectronSelector::customSelection_(), ElectronMVAEstimatorRun2Spring15Trig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring15NonTrig::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16GeneralPurpose::fillMVAVariables(), ElectronMVAEstimatorRun2Spring16HZZ::fillMVAVariables(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), egHLT::OffEle::invEInvP(), SoftElectronMVAEstimator::mva(), AntiElectronIDMVA5::MVAValue(), AntiElectronIDMVA6::MVAValue(), RegressionEnergyPatElectronProducer::produce(), CalibratedElectronProducer::produce(), egHLT::OffEle::ptVtx(), egHLT::OffEle::pVtx(), and PTDRElectronID::result().

TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
math::XYZVectorF reco::GsfElectron::trackMomentumAtVtxWithConstraint ( ) const
inline
float reco::GsfElectron::trackMomentumError ( ) const
inline
math::XYZVectorF reco::GsfElectron::trackMomentumOut ( ) const
inline
math::XYZPointF reco::GsfElectron::trackPositionAtCalo ( ) const
inline
math::XYZPointF reco::GsfElectron::TrackPositionAtCalo ( ) const
inline

Definition at line 303 of file GsfElectron.h.

References trackPositionAtCalo().

303 { return trackPositionAtCalo() ; }
math::XYZPointF trackPositionAtCalo() const
Definition: GsfElectron.h:290
math::XYZPointF reco::GsfElectron::trackPositionAtVtx ( ) const
inline

Definition at line 289 of file GsfElectron.h.

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

Referenced by TrackPositionAtVtx().

TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:309
math::XYZPointF reco::GsfElectron::TrackPositionAtVtx ( ) const
inline

Definition at line 302 of file GsfElectron.h.

References trackPositionAtVtx().

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

302 { return trackPositionAtVtx() ; }
math::XYZPointF trackPositionAtVtx() const
Definition: GsfElectron.h:289

Member Data Documentation

bool reco::GsfElectron::ambiguous_
private

Definition at line 722 of file GsfElectron.h.

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

GsfTrackRefVector reco::GsfElectron::ambiguousGsfTracks_
private
ChargeInfo reco::GsfElectron::chargeInfo_
private
Classification reco::GsfElectron::class_
private

Definition at line 762 of file GsfElectron.h.

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

ClassificationVariables reco::GsfElectron::classVariables_
private
ConversionRejection reco::GsfElectron::conversionRejection_
private
GsfElectronCoreRef reco::GsfElectron::core_
private

Definition at line 207 of file GsfElectron.h.

Referenced by core(), and setCore().

Corrections reco::GsfElectron::corrections_
private
IsolationVariables reco::GsfElectron::dr03_
private
IsolationVariables reco::GsfElectron::dr04_
private
FiducialFlags reco::GsfElectron::fiducialFlags_
private
ShowerShape reco::GsfElectron::full5x5_showerShape_
private
MvaInput reco::GsfElectron::mvaInput_
private

Definition at line 686 of file GsfElectron.h.

Referenced by mvaInput(), and setMvaInput().

MvaOutput reco::GsfElectron::mvaOutput_
private

Definition at line 687 of file GsfElectron.h.

Referenced by mva_e_pi(), mva_Isolated(), mvaOutput(), and setMvaOutput().

bool reco::GsfElectron::passCutBasedPreselection_
private

Definition at line 719 of file GsfElectron.h.

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

bool reco::GsfElectron::passMvaPreslection_
private

Definition at line 721 of file GsfElectron.h.

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

bool reco::GsfElectron::passPflowPreselection_
private

Definition at line 720 of file GsfElectron.h.

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

PflowIsolationVariables reco::GsfElectron::pfIso_
private

Definition at line 685 of file GsfElectron.h.

Referenced by pfIsolationVariables(), and setPfIsolationVariables().

PixelMatchVariables reco::GsfElectron::pixelMatchVariables_
private
SaturationInfo reco::GsfElectron::saturationInfo_
private

Definition at line 519 of file GsfElectron.h.

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

ShowerShape reco::GsfElectron::showerShape_
private
TrackClusterMatching reco::GsfElectron::trackClusterMatching_
private
TrackExtrapolations reco::GsfElectron::trackExtrapolations_
private