CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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  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
 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
 
bool ecalDriven () const
 
bool ecalDrivenSeed () const
 
float ecalEnergy () const
 
float ecalEnergyError () const
 
float eEleClusterOverPout () const
 
CaloClusterPtr electronCluster () const
 
float eSeedClusterOverP () const
 
float eSeedClusterOverPout () const
 
float eSuperClusterOverP () const
 
float fbrem () const
 
const FiducialFlagsfiducialFlags () const
 
float full5x5_e1x5 () const
 
float full5x5_e2x5Max () const
 
float full5x5_e5x5 () 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 &)
 
virtual GsfTrackRef gsfTrack () const
 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
 
virtual bool isElectron () const
 
bool isEnergyScaleCorrected () const
 
bool isGap () const
 
bool isGsfCtfChargeConsistent () const
 
bool isGsfCtfScPixChargeConsistent () const
 
bool isGsfScPixChargeConsistent () const
 
const IsolationVariablesisolationVariables03 () const
 
const IsolationVariablesisolationVariables04 () const
 
float mva_e_pi () const
 
float mva_Isolated () const
 
const MvaInputmvaInput () const
 
const MvaOutputmvaOutput () const
 
int numberOfBrems () const
 
virtual bool overlap (const Candidate &) const
 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
 
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 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 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
 
virtual SuperClusterRef superCluster () const
 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
 
virtual ~GsfElectron ()
 
- Public Member Functions inherited from reco::RecoCandidate
virtual const TrackbestTrack () const
 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...
 
virtual reco::TrackRef combinedMuon () const
 reference to a stand-alone muon Track More...
 
virtual float dxyError () const
 uncertainty on dxy More...
 
virtual float dzError () const
 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...
 
virtual ~RecoCandidate ()
 destructor More...
 
- Public Member Functions inherited from reco::LeafCandidate
virtual Vector boostToCM () const
 
virtual int charge () const
 electric charge More...
 
void construct (int qx3, float pt, float eta, float phi, float mass, const Point &vtx, int pdgId, int status)
 
virtual const Candidatedaughter (size_type) const
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (size_type)
 return daughter at a given position (throws an exception) More...
 
virtual Candidatedaughter (const std::string &s)
 return daughter with a specified role name More...
 
virtual const Candidatedaughter (const std::string &s) const
 return daughter with a specified role name More...
 
virtual double energy () const
 energy More...
 
virtual double et () const
 transverse energy More...
 
virtual double et2 () const
 transverse energy squared (use this for cut!) More...
 
virtual double eta () const
 momentum pseudorapidity More...
 
virtual void fillVertexCovariance (CovarianceMatrix &v) const
 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...
 
virtual bool hasMasterClone () const
 
virtual bool hasMasterClonePtr () const
 
virtual bool isCaloMuon () const
 
virtual bool isConvertedPhoton () const
 
virtual bool isGlobalMuon () const
 
virtual bool isJet () const
 
virtual bool isMuon () const
 
virtual bool isPhoton () const
 
virtual bool isStandAloneMuon () const
 
virtual bool isTrackerMuon () const
 
 LeafCandidate ()
 
 LeafCandidate (const Candidate &c)
 
template<typename... Args>
 LeafCandidate (Args &&...args)
 
 LeafCandidate (LeafCandidate &rh)
 
 LeafCandidate (LeafCandidate &&)=default
 
 LeafCandidate (LeafCandidate const &)=default
 
virtual bool longLived () const
 is long lived? More...
 
virtual double mass () const
 mass More...
 
virtual bool massConstraint () const
 do mass constraint? More...
 
virtual double massSqr () const
 mass squared More...
 
virtual const CandidateBaseRefmasterClone () const
 
virtual const CandidatePtrmasterClonePtr () const
 
template<typename Ref >
Ref masterRef () const
 cast master clone reference to a concrete type More...
 
virtual Vector momentum () const
 spatial momentum vector More...
 
virtual const Candidatemother (size_type) const
 return mother at a given position (throws an exception) More...
 
virtual double mt () const
 transverse mass More...
 
virtual double mtSqr () const
 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...
 
virtual size_t numberOfDaughters () const
 number of daughters More...
 
virtual size_t numberOfMothers () const
 number of mothers More...
 
virtual size_t numberOfSourceCandidatePtrs () const
 
LeafCandidateoperator= (LeafCandidate &&)=default
 
LeafCandidateoperator= (LeafCandidate const &)=default
 
virtual double p () const
 magnitude of momentum vector More...
 
virtual const LorentzVectorp4 () const
 four-momentum Lorentz vector More...
 
virtual int pdgId () const
 PDG identifier. More...
 
virtual double phi () const
 momentum azimuthal angle More...
 
virtual const PolarLorentzVectorpolarP4 () const
 four-momentum Lorentz vector More...
 
virtual double pt () const
 transverse momentum More...
 
virtual double px () const
 x coordinate of momentum vector More...
 
virtual double py () const
 y coordinate of momentum vector More...
 
virtual double pz () const
 z coordinate of momentum vector More...
 
virtual double rapidity () const
 rapidity More...
 
virtual void setCharge (Charge q)
 set electric charge More...
 
virtual void setLongLived ()
 
virtual void setMass (double m)
 set particle mass More...
 
virtual void setMassConstraint ()
 
