BOSS 7.0.8
BESIII Offline Software System
|
#include <TrkSimpTraj.h>
Public Member Functions | |
TrkSimpTraj (const HepVector ¶ms, const HepSymMatrix &cov, const double startRange=-99999., const double endRange=99999., const HepPoint3D &refpoint=_theOrigin) | |
TrkSimpTraj (const TrkParams ¶ms, const double startRange=-99999., const double endRange=99999., const HepPoint3D &refpoint=_theOrigin) | |
virtual | ~TrkSimpTraj () |
virtual TrkSimpTraj * | clone () const =0 |
TrkParams * | parameters () |
const TrkParams * | parameters () const |
virtual const TrkSimpTraj * | localTrajectory (double fltLen, double &localFlt) const |
const HepPoint3D & | referencePoint () const |
virtual void | print (std::ostream &os) const |
virtual void | printAll (std::ostream &os) const |
virtual int | nPar () const |
void | changePoint (const HepPoint3D &newpoint, double &fltlen) |
void | setPoint (const HepPoint3D &newpoint) |
TrkSimpTraj & | invert () |
virtual void | invertParams (TrkParams *newparams, std::vector< bool > &flags) const =0 |
virtual TranslateParams | paramFunction () const =0 |
virtual void | visitAccept (TrkVisitor *vis) const =0 |
bool | operator== (const TrkSimpTraj &) const |
Public Member Functions inherited from TrkDifTraj | |
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 TrkSimpTraj * | localTrajectory (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 Trajectory * | clone () 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 |
Public Member Functions inherited from TrkKalDeriv | |
virtual HepMatrix | derivDeflect (double fltlen, deflectDirection idir) const =0 |
virtual HepMatrix | derivDisplace (double fltlen, deflectDirection idir) const =0 |
virtual HepMatrix | derivPFract (double fltlen) const =0 |
Static Public Attributes | |
static HepPoint3D | _theOrigin |
Protected Attributes | |
TrkParams | _dtparams |
HepPoint3D | _refpoint |
Protected Attributes inherited from Trajectory | |
double | flightrange [2] |
Additional Inherited Members | |
Protected Member Functions inherited from Trajectory | |
Trajectory & | operator= (const Trajectory &) |
Definition at line 55 of file TrkSimpTraj.h.
TrkSimpTraj::TrkSimpTraj | ( | const HepVector & | params, |
const HepSymMatrix & | cov, | ||
const double | startRange = -99999. , |
||
const double | endRange = 99999. , |
||
const HepPoint3D & | refpoint = _theOrigin |
||
) |
Definition at line 30 of file TrkSimpTraj.cxx.
TrkSimpTraj::TrkSimpTraj | ( | const TrkParams & | params, |
const double | startRange = -99999. , |
||
const double | endRange = 99999. , |
||
const HepPoint3D & | refpoint = _theOrigin |
||
) |
Definition at line 37 of file TrkSimpTraj.cxx.
|
virtual |
Definition at line 53 of file TrkSimpTraj.cxx.
void TrkSimpTraj::changePoint | ( | const HepPoint3D & | newpoint, |
double & | fltlen | ||
) |
Definition at line 70 of file TrkSimpTraj.cxx.
|
pure virtual |
Implements Trajectory.
Implemented in HelixTraj, NeutTraj, TrkCircleTraj, and TrkDifLineTraj.
Referenced by TrkDifPieceTraj::append(), TrkDifPieceTraj::prepend(), and TrkDifPieceTraj::TrkDifPieceTraj().
TrkSimpTraj & TrkSimpTraj::invert | ( | ) |
Definition at line 128 of file TrkSimpTraj.cxx.
|
pure virtual |
Implemented in NeutTraj, HelixTraj, TrkCircleTraj, and TrkDifLineTraj.
Referenced by invert().
|
virtual |
Implements TrkDifTraj.
Definition at line 59 of file TrkSimpTraj.cxx.
|
inlinevirtual |
Reimplemented in HelixTraj, NeutTraj, TrkCircleTraj, and TrkDifLineTraj.
Definition at line 88 of file TrkSimpTraj.h.
Referenced by TrkHelixFitter::fit(), and invert().
bool TrkSimpTraj::operator== | ( | const TrkSimpTraj & | x | ) | const |
Definition at line 156 of file TrkSimpTraj.cxx.
|
inline |
Definition at line 80 of file TrkSimpTraj.h.
Referenced by changePoint(), TrkMomCalculator::charge(), HelixTraj::d0(), TrkCircleTraj::d0(), TrkDifLineTraj::d0(), TrkHelixFitter::fit(), HelixTraj::getDFInfo(), NeutTraj::getDFInfo(), TrkCircleTraj::getDFInfo(), TrkDifLineTraj::getDFInfo(), HelixTraj::getDFInfo2(), TrkCircleTraj::getDFInfo2(), HelixTraj::getInfo(), TrkCircleRep::helix(), TrkHelixRep::helix(), TrkLineRep::helix(), HelixTraj::HelixTraj(), invert(), TrkSimpleRep::nDof(), nPar(), HelixTraj::omega(), TrkCircleTraj::omega(), HelixTraj::operator=(), TrkCircleTraj::operator=(), TrkDifLineTraj::operator=(), HelixTraj::phi0(), TrkCircleTraj::phi0(), TrkDifLineTraj::phi0(), HelixTraj::position(), TrkMomCalculator::ptMom(), TrkHelixRep::resid(), HelixTraj::tanDip(), TrkDifLineTraj::tanDip(), TrkCircleTraj::TrkCircleTraj(), TrkDifLineTraj::TrkDifLineTraj(), TrkHitOnTrk::TrkHitOnTrk(), TrkMomCalculator::vecMom(), HelixTraj::z0(), and TrkDifLineTraj::z0().
|
inline |
Definition at line 81 of file TrkSimpTraj.h.
|
pure virtual |
Implemented in HelixTraj, NeutTraj, TrkCircleTraj, and TrkDifLineTraj.
Referenced by changePoint().
|
virtual |
Reimplemented from Trajectory.
Reimplemented in HelixTraj.
Definition at line 119 of file TrkSimpTraj.cxx.
|
virtual |
Reimplemented from Trajectory.
Reimplemented in HelixTraj.
Definition at line 108 of file TrkSimpTraj.cxx.
|
inline |
Definition at line 84 of file TrkSimpTraj.h.
Referenced by HelixTraj::getDFInfo(), TrkCircleTraj::getDFInfo(), TrkDifLineTraj::getDFInfo(), HelixTraj::getDFInfo2(), TrkCircleTraj::getDFInfo2(), HelixTraj::getInfo(), TrkCircleTraj::getInfo(), HelixTraj::position(), TrkCircleTraj::position(), TrkDifLineTraj::position(), and TrkDifPieceTraj::printAll().
|
inline |
Definition at line 96 of file TrkSimpTraj.h.
|
pure virtual |
Implemented in HelixTraj, NeutTraj, TrkCircleTraj, and TrkDifLineTraj.
Referenced by TrkMomVisitor::TrkMomVisitor().
|
protected |
Definition at line 117 of file TrkSimpTraj.h.
Referenced by changePoint(), HelixTraj::operator=(), NeutTraj::operator=(), TrkCircleTraj::operator=(), TrkDifLineTraj::operator=(), operator==(), parameters(), and printAll().
|
protected |
Definition at line 118 of file TrkSimpTraj.h.
Referenced by changePoint(), HelixTraj::operator=(), TrkCircleTraj::operator=(), TrkDifLineTraj::operator=(), operator==(), referencePoint(), and setPoint().
|
static |
Definition at line 59 of file TrkSimpTraj.h.