61 const TVector3& poserr,
62 const TVector3& momerr,
67 RKTrackRep(
const TVector3& pos,
const TVector3& mom,
const int& PDGCode);
100 TMatrixT<Double_t>& statePred,
101 TMatrixT<Double_t>& covPred);
111 const TVector3& point2,
114 TVector3& poca_onwire);
146 void setData(
const TMatrixT<double>& st,
148 const TMatrixT<double>* cov = NULL,
149 const TMatrixT<double>* aux = NULL);
191 double& coveredDistance,
192 std::vector<TVector3>& points,
193 std::vector<double>& pointLengths,
194 const double& maxLen = -1,
195 bool calcCov =
true)
const;
197 TVector3
poca2Line(
const TVector3& extr1,
const TVector3& extr2,
const TVector3& point)
const;
208 TMatrixT<Double_t>* state,
209 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.
Generic Interface to magnetic fields in GENFIT.
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.