virtual void setP4 (const LorentzVector &p4)
 set 4-momentum More...
 
virtual void setP4 (const PolarLorentzVector &p4)
 set 4-momentum More...
 
virtual void setPdgId (int pdgId)
 
virtual void setPz (double pz)
 
virtual void setStatus (int status)
 set status word More...
 
virtual void setThreeCharge (Charge qx3)
 set electric charge More...
 
virtual void setVertex (const Point &vertex)
 set vertex More...
 
virtual CandidatePtr sourceCandidatePtr (size_type i) const
 
virtual int status () const
 status word More...
 
virtual double theta () const
 momentum polar angle More...
 
virtual int threeCharge () const
 electric charge More...
 
virtual const Pointvertex () const
 vertex position (overwritten by PF...) More...
 
virtual double vertexChi2 () const
 chi-squares More...
 
virtual double vertexCovariance (int i, int j) const
 (i, j)-th element of error matrix, i, j = 0, ... 2 More...
 
CovarianceMatrix vertexCovariance () const
 return SMatrix More...
 
virtual double vertexNdof () const
 
virtual double vertexNormalizedChi2 () const
 chi-squared divided by n.d.o.f. More...
 
virtual double vx () const
 x coordinate of vertex position More...
 
virtual double vy () const
 y coordinate of vertex position More...
 
virtual double vz () const
 z coordinate of vertex position More...
 
virtual double y () const
 rapidity More...
 
virtual ~LeafCandidate ()
 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_
 
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 674 of file GsfElectron.h.

Enumerator
P4_UNKNOWN 
P4_FROM_SUPER_CLUSTER 
P4_COMBINATION 
P4_PFLOW_COMBINATION 

Definition at line 722 of file GsfElectron.h.

Constructor & Destructor Documentation

GsfElectron::GsfElectron ( )

Definition at line 19 of file GsfElectron.cc.

References init().

Referenced by clone().

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

Definition at line 22 of file GsfElectron.cc.

References init().

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

Definition at line 74 of file GsfElectron.cc.

76  : RecoCandidate(electron),
77  chargeInfo_(electron.chargeInfo_),
78  core_(core),
81  //closestCtfTrack_(electron.closestCtfTrack_),
83  showerShape_(electron.showerShape_),
84  dr03_(electron.dr03_), dr04_(electron.dr04_),
86  pfIso_(electron.pfIso_),
87  mvaInput_(electron.mvaInput_),
88  mvaOutput_(electron.mvaOutput_),
92  ambiguous_(electron.ambiguous_),
95  class_(electron.class_),
96  corrections_(electron.corrections_),
98  {
99  //assert(electron.core()->ctfTrack()==core->ctfTrack()) ;
100  //assert(electron.core()->ctfGsfOverlap()==core->ctfGsfOverlap()) ;
101  }
MvaInput mvaInput_
Definition: GsfElectron.h:620
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:824
Classification class_
Definition: GsfElectron.h:696
ConversionRejection conversionRejection_
Definition: GsfElectron.h:547
Corrections corrections_
Definition: GsfElectron.h:788
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:657
ChargeInfo chargeInfo_
Definition: GsfElectron.h:164
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:619
MvaOutput mvaOutput_
Definition: GsfElectron.h:621
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:366
ShowerShape showerShape_
Definition: GsfElectron.h:451
IsolationVariables dr04_
Definition: GsfElectron.h:512
ClassificationVariables classVariables_
Definition: GsfElectron.h:695
GsfElectronCoreRef core_
Definition: GsfElectron.h:205
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:266
bool passCutBasedPreselection_
Definition: GsfElectron.h:653
IsolationVariables dr03_
Definition: GsfElectron.h:511
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
bool passPflowPreselection_
Definition: GsfElectron.h:654
GsfElectron::GsfElectron ( const GsfElectron electron,
const GsfElectronCoreRef core,
const CaloClusterPtr electronCluster,
const TrackRef closestCtfTrack,
const TrackBaseRef conversionPartner,
const GsfTrackRefVector ambiguousTracks 
)

Definition at line 104 of file GsfElectron.cc.

