51 RKTrackRep(
const TVector3 &pos,
const TVector3 &mom,
const TVector3 &poserr,
const TVector3 &momerr,
const int &PDGCode);
55 RKTrackRep(
const TVector3 &pos,
const TVector3 &mom,
const int &PDGCode);
137 void extrapolateToLine(
const TVector3 &point1,
const TVector3 &point2, TVector3 &poca, TVector3 &dirInPoca, TVector3 &poca_onwire);
143 double stepalong(
double h, TVector3 &point, TVector3 &dir);
175 void setData(
const TMatrixT<double> &st,
const GFDetPlane &pl,
const TMatrixT<double> *cov =
nullptr,
const TMatrixT<double> *aux =
nullptr);
197 bool RKutta(
const GFDetPlane &plane,
double *P,
double &coveredDistance, std::vector<TVector3> &points, std::vector<double> &pointLengths,
const double &maxLen = -1,
198 bool calcCov =
true)
const;
200 TVector3 poca2Line(
const TVector3 &extr1,
const TVector3 &extr2,
const TVector3 &point)
const;
210 double Extrap(
const GFDetPlane &plane, TMatrixT<double> *state, TMatrixT<double> *cov =
nullptr)
const;
228 TMatrixT<double> fAuxInfo;
void setData(const TMatrixT< double > &st, const GFDetPlane &pl, const TMatrixT< double > *cov=nullptr, const TMatrixT< double > *aux=nullptr)
Sets state, plane and (optionally) covariance.
Base Class for genfit track representations. Defines interface for track parameterizations.
Detector plane genfit geometry class.
void getPosMom(const GFDetPlane &, TVector3 &pos, TVector3 &mom)
Gets position and momentum in the plane.
virtual GFAbsTrackRep * clone() const
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 switchDirection()
deprecated
Track Representation module based on a Runge-Kutta algorithm including a full material model...
bool hasAuxInfo()
See if the track representation has auxillary information stored.
void getPosMomCov(const GFDetPlane &pl, TVector3 &pos, TVector3 &mom, TMatrixT< double > &cov)
method which gets position, momentum and 6x6 covariance matrix
double getCharge() const
Returns charge.
Track candidate – a list of cluster indices.
double stepalong(double h, TVector3 &point, TVector3 &dir)
make step of h cm along the track, returns the tracklength spanned in this extrapolation ...
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 GFAbsTrackRep * prototype() const
void setPDG(int)
Set PDG particle code.
const TMatrixT< double > * getAuxInfo(const GFDetPlane &pl)
Get auxillary information from the track representation.
double extrapolate(const GFDetPlane &, TMatrixT< double > &statePred, TMatrixT< double > &covPred)
returns the tracklength spanned in this extrapolation