#include <SiStripElectron.h>
Public Member Functions | |
double | chi2 () const |
returns chi^2 of fit to tracker hits | |
virtual SiStripElectron * | clone () const |
returns a clone of the candidate | |
bool | isElectron () const |
int | ndof () const |
returns number of degrees of freedom of fit to tracker hits | |
unsigned int | numberOfBarrelRphiHits () const |
returns number of barrel rphi hits in phi band | |
unsigned int | numberOfEndcapZphiHits () const |
returns number of endcap zphi hits in phi band | |
unsigned int | numberOfStereoHits () const |
returns number of stereo hits in phi band (barrel + endcap) | |
double | phiAtOrigin () const |
returns phi(r=0) intercept from fit to tracker hits | |
double | phiVsRSlope () const |
returns phi(r) slope from fit to tracker hits | |
double | pt () const |
returns transverse momentum, as determined by fit to tracker hits | |
double | pz () const |
returns longitudinal momentum, as determined by fit to tracker hits | |
const std::vector < SiStripRecHit2D > & | rphiRecHits () const |
reference to the rphiRecHits identified as belonging to an electron | |
SiStripElectron (Charge q, const LorentzVector &p4, const Point &vtx=Point(0, 0, 0)) | |
constructor from RecoCandidate | |
SiStripElectron (const reco::SuperClusterRef &superCluster, Charge q, const std::vector< SiStripRecHit2D > &rphiRecHits, const std::vector< SiStripRecHit2D > &stereoRecHits, double superClusterPhiVsRSlope, double phiVsRSlope, double phiAtOrigin, double chi2, int ndof, double pt, double pz, double zVsRSlope, unsigned int numberOfStereoHits, unsigned int numberOfBarrelRphiHits, unsigned int numberOfEndcapZphiHits) | |
constructor from band algorithm | |
SiStripElectron () | |
default constructor | |
SiStripElectron (const SiStripElectron &rhs) | |
copy constructor (update in SiStripElectron.cc) | |
const std::vector < SiStripRecHit2D > & | stereoRecHits () const |
reference to the stereoRecHits identified as belonging to an electron | |
virtual reco::SuperClusterRef | superCluster () const |
reference to a SuperCluster | |
double | superClusterPhiVsRSlope () const |
returns phi(r) projection from supercluster | |
double | zVsRSlope () const |
returns z(r) slope fit from stereo tracker hits (constrained to pass through supercluster) | |
virtual | ~SiStripElectron () |
destructor | |
Private Member Functions | |
virtual bool | overlap (const Candidate &) const |
check overlap with another candidate | |
Private Attributes | |
double | chi2_ |
int | ndof_ |
unsigned int | numberOfBarrelRphiHits_ |
unsigned int | numberOfEndcapZphiHits_ |
unsigned int | numberOfStereoHits_ |
double | phiAtOrigin_ |
double | phiVsRSlope_ |
double | pt_ |
four-momentum Lorentz vector | |
double | pz_ |
std::vector< SiStripRecHit2D > | rphiRecHits_ |
std::vector< SiStripRecHit2D > | stereoRecHits_ |
reco::SuperClusterRef | superCluster_ |
reference to a SuperCluster | |
double | superClusterPhiVsRSlope_ |
double | zVsRSlope_ |
Definition at line 36 of file SiStripElectron.h.
reco::SiStripElectron::SiStripElectron | ( | ) | [inline] |
default constructor
Definition at line 39 of file SiStripElectron.h.
Referenced by clone().
: RecoCandidate() { }
reco::SiStripElectron::SiStripElectron | ( | const reco::SuperClusterRef & | superCluster, |
Charge | q, | ||
const std::vector< SiStripRecHit2D > & | rphiRecHits, | ||
const std::vector< SiStripRecHit2D > & | stereoRecHits, | ||
double | superClusterPhiVsRSlope, | ||
double | phiVsRSlope, | ||
double | phiAtOrigin, | ||
double | chi2, | ||
int | ndof, | ||
double | pt, | ||
double | pz, | ||
double | zVsRSlope, | ||
unsigned int | numberOfStereoHits, | ||
unsigned int | numberOfBarrelRphiHits, | ||
unsigned int | numberOfEndcapZphiHits | ||
) | [inline] |
constructor from band algorithm
Definition at line 41 of file SiStripElectron.h.
: RecoCandidate(q, LorentzVector(pt*cos(phiAtOrigin), pt*sin(phiAtOrigin), pz, sqrt( pt*pt + pz*pz + 0.000510*0.000510)), Point(0,0,0), -11 * q ) , superCluster_(superCluster) , rphiRecHits_(rphiRecHits) , stereoRecHits_(stereoRecHits) , superClusterPhiVsRSlope_(superClusterPhiVsRSlope) , phiVsRSlope_(phiVsRSlope) , phiAtOrigin_(phiAtOrigin) , chi2_(chi2) , ndof_(ndof) , pt_(pt) , pz_(pz) , zVsRSlope_(zVsRSlope) , numberOfStereoHits_(numberOfStereoHits) , numberOfBarrelRphiHits_(numberOfBarrelRphiHits) , numberOfEndcapZphiHits_(numberOfEndcapZphiHits) { }
reco::SiStripElectron::SiStripElectron | ( | const SiStripElectron & | rhs | ) | [inline] |
copy constructor (update in SiStripElectron.cc)
Definition at line 74 of file SiStripElectron.h.
: RecoCandidate(rhs) , superCluster_(rhs.superCluster()) , rphiRecHits_(rhs.rphiRecHits()) , stereoRecHits_(rhs.stereoRecHits()) , superClusterPhiVsRSlope_(rhs.superClusterPhiVsRSlope()) , phiVsRSlope_(rhs.phiVsRSlope()) , phiAtOrigin_(rhs.phiAtOrigin()) , chi2_(rhs.chi2()) , ndof_(rhs.ndof()) , pt_(rhs.pt()) , pz_(rhs.pz()) , zVsRSlope_(rhs.zVsRSlope()) , numberOfStereoHits_(rhs.numberOfStereoHits()) , numberOfBarrelRphiHits_(rhs.numberOfBarrelRphiHits()) , numberOfEndcapZphiHits_(rhs.numberOfEndcapZphiHits()) { }
reco::SiStripElectron::SiStripElectron | ( | Charge | q, |
const LorentzVector & | p4, | ||
const Point & | vtx = Point( 0, 0, 0 ) |
||
) | [inline] |
constructor from RecoCandidate
Definition at line 92 of file SiStripElectron.h.
: RecoCandidate( q, p4, vtx, -11 * q ) { }
SiStripElectron::~SiStripElectron | ( | ) | [virtual] |
double reco::SiStripElectron::chi2 | ( | void | ) | const [inline] |
returns chi^2 of fit to tracker hits
Definition at line 113 of file SiStripElectron.h.
References chi2_.
{ return chi2_; }
SiStripElectron * SiStripElectron::clone | ( | void | ) | const [virtual] |
returns a clone of the candidate
Reimplemented from reco::RecoCandidate.
Definition at line 53 of file SiStripElectron.cc.
References SiStripElectron().
{ return new SiStripElectron( * this ); }
bool SiStripElectron::isElectron | ( | ) | const [virtual] |
Reimplemented from reco::LeafCandidate.
Definition at line 74 of file SiStripElectron.cc.
{ return true; }
int reco::SiStripElectron::ndof | ( | ) | const [inline] |
returns number of degrees of freedom of fit to tracker hits
Definition at line 115 of file SiStripElectron.h.
References ndof_.
{ return ndof_; }
unsigned int reco::SiStripElectron::numberOfBarrelRphiHits | ( | ) | const [inline] |
returns number of barrel rphi hits in phi band
Definition at line 128 of file SiStripElectron.h.
References numberOfBarrelRphiHits_.
{ return numberOfBarrelRphiHits_; }
unsigned int reco::SiStripElectron::numberOfEndcapZphiHits | ( | ) | const [inline] |
returns number of endcap zphi hits in phi band
Definition at line 130 of file SiStripElectron.h.
References numberOfEndcapZphiHits_.
{ return numberOfEndcapZphiHits_; }
unsigned int reco::SiStripElectron::numberOfStereoHits | ( | ) | const [inline] |
returns number of stereo hits in phi band (barrel + endcap)
Definition at line 126 of file SiStripElectron.h.
References numberOfStereoHits_.
{ return numberOfStereoHits_; }
bool SiStripElectron::overlap | ( | const Candidate & | c | ) | const [private, virtual] |
check overlap with another candidate
Implements reco::RecoCandidate.
Definition at line 65 of file SiStripElectron.cc.
References trackerHits::c, reco::RecoCandidate::checkOverlap(), python::connectstrParser::o, superCluster(), reco::RecoCandidate::superCluster(), and reco::RecoCandidate::track().
{ const RecoCandidate * o = dynamic_cast<const RecoCandidate *>( & c ); return ( o != 0 && ! ( checkOverlap( track(), o->track() ) || checkOverlap( superCluster(), o->superCluster() ) ) ); return false; }
double reco::SiStripElectron::phiAtOrigin | ( | ) | const [inline] |
returns phi(r=0) intercept from fit to tracker hits
Definition at line 111 of file SiStripElectron.h.
References phiAtOrigin_.
{ return phiAtOrigin_; }
double reco::SiStripElectron::phiVsRSlope | ( | ) | const [inline] |
returns phi(r) slope from fit to tracker hits
Definition at line 109 of file SiStripElectron.h.
References phiVsRSlope_.
{ return phiVsRSlope_; }
double reco::SiStripElectron::pt | ( | ) | const [inline, virtual] |
returns transverse momentum, as determined by fit to tracker hits
Reimplemented from reco::LeafCandidate.
Definition at line 118 of file SiStripElectron.h.
References pt_.
{ return pt_; }
double reco::SiStripElectron::pz | ( | ) | const [inline, virtual] |
returns longitudinal momentum, as determined by fit to tracker hits
Reimplemented from reco::LeafCandidate.
Definition at line 120 of file SiStripElectron.h.
References pz_.
{ return pz_; }
const std::vector<SiStripRecHit2D>& reco::SiStripElectron::rphiRecHits | ( | ) | const [inline] |
reference to the rphiRecHits identified as belonging to an electron
Definition at line 102 of file SiStripElectron.h.
References rphiRecHits_.
{ return rphiRecHits_; }
const std::vector<SiStripRecHit2D>& reco::SiStripElectron::stereoRecHits | ( | ) | const [inline] |
reference to the stereoRecHits identified as belonging to an electron
Definition at line 104 of file SiStripElectron.h.
References stereoRecHits_.
{ return stereoRecHits_; }
SuperClusterRef SiStripElectron::superCluster | ( | ) | const [virtual] |
reference to a SuperCluster
Reimplemented from reco::RecoCandidate.
Definition at line 61 of file SiStripElectron.cc.
References superCluster_.
Referenced by overlap().
{ return superCluster_; }
double reco::SiStripElectron::superClusterPhiVsRSlope | ( | ) | const [inline] |
returns phi(r) projection from supercluster
Definition at line 107 of file SiStripElectron.h.
References superClusterPhiVsRSlope_.
{ return superClusterPhiVsRSlope_; }
double reco::SiStripElectron::zVsRSlope | ( | ) | const [inline] |
returns z(r) slope fit from stereo tracker hits (constrained to pass through supercluster)
Definition at line 123 of file SiStripElectron.h.
References zVsRSlope_.
{ return zVsRSlope_; }
double reco::SiStripElectron::chi2_ [private] |
Definition at line 144 of file SiStripElectron.h.
Referenced by chi2().
int reco::SiStripElectron::ndof_ [private] |
Definition at line 145 of file SiStripElectron.h.
Referenced by ndof().
unsigned int reco::SiStripElectron::numberOfBarrelRphiHits_ [private] |
Definition at line 153 of file SiStripElectron.h.
Referenced by numberOfBarrelRphiHits().
unsigned int reco::SiStripElectron::numberOfEndcapZphiHits_ [private] |
Definition at line 154 of file SiStripElectron.h.
Referenced by numberOfEndcapZphiHits().
unsigned int reco::SiStripElectron::numberOfStereoHits_ [private] |
Definition at line 152 of file SiStripElectron.h.
Referenced by numberOfStereoHits().
double reco::SiStripElectron::phiAtOrigin_ [private] |
Definition at line 143 of file SiStripElectron.h.
Referenced by phiAtOrigin().
double reco::SiStripElectron::phiVsRSlope_ [private] |
Definition at line 142 of file SiStripElectron.h.
Referenced by phiVsRSlope().
double reco::SiStripElectron::pt_ [private] |
four-momentum Lorentz vector
Reimplemented from reco::LeafCandidate.
Definition at line 147 of file SiStripElectron.h.
Referenced by pt().
double reco::SiStripElectron::pz_ [private] |
Definition at line 148 of file SiStripElectron.h.
Referenced by pz().
std::vector<SiStripRecHit2D> reco::SiStripElectron::rphiRecHits_ [private] |
Definition at line 138 of file SiStripElectron.h.
Referenced by rphiRecHits().
std::vector<SiStripRecHit2D> reco::SiStripElectron::stereoRecHits_ [private] |
Definition at line 139 of file SiStripElectron.h.
Referenced by stereoRecHits().
reference to a SuperCluster
Definition at line 137 of file SiStripElectron.h.
Referenced by superCluster().
double reco::SiStripElectron::superClusterPhiVsRSlope_ [private] |
Definition at line 141 of file SiStripElectron.h.
Referenced by superClusterPhiVsRSlope().
double reco::SiStripElectron::zVsRSlope_ [private] |
Definition at line 150 of file SiStripElectron.h.
Referenced by zVsRSlope().