110  : RecoCandidate(electron),
111  chargeInfo_(electron.chargeInfo_),
112  core_(core),
115  //closestCtfTrack_(electron.closestCtfTrack_),
116  fiducialFlags_(electron.fiducialFlags_),
117  showerShape_(electron.showerShape_),
119  dr03_(electron.dr03_), dr04_(electron.dr04_),
121  pfIso_(electron.pfIso_),
122  mvaInput_(electron.mvaInput_),
123  mvaOutput_(electron.mvaOutput_),
127  ambiguous_(electron.ambiguous_),
128  ambiguousGsfTracks_(ambiguousTracks),
129  //mva_(electron.mva_),
131  class_(electron.class_),
132  corrections_(electron.corrections_),
134  {
136  //closestCtfTrack_.ctfTrack = closestCtfTrack ;
137  conversionRejection_.partner = conversionPartner ;
138  //assert(closestCtfTrack==core->ctfTrack()) ;
139  //assert(electron.core()->ctfGsfOverlap()==core->ctfGsfOverlap()) ;
140  // TO BE DONE
141  // Check that the new edm references are really
142  // the clones of the former references, and therefore other attributes
143  // stay valid :
144  // * electron.core_ ~ core ?
145  // * electron.trackClusterMatching_.electronCluster ~ electronCluster ?
146  // * electron.closestCtfTrack_.ctfTrack ~ closestCtfTrack ?
147  // * electron.ambiguousGsfTracks_ ~ ambiguousTracks ?
148  }
CaloClusterPtr electronCluster() const
Definition: GsfElectron.h:242
MvaInput mvaInput_
Definition: GsfElectron.h:620
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:824
Classification class_
Definition: GsfElectron.h:696
ConversionRejection conversionRejection_
Definition: GsfElectron.h:547
Corrections corrections_
Definition: GsfElectron.h:788
GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:657
ChargeInfo chargeInfo_
Definition: GsfElectron.h:164
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:619
MvaOutput mvaOutput_
Definition: GsfElectron.h:621
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:366
ShowerShape showerShape_
Definition: GsfElectron.h:451
IsolationVariables dr04_
Definition: GsfElectron.h:512
ClassificationVariables classVariables_
Definition: GsfElectron.h:695
GsfElectronCoreRef core_
Definition: GsfElectron.h:205
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:452
RecoCandidate()
default constructor
Definition: RecoCandidate.h:23
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:266
bool passCutBasedPreselection_
Definition: GsfElectron.h:653
IsolationVariables dr03_
Definition: GsfElectron.h:511
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
bool passPflowPreselection_
Definition: GsfElectron.h:654
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 init, and reco::GsfElectron::TrackExtrapolations::positionAtVtx.

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  }
virtual void setCharge(Charge q)
set electric charge
Definition: LeafCandidate.h:93
ConversionRejection conversionRejection_
Definition: GsfElectron.h:547
Corrections corrections_
Definition: GsfElectron.h:788
ChargeInfo chargeInfo_
Definition: GsfElectron.h:164
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:366
ShowerShape showerShape_
Definition: GsfElectron.h:451
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
Definition: GsfElectron.h:182
virtual int charge() const
electric charge
Definition: LeafCandidate.h:91
virtual void setVertex(const Point &vertex)
set vertex
GsfElectronCoreRef core_
Definition: GsfElectron.h:205
const ChargeInfo & chargeInfo() const
Definition: GsfElectron.h:155
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
virtual void setPdgId(int pdgId)
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:266
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
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 
)

Definition at line 49 of file GsfElectron.cc.

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

58  core_(core),
60  //closestCtfTrack_(ctfInfo),
63  {
64  init() ;
65  setCharge(charge) ;
66  setVertex(math::XYZPoint(te.positionAtVtx.x(),te.positionAtVtx.y(),te.positionAtVtx.z())) ;
67  setPdgId(-11*charge) ;
68  /*if (ecalDrivenSeed())*/ corrections_.correctedEcalEnergy = superCluster()->energy() ;
69  //assert(ctfInfo.ctfTrack==(GsfElectron::core()->ctfTrack())) ;
70  //assert(ctfInfo.shFracInnerHits==(GsfElectron::core()->ctfGsfOverlap())) ;
71  }
virtual void setCharge(Charge q)
set electric charge
Definition: LeafCandidate.h:93
ConversionRejection conversionRejection_
Definition: GsfElectron.h:547
Corrections corrections_
Definition: GsfElectron.h:788
ChargeInfo chargeInfo_
Definition: GsfElectron.h:164
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:366
ShowerShape showerShape_
Definition: GsfElectron.h:451
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
Definition: GsfElectron.h:182
virtual int charge() const
electric charge
Definition: LeafCandidate.h:91
virtual void setVertex(const Point &vertex)
set vertex
GsfElectronCoreRef core_
Definition: GsfElectron.h:205
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:452
const ChargeInfo & chargeInfo() const
Definition: GsfElectron.h:155
XYZPointD XYZPoint
point in space with cartesian internal representation
Definition: Point3D.h:12
virtual void setPdgId(int pdgId)
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:266
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
virtual reco::GsfElectron::~GsfElectron ( )
inlinevirtual

Definition at line 112 of file GsfElectron.h.

112 {} ;

Member Function Documentation

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

Definition at line 644 of file GsfElectron.h.

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

Referenced by PFElectronTranslator::createGsfElectrons().

GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:657
void push_back(value_type const &ref)
Add a Ref&lt;C, T&gt; to the RefVector.
Definition: RefVector.h:64
bool reco::GsfElectron::ambiguous ( ) const
inline

Definition at line 634 of file GsfElectron.h.

References ambiguous_.

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

Definition at line 636 of file GsfElectron.h.

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

Referenced by ConversionTools::matchesConversion().

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

Definition at line 637 of file GsfElectron.h.

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

Referenced by ConversionTools::matchesConversion().

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

Definition at line 319 of file GsfElectron.h.

References superCluster().

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

Definition at line 320 of file GsfElectron.h.

References superCluster().

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

Definition at line 318 of file GsfElectron.h.

References superCluster().

Referenced by numberOfBrems().

318 { return superCluster()->clustersSize() ; } // number of basic clusters inside the supercluster
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
Definition: GsfElectron.h:182
float reco::GsfElectron::caloEnergy ( ) const
inline
math::XYZPoint reco::GsfElectron::caloPosition ( ) const
inline

Definition at line 323 of file GsfElectron.h.

References superCluster().

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

