1 #ifndef StraightLineCylinderCrossing_H 2 #define StraightLineCylinderCrossing_H 41 std::pair<bool,double>
chooseSolution (
const double s1,
const double s2)
const;
Basic2DVector< float > PositionType2D
const PropagationDirection thePropDir
Point3DBase< Scalar, LocalTag > LocalPoint
std::pair< bool, double > pathLength(const Cylinder &cyl) const
LocalPoint position(const double s) const
Basic2DVector< float > DirectionType2D
std::pair< bool, double > chooseSolution(const double s1, const double s2) const
Chooses the right solution w.r.t. the propagation direction.
LocalVector DirectionType
const DirectionType theP0
StraightLineCylinderCrossing(const LocalPoint &startingPos, const LocalVector &startingDir, const PropagationDirection propDir=alongMomentum, double tolerance=0)