1 #ifndef TrackReco_Track_h 2 #define TrackReco_Track_h 56 return extra_->innerPosition();
61 return extra_->innerMomentum();
66 return extra_->outerPosition();
71 return extra_->outerMomentum();
76 return extra_->outerStateCovariance();
81 return extra_->innerStateCovariance();
86 return extra_->fillOuter(v);
90 return extra_->fillInner(v);
95 return extra_->outerDetId();
100 return extra_->innerDetId();
105 return extra_->recHitsBegin();
110 return extra_->recHitsEnd();
120 return extra_->recHitsSize();
165 return extra_->outerPhi();
170 return extra_->outerEta();
175 return extra_->outerTheta();
180 return extra_->outerRadius();
205 return extra_->seedDirection();
const edm::RefToBase< TrajectorySeed > & seedRef() const
const Point & referencePoint() const
Reference point on the track.
unsigned short lost() const
Number of lost (=invalid) hits on track.
~Track() override
virtual destructor
double outerPy() const
y coordinate of momentum vector at the outermost hit position
const TrackExtraRef & extra() const
reference to "extra" object
TrackExtraRef extra_
Reference to additional information stored only on RECO.
size_t recHitsSize() const
Get number of RecHits. (Warning, this includes invalid hits, which are not physical hits)...
CovarianceMatrix & fillInner(CovarianceMatrix &v) const
double outerP() const
magnitude of momentum vector at the outermost hit position
bool innerOk() const
return true if the innermost hit is valid
unsigned short numberOfLostHits() const
number of cases where track crossed a layer without getting a hit.
const Vector & momentum() const
track momentum vector
const math::XYZPoint & outerPosition() const
position of the outermost hit
Track()
default constructor
TrackAlgorithm
track algorithm
double outerZ() const
z coordinate of the outermost hit position
const math::XYZPoint & innerPosition() const
position of the innermost hit
double chi2() const
chi-squared of the fit
double ndof() const
number of degrees of freedom of the fit
CovarianceMatrix outerStateCovariance() const
outermost trajectory state curvilinear errors
unsigned int outerDetId() const
DetId of the detector on which surface the outermost state is located.
unsigned short numberOfValidHits() const
number of valid hits found
double outerX() const
x coordinate of the outermost hit position
math::XYZPoint Point
point in the space
trackingRecHit_iterator recHitsBegin() const
Iterator to first hit on the track.
double outerPz() const
z coordinate of momentum vector at the outermost hit position
double outerPt() const
transverse momentum at the outermost hit position
double outerRadius() const
polar radius of the outermost hit position
double outerEta() const
pseudorapidity of the momentum vector at the outermost hit position
void setExtra(const TrackExtraRef &ref)
set reference to "extra" object
const math::XYZVector & outerMomentum() const
momentum vector at the outermost hit position
bool outerOk() const
return true if the outermost hit is valid
const PropagationDirection & seedDirection() const
direction of how the hits were sorted in the original seed
XYZVectorD XYZVector
spatial vector with cartesian internal representation
XYZPointD XYZPoint
point in space with cartesian internal representation
CovarianceMatrix innerStateCovariance() const
innermost trajectory state curvilinear errors
This class analyses the reconstruction quality for a given track.
bool quality(const TrackQuality) const
Track quality.
const math::XYZVector & innerMomentum() const
momentum vector at the innermost hit position
TrackingRecHitRef recHit(size_t i) const
Get i-th hit on the track.
unsigned short found() const
Number of valid hits on track.
double outerY() const
y coordinate of the outermost hit position
const TrackResiduals & residuals() const
get the residuals
int charge() const
track electric charge
double outerTheta() const
polar angle of the momentum vector at the outermost hit position
unsigned int innerDetId() const
DetId of the detector on which surface the innermost state is located.
math::XYZVector Vector
spatial vector
double outerPhi() const
azimuthal angle of the momentum vector at the outermost hit position
CovarianceMatrix & fillOuter(CovarianceMatrix &v) const
fill outermost trajectory state curvilinear errors
double outerPx() const
x coordinate of momentum vector at the outermost hit position
TrackingRecHitCollection::base::const_iterator trackingRecHit_iterator
iterator over a vector of reference to TrackingRecHit in the same collection
trackingRecHit_iterator recHitsEnd() const
Iterator to last hit on the track.