323 { return superCluster()->position() ; }
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
Definition: GsfElectron.h:182
P4Kind reco::GsfElectron::candidateP4Kind ( ) const
inline
const ChargeInfo& reco::GsfElectron::chargeInfo ( ) const
inline

Definition at line 155 of file GsfElectron.h.

References chargeInfo_.

Referenced by WenuPlots::analyze().

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

Definition at line 679 of file GsfElectron.h.

References classVariables_.

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

Definition at line 643 of file GsfElectron.h.

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

GsfTrackRefVector ambiguousGsfTracks_
Definition: GsfElectron.h:657
void clear()
Clear the vector.
Definition: RefVector.h:133
GsfElectron * GsfElectron::clone ( void  ) const
virtual

returns a clone of the Candidate object

Reimplemented from reco::RecoCandidate.

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

Definition at line 159 of file GsfElectron.cc.

References GsfElectron().

160  { 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 163 of file GsfElectron.cc.

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

Definition at line 200 of file GsfElectron.h.

References core(), and ctfGsfOverlap().

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

Definition at line 184 of file GsfElectron.h.

References core().

Referenced by ElectronMaker::electronIsoValuePF().

184 { 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 542 of file GsfElectron.h.

References conversionRejection_.

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

Definition at line 538 of file GsfElectron.h.

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

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

Definition at line 776 of file GsfElectron.h.

References setCorrectedEcalEnergy(), and setEcalEnergyError().

Referenced by RegressionEnergyPatElectronProducer::produce().

777  {
778  setCorrectedEcalEnergy(newEnergy) ;
779  setEcalEnergyError(newEnergyError) ;
780  }
void setEcalEnergyError(float energyError)
Definition: GsfElectron.h:770
void setCorrectedEcalEnergy(float newEnergy)
Definition: GsfElectron.cc:180
float reco::GsfElectron::correctedEcalEnergy ( ) const
inline
float reco::GsfElectron::correctedEcalEnergyError ( ) const
inline
const Corrections& reco::GsfElectron::corrections ( ) const
inline

Definition at line 764 of file GsfElectron.h.

References corrections_.

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

Definition at line 781 of file GsfElectron.h.

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

Referenced by ElectronMomentumCorrector::correct(), RegressionEnergyPatElectronProducer::produce(), and CalibratedElectronProducer::produce().

void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:197
float trackMomentumError() const
Definition: GsfElectron.h:759
float p4Error(P4Kind kind) const
Definition: GsfElectron.cc:235
void setTrackMomentumError(float trackMomentumError)
Definition: GsfElectron.cc:193
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
float reco::GsfElectron::ctfGsfOverlap ( ) const
inline

Definition at line 185 of file GsfElectron.h.

References core().

Referenced by closestCtfTrack().

185 { 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 253 of file GsfElectron.h.

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

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

Definition at line 247 of file GsfElectron.h.

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

Referenced by ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), EwkElecDQM::analyze(), ElectronMcFakeValidator::analyze(), WenuPlots::analyze(), GsfElectronMCFakeAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), CutBasedElectronID::cicSelection(), pat::ElectronSelector::customSelection_(), FWElectronDetailView::deltaEtaSuperClusterTrackAtVtx(), egHLT::OffEle::dEtaIn(), ElectronLikelihood::getInputVar(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), DQMExample_Step1::MediumEle(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), passesElectronId(), passesElectronPreId(), EgammaCutBasedEleId::PassTriggerCuts(), ClassBasedElectronID::result(), PTDRElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), and EgammaCutBasedEleId::TestWP().

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

Definition at line 250 of file GsfElectron.h.

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

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

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

References dr03HcalDepth1TowerSumEtBc(), and dr03HcalDepth2TowerSumEtBc().

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

Definition at line 485 of file GsfElectron.h.

References dr03_.

Referenced by WenuPlots::analyze().

485 { return dr03_ ; }
IsolationVariables dr03_
Definition: GsfElectron.h:511
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 495 of file GsfElectron.h.

References dr04HcalDepth1TowerSumEtBc(), and dr04HcalDepth2TowerSumEtBc().

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

Definition at line 496 of file GsfElectron.h.

References dr04_.

496 { return dr04_ ; }
IsolationVariables dr04_
Definition: GsfElectron.h:512
float reco::GsfElectron::dr04TkSumPt ( ) const
inline
float reco::GsfElectron::e1x5 ( ) const
inline
float reco::GsfElectron::e2x5Max ( ) const
inline
float reco::GsfElectron::e5x5 ( ) const
inline
bool GsfElectron::ecalDriven ( ) const

Definition at line 172 of file GsfElectron.cc.

References ecalDrivenSeed(), and passingCutBasedPreselection().

Referenced by RegressionHelper::applyCombinationRegression(), and CalibratedElectronProducer::produce().

173  {
175  }
bool passingCutBasedPreselection() const
Definition: GsfElectron.h:632
bool ecalDrivenSeed() const
Definition: GsfElectron.h:186
bool reco::GsfElectron::ecalDrivenSeed ( ) const
inline
float reco::GsfElectron::ecalEnergy ( ) const
inline
float reco::GsfElectron::ecalEnergyError ( ) const
inline

Definition at line 772 of file GsfElectron.h.

References correctedEcalEnergyError().

