9 : passCutBasedPreselection_(
false), passMvaPreslection_(
false), ambiguous_(
true), mva_(-999999999), fbrem_(0), class_(
UNKNOWN)
13 : core_(core), passCutBasedPreselection_(
false), passMvaPreslection_(
false), ambiguous_(
true), mva_(-999999999), fbrem_(0), class_(
UNKNOWN)
26 : chargeInfo_(chargeInfo),
28 trackClusterMatching_(tcm), trackExtrapolations_(te),
29 closestCtfTrack_(ctfInfo),
30 fiducialFlags_(ff), showerShape_(ss), conversionRejection_(crv),
31 passCutBasedPreselection_(
false), passMvaPreslection_(
false), ambiguous_(
true),
32 mva_(-999999999), fbrem_(fbrem), class_(
UNKNOWN)
37 setPdgId(-11*charge) ;
38 corrections_.ecalEnergy = superCluster()->energy() ;
78 ambiguousGsfTracks_(ambiguousTracks),
91 trackClusterMatching_.electronCluster = electronCluster ;
92 closestCtfTrack_.ctfTrack = closestCtfTrack ;
93 conversionRejection_.partner = conversionPartner ;
124 {
return new GsfElectron(*
this,core,electronCluster,closestCtfTrack,conversionPartner,ambiguousTracks) ; }
131 <<
"All preselection flags are false,"
132 <<
" either the data is too old or electrons were not preselected." ;
140 momentum *= newEnergy/momentum.e() ;
154 float trackErr,
float electronErr )
157 corrections_.trackMomentumError = trackErr ;
158 corrections_.electronMomentumError = electronErr ;
159 corrections_.isMomentumCorrected =
true ;
virtual reco::GsfTrackRef gsfTrack() const
reference to a GsfTrack
bool checkOverlap(const R &r1, const R &r2) const
check if two components overlap
bool isEcalEnergyCorrected
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
0: Unidentified isolated particle
ConversionRejection conversionRejection_
virtual Vector momentum() const
spatial momentum vector
virtual void setP4(const LorentzVector &p4)
set 4-momentum
bool passingCutBasedPreselection() const
bool passingMvaPreselection() const
SuperClusterRef superCluster() const
reference to a SuperCluster
GsfTrackRefVector ambiguousGsfTracks_
ClosestCtfTrack closestCtfTrack_
FiducialFlags fiducialFlags_
void correctMomentum(const LorentzVector &momentum, float trackMomentumError, float electronMomentumError)
GsfTrackRef gsfTrack() const
reference to a GsfTrack
void correctEcalEnergy(float newEnergy, float newEnergyError)
virtual bool overlap(const Candidate &) const
check overlap with another candidate
math::XYZTLorentzVector LorentzVector
Lorentz vector.
float eEleClusterOverPout
GsfElectron * clone() const
returns a clone of the Candidate object
TrackClusterMatching trackClusterMatching_
bool passCutBasedPreselection_
TrackExtrapolations trackExtrapolations_
virtual const LorentzVector & p4() const
four-momentum Lorentz vector
virtual reco::SuperClusterRef superCluster() const
reference to a SuperCluster
bool ecalDrivenSeed() const