57 const TVector3& poserr,
58 const TVector3& momerr,
101 TMatrixT<double>& statePred,
102 TMatrixT<double>& covPred);
106 TMatrixT<double>& statePred);
111 TVector3& dirInPoca);
115 const TVector3& point2,
118 TVector3& poca_onwire);
158 void setData(
const TMatrixT<double>& st,
const GFDetPlane& pl,
const TMatrixT<double>* cov=NULL,
const TMatrixT<double>* aux=NULL);
181 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;
183 TVector3
poca2Line(
const TVector3& extr1,
const TVector3& extr2,
const TVector3&
point)
const;
193 double Extrap(
const GFDetPlane& plane, TMatrixT<double>* state, TMatrixT<double>* cov=NULL)
const;
Base Class for genfit track representations. Defines interface for track parameterizations.
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.
double Extrap(const GFDetPlane &plane, TMatrixT< double > *state, TMatrixT< double > *cov=NULL) const
Handles propagation and material effects.
Detector plane genfit geometry class.
void getPosMom(const GFDetPlane &, TVector3 &pos, TVector3 &mom)
Gets position and momentum in the plane.
RKTrackRep & operator=(const RKTrackRep *)
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.
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
Propagates the particle through the magnetic field.
double getCharge() const
Returns charge.
virtual GFAbsTrackRep * prototype() const
void switchDirection()
deprecated
int fPdg
PDG particle code.
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.
double fMass
Mass (in GeV)
void getPosMomCov(const GFDetPlane &pl, TVector3 &pos, TVector3 &mom, TMatrixT< double > &cov)
method which gets position, momentum and 6x6 covariance matrix
virtual GFAbsTrackRep * clone() const
Track candidate – a list of cluster indices.
TMatrixT< double > fAuxInfo
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...
TVector3 poca2Line(const TVector3 &extr1, const TVector3 &extr2, const TVector3 &point) const
void setPDG(int)
Set PDG particle code.
double extrapolate(const GFDetPlane &, TMatrixT< double > &statePred, TMatrixT< double > &covPred)
returns the tracklength spanned in this extrapolation
const TMatrixT< double > * getAuxInfo(const GFDetPlane &pl)
Get auxillary information from the track representation.