CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Track.cc
Go to the documentation of this file.
2 
3 using namespace reco;
4 
5 Track::Track(double chi2, double ndof, const Point &vertex, const Vector &momentum,
8  TrackBase(chi2, ndof, vertex, momentum, charge, cov, algo, quality)
9 {
10  ;
11 }
12 
14 {
15 
16 }
17 
18 double Track::residualX (int position) const
19 {
20  return extra_->residuals().residualX(position, hitPattern());
21 }
22 
23 double Track::residualY (int position) const
24 {
25  return extra_->residuals().residualY(position, hitPattern());
26 }
27 
TrackExtraRef extra_
Reference to additional information stored only on RECO.
Definition: Track.h:231
Track()
default constructor
Definition: Track.h:34
TrackAlgorithm
track algorithm
Definition: TrackBase.h:99
virtual ~Track()
virtual destructor
Definition: Track.cc:13
double residualX(int position) const
Definition: Track.cc:18
math::XYZPoint Point
point in the space
Definition: TrackBase.h:83
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:411
This class analyses the reconstruction quality for a given track.
Definition: TrackQuality.h:28
double residualY(int position) const
Definition: Track.cc:23
static int position[264][3]
Definition: ReadPGInfo.cc:509
math::XYZVector Vector
spatial vector
Definition: TrackBase.h:80