772 { return correctedEcalEnergyError() ; }
float correctedEcalEnergyError() const
Definition: GsfElectron.h:758
float reco::GsfElectron::eEleClusterOverPout ( ) const
inline
CaloClusterPtr reco::GsfElectron::electronCluster ( ) const
inline
float reco::GsfElectron::eSeedClusterOverP ( ) const
inline
float reco::GsfElectron::eSeedClusterOverPout ( ) const
inline
float reco::GsfElectron::eSuperClusterOverP ( ) const
inline

Definition at line 243 of file GsfElectron.h.

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

Referenced by ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronMCFakeAnalyzer::analyze(), WenuPlots::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::analyze(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergy(), ElectronEnergyRegressionEvaluate::calculateRegressionEnergyUncertainty(), CutBasedElectronID::cicSelection(), CutBasedElectronID::classify(), pat::ElectronSelector::customSelection_(), egHLT::OffEle::epIn(), ElectronLikelihood::getInputVar(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EgAmbiguityTools::isBetter(), PFEGammaFilters::isElectronSafeForJetMET(), DQMExample_Step1::MediumEle(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), EGammaMvaEleEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), EgammaCutBasedEleId::PassEoverPCuts(), RegressionEnergyPatElectronProducer::produce(), PTDRElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), and EgammaCutBasedEleId::TestWP().

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

Definition at line 360 of file GsfElectron.h.

References fiducialFlags_.

360 { return fiducialFlags_ ; }
FiducialFlags fiducialFlags_
Definition: GsfElectron.h:366
float reco::GsfElectron::full5x5_e1x5 ( ) const
inline
float reco::GsfElectron::full5x5_e2x5Max ( ) const
inline
float reco::GsfElectron::full5x5_e5x5 ( ) 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

Definition at line 427 of file GsfElectron.h.

References full5x5_hcalDepth1OverEcal(), and full5x5_hcalDepth2OverEcal().

float full5x5_hcalDepth2OverEcal() const
Definition: GsfElectron.h:426
float full5x5_hcalDepth1OverEcal() const
Definition: GsfElectron.h:425
float reco::GsfElectron::full5x5_hcalOverEcalBc ( ) const
inline

Definition at line 430 of file GsfElectron.h.

References full5x5_hcalDepth1OverEcalBc(), and full5x5_hcalDepth2OverEcalBc().

float full5x5_hcalDepth1OverEcalBc() const
Definition: GsfElectron.h:428
float full5x5_hcalDepth2OverEcalBc() const
Definition: GsfElectron.h:429
float reco::GsfElectron::full5x5_r9 ( ) const
inline
void reco::GsfElectron::full5x5_setShowerShape ( const ShowerShape s)
inline
const ShowerShape& reco::GsfElectron::full5x5_showerShape ( ) const
inline

Definition at line 431 of file GsfElectron.h.

References full5x5_showerShape_.

Referenced by EGFull5x5ShowerShapeModifierFromValueMaps::modifyObject().

431 { return full5x5_showerShape_ ; }
ShowerShape full5x5_showerShape_
Definition: GsfElectron.h:452
float reco::GsfElectron::full5x5_sigmaEtaEta ( ) const
inline
float reco::GsfElectron::full5x5_sigmaIetaIeta ( ) const
inline
float reco::GsfElectron::full5x5_sigmaIphiIphi ( ) const
inline
virtual GsfTrackRef reco::GsfElectron::gsfTrack ( ) const
inlinevirtual

reference to a GsfTrack

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Electron.

Definition at line 183 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(), CutBasedElectronID::cicSelection(), helper::GsfElectronCollectionStoreManager::cloneAndStore(), egammaisolation::EgammaTrackExtractor::deposit(), PFCandWithSuperClusterExtractor::depositFromObject(), Electron.Electron::dxy(), Electron.Electron::dz(), Electron.Electron::edxy(), Electron.Electron::edz(), ElectronMaker::electronIsoValuePF(), WZInterestingEventSelector::electronSelection(), PFIsolationEstimator::fGetIsolationInRings(), egHLT::OffHelper::fillIsolData(), ConversionFinder::getElectronTrack(), ElectronSqPtTkIsolation::getIso(), ElectronTkIsolation::getIso(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), SoftPFElectronTagInfoProducer::isElecClean(), PFEGammaFilters::isElectron(), PFEGammaFilters::isElectronSafeForJetMET(), EGammaMvaEleEstimator::isoMvaValue(), Electron.Electron::lostInner(), DQMExample_Step1::MediumEle(), ElectronMVAEstimator::mva(), SoftElectronMVAEstimator::mva(), Electron.Electron::mvaIDZZ(), EGammaMvaEleEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), AntiElectronIDMVA5::MVAValue(), GsfElectronEqual::operator()(), EgAmbiguityTools::isInnerMost::operator()(), overlap(), GEDGsfElectronFinalizer::produce(), SoftPFElectronTagInfoProducer::produce(), FWElectronProxyBuilder::requestCommon(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), GsfElectronAlgo::setPixelMatchInfomation(), and EgammaCutBasedEleId::TestWP().

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

Definition at line 444 of file GsfElectron.h.

References hcalDepth1OverEcal().

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

Definition at line 445 of file GsfElectron.h.

References hcalDepth2OverEcal().

445 {return hcalDepth2OverEcal();}
float hcalDepth2OverEcal() const
Definition: GsfElectron.h:409
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 411 of file GsfElectron.h.

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

