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, int charge,
6  const CovarianceMatrix & cov,
7  TrackAlgorithm algo, TrackQuality quality) :
8  TrackBase( chi2, ndof, vertex, momentum, charge, cov, algo, quality ) {
9 }
10 
12 }
13 
14 double Track::residualX (int position) const
15 {
16  return extra_->residuals().residualX(position, hitPattern());
17 }
18 
19 double Track::residualY (int position) const
20 {
21  return extra_->residuals().residualY(position, hitPattern());
22 }
23 
TrackExtraRef extra_
Reference to additional information stored only on RECO.
Definition: Track.h:125
double charge(const std::vector< uint8_t > &Ampls)
Track()
default constructor
Definition: Track.h:30
TrackAlgorithm
track algorithm
Definition: TrackBase.h:80
virtual ~Track()
virtual destructor
Definition: Track.cc:11
double residualX(int position) const
Definition: Track.cc:14
math::XYZPoint Point
point in the space
Definition: TrackBase.h:74
const HitPattern & hitPattern() const
Access the hit pattern, indicating in which Tracker layers the track has hits.
Definition: TrackBase.h:221
This class analyses the reconstruction quality for a given track.
Definition: TrackQuality.h:28
double residualY(int position) const
Definition: Track.cc:19
static int position[264][3]
Definition: ReadPGInfo.cc:509
math::XYZVector Vector
spatial vector
Definition: TrackBase.h:72