00001 #include "DataFormats/TrackReco/interface/Track.h" 00002 00003 using namespace reco; 00004 00005 Track::Track( double chi2, double ndof, const Point & vertex, const Vector & momentum, int charge, 00006 const CovarianceMatrix & cov, 00007 TrackAlgorithm algo, TrackQuality quality) : 00008 TrackBase( chi2, ndof, vertex, momentum, charge, cov, algo, quality ) { 00009 } 00010 00011 Track::~Track() { 00012 } 00013 00014 double Track::residualX (int position) const 00015 { 00016 return extra_->residuals().residualX(position, hitPattern()); 00017 } 00018 00019 double Track::residualY (int position) const 00020 { 00021 return extra_->residuals().residualY(position, hitPattern()); 00022 } 00023