ShowerShape showerShape_
Definition: GsfElectron.h:451
std::vector< CaloTowerDetId > hcalTowersBehindClusters
Definition: GsfElectron.h:386
void GsfElectron::init ( void  )
private

Definition at line 10 of file GsfElectron.cc.

References ambiguous_, class_, edm::false, passCutBasedPreselection_, passMvaPreslection_, passPflowPreselection_, funct::true, and UNKNOWN.

Referenced by GsfElectron().

11  {
15  ambiguous_ = true ;
16  class_ = UNKNOWN ;
17  }
Classification class_
Definition: GsfElectron.h:696
volatile std::atomic< bool > shutdown_flag false
bool passCutBasedPreselection_
Definition: GsfElectron.h:653
bool passPflowPreselection_
Definition: GsfElectron.h:654
bool reco::GsfElectron::isEB ( ) const
inline

Definition at line 350 of file GsfElectron.h.

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

Referenced by 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(), DQMExample_Step1::MediumEle(), EgammaCutBasedEleId::PassTriggerCuts(), ElectronMaker::PFIsolation2012(), RegressionEnergyPatElectronProducer::produce(), CalibratedElectronProducer::produce(), ElectronClassification::refineWithPflow(), ClassBasedElectronID::result(), PTDRElectronID::result(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), ElectronEnergyCorrector::simpleParameterizationUncertainty(), SimpleCutBasedElectronIDSelectionFunctor::spring10Variables(), SuperClusterHelper::SuperClusterHelper(), and EgammaCutBasedEleId::TestWP().

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

Definition at line 354 of file GsfElectron.h.

References isEBEtaGap(), and isEBPhiGap().

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

354 { return (isEBEtaGap()||isEBPhiGap()) ; }
bool isEBEtaGap() const
Definition: GsfElectron.h:355
bool isEBPhiGap() const
Definition: GsfElectron.h:356
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 357 of file GsfElectron.h.

References isEEDeeGap(), and isEERingGap().

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

357 { return (isEEDeeGap()||isEERingGap()) ; }
bool isEERingGap() const
Definition: GsfElectron.h:359
bool isEEDeeGap() const
Definition: GsfElectron.h:358
bool reco::GsfElectron::isEERingGap ( ) const
inline
virtual bool reco::GsfElectron::isElectron ( ) const
inlinevirtual

Reimplemented from reco::LeafCandidate.

Definition at line 158 of file GsfElectron.h.

References funct::true.

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

Definition at line 775 of file GsfElectron.h.

References isEcalEnergyCorrected().

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

Definition at line 352 of file GsfElectron.h.

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

352 { return ((isEBEEGap())||(isEBGap())||(isEEGap())) ; }
bool isEEGap() const
Definition: GsfElectron.h:357
bool isEBEEGap() const
Definition: GsfElectron.h:353
bool isEBGap() const
Definition: GsfElectron.h:354
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 505 of file GsfElectron.h.

References dr03_.

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

Definition at line 506 of file GsfElectron.h.

References dr04_.

506 { return dr04_ ; }
IsolationVariables dr04_
Definition: GsfElectron.h:512
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 605 of file GsfElectron.h.

References mvaInput_.

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

Definition at line 606 of file GsfElectron.h.

References mvaOutput_.

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

606 { return mvaOutput_ ; }
MvaOutput mvaOutput_
Definition: GsfElectron.h:621
int reco::GsfElectron::numberOfBrems ( ) const
inline

Definition at line 683 of file GsfElectron.h.

References basicClustersSize().

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

683 { return basicClustersSize()-1 ; }
int basicClustersSize() const
Definition: GsfElectron.h:318
bool GsfElectron::overlap ( const Candidate ) const
virtual

check overlap with another candidate

Implements reco::RecoCandidate.

Definition at line 150 of file GsfElectron.cc.

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

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

Definition at line 223 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::combinedP4, corrections_, edm::hlt::Exception, reco::GsfElectron::Corrections::fromSuperClusterP4, class-composition::kind, P4_COMBINATION, P4_FROM_SUPER_CLUSTER, P4_PFLOW_COMBINATION, and reco::GsfElectron::Corrections::pflowP4.

Referenced by ElectronTagProbeAnalyzer::analyze(), B2GDQM::analyzeSemiE(), RegressionHelper::applyCombinationRegression(), ElectronTagProbeAnalyzer::computeInvMass(), ElectronAnalyzer::computeInvMass(), ElectronMomentumCorrector::correct(), GsfElectronAlgo::createElectron(), pat::ElectronSelector::customSelection_(), Tau.Tau::dxy_approx(), Tau.Tau::dz(), pat::PATElectronProducer::fillElectron2(), EwkElecTauHistManager::fillHistograms(), Jet.Jet::jetID(), TtSemiLRJetCombObservables::operator()(), egHLT::OffEle::p4(), RegressionEnergyPatElectronProducer::produce(), CalibratedElectronProducer::produce(), SoftPFElectronTagInfoProducer::produce(), WenuPlots::ReturnCandVar(), ZeePlots::ReturnCandVar(), CutBasedElectronID::robustSelection(), and SimpleCutBasedElectronIDSelectionFunctor::spring10Variables().

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

Definition at line 235 of file GsfElectron.cc.

