36 namespace genf {
class GFTrackCand; }
61 const TVector3& poserr,
62 const TVector3& momerr,
105 TMatrixT<Double_t>& statePred,
106 TMatrixT<Double_t>& covPred);
110 TMatrixT<Double_t>& statePred);
115 TVector3& dirInPoca);
119 const TVector3& point2,
122 TVector3& poca_onwire);
155 void setData(
const TMatrixT<double>& st,
const GFDetPlane& pl,
const TMatrixT<double>* cov=NULL,
const TMatrixT<double>* aux=NULL);
197 bool RKutta (
const GFDetPlane& plane,
double* P,
double& coveredDistance, std::vector<TVector3>& points, std::vector<double>& pointLengths,
const double& maxLen=-1,
bool calcCov=
true)
const;
199 TVector3
poca2Line(
const TVector3& extr1,
const TVector3& extr2,
const TVector3& point)
const;
209 double Extrap(
const GFDetPlane& plane, TMatrixT<Double_t>*
state, TMatrixT<Double_t>* cov=NULL)
const;
int fPdg
PDG particle code.
const TMatrixT< double > * getAuxInfo(const GFDetPlane &pl)
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.
double fMass
Mass (in GeV)
double extrapolate(const GFDetPlane &, TMatrixT< Double_t > &statePred, TMatrixT< Double_t > &covPred)
returns the tracklength spanned in this extrapolation
RKTrackRep(const RKTrackRep &)
void setData(const TMatrixT< double > &st, const GFDetPlane &pl, const TMatrixT< double > *cov=NULL, const TMatrixT< double > *aux=NULL)
Sets state, plane and (optionally) covariance.
Base Class for genfit track representations. Defines interface for track parameterizations.
TMatrixT< double > fAuxInfo
virtual void setData(const TMatrixT< Double_t > &st, const GFDetPlane &pl, const TMatrixT< Double_t > *cov=NULL)
void rescaleCovOffDiags()
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...
void setPDG(int)
Set PDG particle code.
void switchDirection()
deprecated
RKTrackRep & operator=(const RKTrackRep *)
double Extrap(const GFDetPlane &plane, TMatrixT< Double_t > *state, TMatrixT< Double_t > *cov=NULL) const
Handles propagation and material effects.
virtual GFAbsTrackRep * clone() const
TVector3 getMomLast(const GFDetPlane &)
virtual GFAbsTrackRep * prototype() const
void getPosMom(const GFDetPlane &, TVector3 &pos, TVector3 &mom)
Gets position and momentum in the plane by exrapolating or not.
bool RKutta(const GFDetPlane &plane, double *P, double &coveredDistance, std::vector< TVector3 > &points, std::vector< double > &pointLengths, const double &maxLen=-1, bool calcCov=true) const
Contains all material effects.
TVector3 poca2Line(const TVector3 &extr1, const TVector3 &extr2, const TVector3 &point) const
double getCharge() const
Returns charge.