20 #ifndef GeaneTRACKREP_HH
21 #define GeaneTRACKREP_HH
25 #include "FairTrackParP.h"
44 const TVector3& poserr,
45 const TVector3& momerr,
52 const TVector3& poserr,
53 const TVector3& momerr,
78 TMatrixT<double>& statePred,
79 TMatrixT<double>& covPred);
87 const TVector3& point2,
90 TVector3& poca_onwire);
virtual void getPosMomCov(const GFDetPlane &pl, TVector3 &pos, TVector3 &mom, TMatrixT< double > &cov)
method which gets position, momentum and 6x6 covariance matrix
virtual double extrapolate(const GFDetPlane &, TMatrixT< double > &statePred)
returns the tracklength spanned in this extrapolation
Base Class for genfit track representations. Defines interface for track parameterizations.
void setPropagator(FairGeanePro *g)
Detector plane genfit geometry class.
FairGeanePro * getPropagator()
virtual GFAbsTrackRep * clone() const
friend std::ostream & operator<<(std::ostream &s, const GeaneTrackRep &me)
void extrapolateToLine(const TVector3 &point1, const TVector3 &point2, TVector3 &poca, TVector3 &dirInPoca, TVector3 &poca_onwire)
This method extrapolates to the point of closest approach to a line.
void extrapolateToPoint(const TVector3 &pos, TVector3 &poca, TVector3 &dirInPoca)
This method is to extrapolate the track to point of closest approach to a point in space...
virtual void getPosMom(const GFDetPlane &, TVector3 &pos, TVector3 &mom)
virtual double getCharge() const
TMatrixT< double > fState
The vector of track parameters.
virtual GFAbsTrackRep * prototype() const
TVector3 getPocaOnLine(const TVector3 &p1, const TVector3 &p2, bool back=false)