References reco::GsfElectron::Corrections::combinedP4Error, corrections_, edm::hlt::Exception, reco::GsfElectron::Corrections::fromSuperClusterP4Error, class-composition::kind, P4_COMBINATION, P4_FROM_SUPER_CLUSTER, P4_PFLOW_COMBINATION, and reco::GsfElectron::Corrections::pflowP4Error.

Referenced by ElectronMcSignalValidator::analyze(), ElectronMomentumCorrector::correct(), and CalibratedElectronProducer::produce().

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

Definition at line 632 of file GsfElectron.h.

References passCutBasedPreselection_.

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

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

Definition at line 633 of file GsfElectron.h.

References passPflowPreselection_.

Referenced by GsfElectronAlgo::isPreselected().

633 { return passPflowPreselection_ ; }
bool passPflowPreselection_
Definition: GsfElectron.h:654
const PflowIsolationVariables& reco::GsfElectron::pfIsolationVariables ( ) const
inline

Definition at line 604 of file GsfElectron.h.

References pfIso_.

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

604 { return pfIso_ ; }
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:619
float reco::GsfElectron::pixelMatchDPhi1 ( ) const
inline

Definition at line 819 of file GsfElectron.h.

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

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

Definition at line 820 of file GsfElectron.h.

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

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

Definition at line 821 of file GsfElectron.h.

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

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

Definition at line 822 of file GsfElectron.h.

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

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

Definition at line 817 of file GsfElectron.h.

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

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

Definition at line 818 of file GsfElectron.h.

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

