13#include "CLHEP/Matrix/Matrix.h"
22 _direction.setMag(1.0);
27 const Hep3Vector& direction,
34 _direction.setMag(1.0);
40 :
TrkGeomTraj(0.0,point1.distance2(point2)), _start(point1)
43 _direction = ((CLHEP::Hep3Vector) point2) - ((CLHEP::Hep3Vector) point1);
44 _direction.setMag(1.0);
48 TrkGeomTraj(other.lowRange(),other.hiRange()), _start(other._start),
49 _direction(other._direction)
61 _start = other._start;
62 _direction = other._direction;
76 return _start + _direction*flightlen;
88 return Hep3Vector(0.,0.,0.);
118 Hep3Vector& delDir)
const
Trajectory & operator=(const Trajectory &)
virtual void visitLine(const TrkLineTraj *)=0
TrkLineTraj(const HepPoint3D &point, const Hep3Vector &direction, double length)
Hep3Vector direction(double) const
TrkLineTraj * clone() const
void accept(TrkGeomTrajVisitor &visitor) const
void getInfo(double fltLen, HepPoint3D &, Hep3Vector &direction) const
virtual double distTo1stError(double s, double tol, int pathDir) const
virtual double distTo2ndError(double s, double tol, int pathDir) const
TrkLineTraj & operator=(const TrkLineTraj &)
Hep3Vector delDirect(double) const
double curvature(double f=0.) const
HepPoint3D position(double) const