65 if (fabs(rho) < 1.
e-10) {
69 s = sign > 0 ?
dx.mag() : -
dx.mag();
119 double pmag(p.
mag());
123 std::pair<bool, double> propResult = extrapolator.
pathLength(vertex);
124 if (!propResult.first)
126 s = propResult.second;
136 pGen *= pmag / pGen.
mag();
virtual void setPropagationDirection(PropagationDirection dir)
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
const GlobalTrajectoryParameters & parameters() const
ReturnType plane(const PositionType &pos, const RotationType &rot) const
Global3DPoint GlobalPoint
TrackCharge charge() const
const CurvilinearTrajectoryError & curvilinearError() const
const SurfaceType & surface() const
FreeTrajectoryState const * freeTrajectoryState(bool withErrors=true) const
GlobalVector momentum() const
GlobalPoint position() const
GlobalPoint position() const
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
double transverseCurvature() const
const AlgebraicSymMatrix55 & matrix() const
Global3DVector GlobalVector