818 { return pixelMatchVariables_.subdetectors%10 ; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:801
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:824
float reco::GsfElectron::r9 ( ) const
inline
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 151 of file GsfElectron.h.

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

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

Definition at line 438 of file GsfElectron.h.

References sigmaEtaEta().

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

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

Definition at line 642 of file GsfElectron.h.

References ambiguous_, and archive::flag.

642 { ambiguous_ = flag ; }
void reco::GsfElectron::setClassification ( Classification  myclass)
inline

Definition at line 690 of file GsfElectron.h.

References class_.

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

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

Definition at line 689 of file GsfElectron.h.

References classVariables_, and cuy::cv.

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

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

Definition at line 179 of file GsfElectron.h.

References core(), and core_.

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

Definition at line 180 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(), and ElectronRecalibSuperClusterAssociator::produce().

181  {
183  momentum *= newEnergy/momentum.e() ;
184  setP4(momentum) ;
189  corrections_.correctedEcalEnergy = newEnergy ;
191  }
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:197
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
virtual Vector momentum() const
spatial momentum vector
Corrections corrections_
Definition: GsfElectron.h:788
ShowerShape showerShape_
Definition: GsfElectron.h:451
TrackClusterMatching trackClusterMatching_
Definition: GsfElectron.h:266
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
Definition: LeafCandidate.h:99
void GsfElectron::setCorrectedEcalEnergyError ( float  newEnergyError)
void reco::GsfElectron::setCorrections ( const Corrections c)
inline

Definition at line 767 of file GsfElectron.h.

References EnergyCorrector::c, and corrections_.

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

767 { corrections_ = c; }
Corrections corrections_
Definition: GsfElectron.h:788
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 499 of file GsfElectron.h.

References dr03_.

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

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

Definition at line 500 of file GsfElectron.h.

References dr04_.

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

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

Definition at line 770 of file GsfElectron.h.

References setCorrectedEcalEnergyError().

Referenced by correctEcalEnergy().

void setCorrectedEcalEnergyError(float newEnergyError)
Definition: GsfElectron.cc:177
float energyError(float E, float *par)
void reco::GsfElectron::setIsolation03 ( const IsolationVariables dr03)
inline

Definition at line 503 of file GsfElectron.h.

References dr03_.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 504 of file GsfElectron.h.

References dr04_.

Referenced by GsfElectronAlgo::createElectron().

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

Definition at line 610 of file GsfElectron.h.

References mvaInput_.

Referenced by PFElectronTranslator::createGsfElectrons().

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

Definition at line 611 of file GsfElectron.h.

References mvaOutput_.

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

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

Definition at line 197 of file GsfElectron.cc.

References relativeConstraints::error, edm::hlt::Exception, class-composition::kind, and p4.

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

198  {
199  switch(kind)
200  {
204  break ;
205  case P4_COMBINATION:
208  break ;
212  break ;
213  default:
214  throw cms::Exception("GsfElectron")<<"unexpected p4 kind: "<<kind ;
215  }
216  if (setCandidate)
217  {
218  setP4(p4) ;
220  }
221  }
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
Definition: GsfElectron.cc:197
Corrections corrections_
Definition: GsfElectron.h:788
virtual const LorentzVector & p4() const
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

Definition at line 609 of file GsfElectron.h.

References pfIso_.

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

609 { pfIso_ = iso ; }
PflowIsolationVariables pfIso_
Definition: GsfElectron.h:619
void reco::GsfElectron::setPixelMatchDPhi1 ( float  dPhi1)
inline

Definition at line 812 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

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

Definition at line 813 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

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

Definition at line 814 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

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

Definition at line 815 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

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

Definition at line 811 of file GsfElectron.h.

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

Referenced by GsfElectronAlgo::setPixelMatchInfomation().

811 { pixelMatchVariables_.subdetectors = 10*sd1+sd2 ; }
unsigned char subdetectors
Subdetectors for first and second pixel hit.
Definition: GsfElectron.h:801
PixelMatchVariables pixelMatchVariables_
Definition: GsfElectron.h:824
void reco::GsfElectron::setShowerShape ( const ShowerShape s)
inline

Definition at line 434 of file GsfElectron.h.

References alignCSCRings::s, and showerShape_.

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

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

Definition at line 297 of file GsfElectron.h.

References trackExtrapolations_.

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

297 { trackExtrapolations_ = te; }
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
void reco::GsfElectron::setTrackFbrem ( float  fbrem)
inline
void GsfElectron::setTrackMomentumError ( float  trackMomentumError)

Definition at line 193 of file GsfElectron.cc.

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

Referenced by correctMomentum().

194  { corrections_.trackMomentumError = trackErr ; }
Corrections corrections_
Definition: GsfElectron.h:788
float reco::GsfElectron::shFracInnerHits ( ) const
inline

Definition at line 198 of file GsfElectron.h.

References core().

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

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

Definition at line 415 of file GsfElectron.h.

References showerShape_.

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

reference to a SuperCluster

Reimplemented from reco::RecoCandidate.

Reimplemented in pat::Electron.

Definition at line 182 of file GsfElectron.h.

References core().

Referenced by Electron.Electron::absEffAreaIso(), ZIterativeAlgorithmWithFit::addEvent(), FWElectronDetailView::addSceneInfo(), FWElectronDetailView::addTrackPointsInCaloData(), ElectronMcSignalValidator::analyze(), ElectronTagProbeAnalyzer::analyze(), ElectronMcFakeValidator::analyze(), GsfElectronDataAnalyzer::analyze(), GsfElectronMCFakeAnalyzer::analyze(), DQMAnalyzer::analyze(), GsfElectronFakeAnalyzer::analyze(), GsfElectronMCAnalyzer::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(), FWElectronDetailView::drawCrossHair(), egHLT::OffEle::etaSC(), egHLT::OffEle::etSC(), PFIsolationEstimator::fGetIsolationInRings(), egHLT::OffHelper::fillClusShapeData(), ZeeCalibration::fillEleInfo(), egHLT::OffHelper::fillHLTData(), calib::CalibElectron::getCalibModulesWeights(), ZeeCalibration::getEtaCorrection(), ElectronLikelihood::getInputVar(), ZIterativeAlgorithmWithFit::getWeight(), EGammaMvaEleEstimator::IDIsoCombinedMvaValue(), EGammaMvaEleEstimator::isoMvaValue(), RecoSelector::isSelected(), PFPhotonIsolationCalculator::matchPFObject(), PFIsolationEstimator::matchPFObject(), SoftElectronMVAEstimator::mva(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), EGammaMvaEleEstimator::mvaValue(), EGammaMvaEleEstimatorCSA14::mvaValue(), overlap(), EgammaCutBasedEleId::PassEoverPCuts(), egHLT::OffEle::phiSC(), GsfElectronFull5x5Filler::produce(), CalibratedElectronProducer::produce(), ReducedEGProducer::produce(), PTDRElectronID::result(), ElectronLikelihood::result(), ElectronLikelihood::resultLog(), CutBasedElectronID::robustSelection(), GsfElectronAlgo::setCutBasedPreselectionFlag(), FWElectronDetailView::setTextInfo(), SuperClusterHelper::SuperClusterHelper(), superClusterPosition(), and EgammaCutBasedEleId::TestWP().

182 { 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 317 of file GsfElectron.h.

References superCluster().

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

Definition at line 256 of file GsfElectron.h.

References trackClusterMatching_.

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

Definition at line 294 of file GsfElectron.h.

References trackExtrapolations_.

294 { return trackExtrapolations_ ; }
TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
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
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

Definition at line 288 of file GsfElectron.h.

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

Referenced by TrackPositionAtCalo().

TrackExtrapolations trackExtrapolations_
Definition: GsfElectron.h:307
math::XYZPointF reco::GsfElectron::TrackPositionAtCalo ( ) const
inline

Definition at line 301 of file GsfElectron.h.

References trackPositionAtCalo().

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

Definition at line 287 of file GsfElectron.h.

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

Referenced by TrackPositionAtVtx().

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

Definition at line 300 of file GsfElectron.h.

References trackPositionAtVtx().

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

300 { return trackPositionAtVtx() ; }
math::XYZPointF trackPositionAtVtx() const
Definition: GsfElectron.h:287

Member Data Documentation

bool reco::GsfElectron::ambiguous_
private

Definition at line 656 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 696 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 205 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 620 of file GsfElectron.h.

Referenced by mvaInput(), and setMvaInput().

MvaOutput reco::GsfElectron::mvaOutput_
private

Definition at line 621 of file GsfElectron.h.

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

bool reco::GsfElectron::passCutBasedPreselection_
private

Definition at line 653 of file GsfElectron.h.

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

bool reco::GsfElectron::passMvaPreslection_
private

Definition at line 655 of file GsfElectron.h.

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

bool reco::GsfElectron::passPflowPreselection_
private

Definition at line 654 of file GsfElectron.h.

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

PflowIsolationVariables reco::GsfElectron::pfIso_
private

Definition at line 619 of file GsfElectron.h.

Referenced by pfIsolationVariables(), and setPfIsolationVariables().

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