23 genf::GFAbsTrackRep::GFAbsTrackRep() : fDimension(5),fState(5,1), fCov(5,5), fChiSqu(0), fNdf(0), fStatusFlag(0), fInverted(
false), fFirstState(5,1), fFirstCov(5,5), fLastState(5,1), fLastCov(5,5)
 
   27 genf::GFAbsTrackRep::GFAbsTrackRep(
int dim) : fDimension(dim), fState(dim,1), fCov(dim,dim), fChiSqu(0), fNdf(0), fStatusFlag(0), fInverted(
false), fFirstState(dim,1), fFirstCov(dim,dim), fLastState(dim,1), fLastCov(dim,dim)
 
   34   TMatrixT<Double_t> statePred(fDimension,1);
 
   35   TMatrixT<Double_t> covPred(fDimension,fDimension);
 
   36   double retVal = extrapolate(plane,statePred,covPred);
 
   37   setData(statePred,plane,&covPred);
 
   43   TMatrixT<Double_t> cov(fDimension,fDimension);
 
   44   return extrapolate(plane,statePred,cov);
 
   48   std::cerr << method <<  
" as implemented in " << __FILE__
 
   49             << 
" was called. This means that this feature was used " 
   50             << 
"in a track rep which didnt overwrite this method. " 
   51             << std::endl << 
"C++ throw;" << std::endl;
 
   53   throw GFException(
"genf::GFAbsTrackRep: " + method + 
"() not implemented", __LINE__, __FILE__).
setFatal();
 
   59   Abort(
"extrapolateToPoca()");
 
   67   Abort(
"extrapolateToLine()");
 
   76   Abort(
"getPosMomCov()");
 
   81   std::cout<<
"GFAbsTrackRep::reset"<<std::endl;
 
   82   TVector3 nullVec(0.,0.,0.);
 
   83   fRefPlane.set(nullVec,nullVec,nullVec);
 
   94   out << 
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
 
   95   out <<
"GFAbsTrackRep::Parameters at reference plane ";
 
   97   out <<
"GFAbsTrackRep::State"<<std::endl;
 
   99   out <<
"GFAbsTrackRep::Covariances"<<std::endl;
 
  101   out <<
"GFAbsTrackRep::chi^2"<<std::endl;
 
  102   out <<fChiSqu<<std::endl;
 
  103   out << 
"++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" << std::endl;
 
virtual void extrapolateToLine(const TVector3 &point1, const TVector3 &point2, TVector3 &poca, TVector3 &normVec, TVector3 &poca_onwire)
This method extrapolates to the point of closest approach to a line. 
 
BEGIN_PROLOG could also be cerr
 
virtual void stepalong(double h)
make step of h cm along the track 
 
void PrintROOTmatrix(std::ostream &out, const TMatrixT< T > &m)
 
virtual void getPosMomCov(const GFDetPlane &pl, TVector3 &pos, TVector3 &mom, TMatrixT< Double_t > &cov)
method which gets position, momentum and 6x6 covariance matrix 
 
virtual void extrapolateToPoint(const TVector3 &point, TVector3 &poca, TVector3 &normVec)
This method is to extrapolate the track to point of closest approach to a point in space...
 
virtual double extrapolate(const GFDetPlane &plane, TMatrixT< Double_t > &statePred)
returns the tracklength spanned in this extrapolation 
 
void Abort(std::string method)
 
Exception class for error handling in GENFIT (provides storage for diagnostic information) ...
 
GFException & setFatal(bool b=true)
set fatal flag. if this is true, the fit stops for this current track repr. 
 
BEGIN_PROLOG could also be cout
 
virtual void Print(std::ostream &out=std::cout) const