CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
TrkDifTraj Class Referenceabstract

#include <TrkDifTraj.h>

+ Inheritance diagram for TrkDifTraj:

Public Member Functions

 TrkDifTraj (const double lowlim=-99999., const double hilim=99999.)
 
virtual ~TrkDifTraj ()
 
virtual void getDFInfo (double fltLen, DifPoint &pos, DifVector &direction, DifVector &delDirect) const =0
 
virtual void getDFInfo2 (double fltLen, DifPoint &pos, DifVector &direction) const
 
virtual const TrkSimpTrajlocalTrajectory (double fltLen, double &localFlt) const =0
 
- Public Member Functions inherited from Trajectory
 Trajectory (double lowlim, double hilim)
 
virtual ~Trajectory ()
 
virtual HepPoint3D position (double) const =0
 
virtual Hep3Vector direction (double) const =0
 
virtual Hep3Vector delDirect (double) const =0
 
virtual double curvature (double) const =0
 
virtual void getInfo (double fltLen, HepPoint3D &pos, Hep3Vector &direction) const =0
 
virtual void getInfo (double fltLen, HepPoint3D &pos, Hep3Vector &direction, Hep3Vector &delDirect) const =0
 
double distTo0thError (double s, double tol, int pathDir) const
 
virtual double distTo1stError (double s, double tol, int pathDir) const =0
 
virtual double distTo2ndError (double s, double tol, int pathDir) const =0
 
virtual Trajectoryclone () const =0
 
bool validFlightDistance (double f, double tolerance=0.0) const
 
virtual void setFlightRange (double newrange[2])
 
double lowRange () const
 
double hiRange () const
 
double range () const
 
virtual void print (std::ostream &os) const
 
virtual void printAll (std::ostream &os) const
 

Additional Inherited Members

- Protected Member Functions inherited from Trajectory
Trajectoryoperator= (const Trajectory &)
 
- Protected Attributes inherited from Trajectory
double flightrange [2]
 

Detailed Description

Definition at line 28 of file TrkDifTraj.h.

Constructor & Destructor Documentation

◆ TrkDifTraj()

TrkDifTraj::TrkDifTraj ( const double  lowlim = -99999.,
const double  hilim = 99999. 
)

Definition at line 18 of file TrkDifTraj.cxx.

18 :
19 Trajectory(lowlim, hilim) {
20}

◆ ~TrkDifTraj()

TrkDifTraj::~TrkDifTraj ( )
virtual

Definition at line 22 of file TrkDifTraj.cxx.

22{}

Member Function Documentation

◆ getDFInfo()

virtual void TrkDifTraj::getDFInfo ( double  fltLen,
DifPoint pos,
DifVector direction,
DifVector delDirect 
) const
pure virtual

◆ getDFInfo2()

void TrkDifTraj::getDFInfo2 ( double  fltLen,
DifPoint pos,
DifVector direction 
) const
virtual

Reimplemented in HelixTraj, TrkCircleTraj, and TrkDifPieceTraj.

Definition at line 25 of file TrkDifTraj.cxx.

25 {
26 // Slow default implementation. Override in subclasses where speed matters
27 DifVector dummy;
28 getDFInfo(fltLen, pos, direction, dummy);
29}
virtual Hep3Vector direction(double) const =0
virtual void getDFInfo(double fltLen, DifPoint &pos, DifVector &direction, DifVector &delDirect) const =0

Referenced by TrkCompTrk::directionErr(), TrkRep::directionErr(), TrkDifPieceTraj::getDFInfo2(), TrkCompTrk::positionErr(), and TrkRep::positionErr().

◆ localTrajectory()

virtual const TrkSimpTraj * TrkDifTraj::localTrajectory ( double  fltLen,
double &  localFlt 
) const
pure virtual

The documentation for this class was generated from the following files: