172 {
return new GsfElectron(*
this,core,electronCluster,closestCtfTrack,conversionPartner,ambiguousTracks) ; }
185 momentum *= newEnergy/momentum.e() ;
CaloClusterPtr electronCluster() const
virtual reco::GsfTrackRef gsfTrack() const
reference to a GsfTrack
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
PixelMatchVariables pixelMatchVariables_
ClosestCtfTrack closestCtfTrack() const
void setP4(P4Kind kind, const LorentzVector &p4, float p4Error, bool setCandidate)
bool isEcalEnergyCorrected
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
float correctedEcalEnergy
virtual void setPdgId(int pdgId) final
float correctedEcalEnergyError
ConversionRejection conversionRejection_
float fromSuperClusterP4Error
float p4Error(P4Kind kind) const
SaturationInfo saturationInfo_
virtual Vector momentum() const final
spatial momentum vector
bool passingCutBasedPreselection() const
GsfTrackRefVector ambiguousGsfTracks_
CaloClusterPtr electronCluster
virtual int charge() const final
electric charge
PflowIsolationVariables pfIso_
void setCorrectedEcalEnergyError(float newEnergyError)
FiducialFlags fiducialFlags_
virtual SuperClusterRef superCluster() const
reference to a SuperCluster
virtual void setCharge(Charge q) final
set electric charge
virtual void setVertex(const Point &vertex)
set vertex
void setTrackMomentumError(float trackMomentumError)
ClassificationVariables classVariables_
ShowerShape full5x5_showerShape_
const ChargeInfo & chargeInfo() const
XYZPointD XYZPoint
point in space with cartesian internal representation
virtual bool overlap(const Candidate &) const
check overlap with another candidate
math::XYZTLorentzVector LorentzVector
Lorentz vector.
virtual GsfElectronCoreRef core() const
void setCorrectedEcalEnergy(float newEnergy)
GsfElectron * clone() const
returns a clone of the Candidate object
RecoCandidate()
default constructor
TrackClusterMatching trackClusterMatching_
bool passCutBasedPreselection_
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
TrackExtrapolations trackExtrapolations_
bool passPflowPreselection_
LorentzVector fromSuperClusterP4
virtual reco::SuperClusterRef superCluster() const
reference to a SuperCluster
float energyError(float E, float *par)
virtual GsfTrackRef gsfTrack() const
reference to a GsfTrack
bool ecalDrivenSeed() const