20 #ifndef GeaneTRACKREP_HH 21 #define GeaneTRACKREP_HH 25 #include "FairTrackParP.h" 40 const TVector3 &mom,
const TVector3 &poserr,
const TVector3 &momerr,
double q,
int PDGCode);
44 const TVector3 &mom,
const TVector3 &poserr,
const TVector3 &momerr,
int q,
int PDGCode);
65 virtual double extrapolate(
const GFDetPlane &, TMatrixT<double> &statePred, TMatrixT<double> &covPred);
70 void extrapolateToLine(
const TVector3 &point1,
const TVector3 &point2, TVector3 &poca, TVector3 &dirInPoca, TVector3 &poca_onwire);
72 TVector3
getPocaOnLine(
const TVector3 &p1,
const TVector3 &p2,
bool back =
false);
Base Class for genfit track representations. Defines interface for track parameterizations.
void setPropagator(FairGeanePro *g)
Detector plane genfit geometry class.
FairGeanePro * getPropagator()
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 getPosMomCov(const GFDetPlane &pl, TVector3 &pos, TVector3 &mom, TMatrixT< double > &cov)
method which gets position, momentum and 6x6 covariance matrix
virtual void getPosMom(const GFDetPlane &, TVector3 &pos, TVector3 &mom)
virtual double extrapolate(const GFDetPlane &, TMatrixT< double > &statePred)
returns the tracklength spanned in this extrapolation
virtual GFAbsTrackRep * clone() const
virtual GFAbsTrackRep * prototype() const
TMatrixT< double > fState
The vector of track parameters.
virtual double getCharge() const
TVector3 getPocaOnLine(const TVector3 &p1, const TVector3 &p2, bool back=false)