#include <IterativeHelixExtrapolatorToLine.h>
Public Member Functions | |
virtual DirectionType | direction (double s) const |
DirectionTypeDouble | directionInDouble (double s) const |
IterativeHelixExtrapolatorToLine (const PositionType &point, const DirectionType &direction, const float curvature, const PropagationDirection propDir=anyDirection) | |
virtual std::pair< bool, double > | pathLength (const GlobalPoint &point) const |
virtual std::pair< bool, double > | pathLength (const Line &line) const |
virtual PositionType | position (double s) const |
PositionTypeDouble | positionInDouble (double s) const |
virtual | ~IterativeHelixExtrapolatorToLine () |
Private Member Functions | |
template<class T > | |
std::pair< bool, double > | genericPathLength (const T &object) const dso_internal |
common functionality for extrapolation to line or point More... | |
Private Attributes | |
double | theCachedCDPhi |
double | theCachedDPhi |
double | theCachedS |
double | theCachedSDPhi |
double | theCosPhi0 |
double | theCosTheta |
const PropagationDirection | thePropDir |
HelixExtrapolatorToLine2Order | theQuadraticSolutionFromStart |
const double | theRho |
double | theSinPhi0 |
double | theSinTheta |
const double | theX0 |
const double | theY0 |
const double | theZ0 |
Additional Inherited Members | |
Public Types inherited from HelixLineExtrapolation | |
typedef Basic3DVector< float > | DirectionType |
typedef Basic3DVector< double > | DirectionTypeDouble |
typedef Basic3DVector< float > | PositionType |
typedef Basic3DVector< double > | PositionTypeDouble |
Calculates closest approach of a helix to a line or a point by iterative use of a 2nd order expansion of the helix.
Definition at line 13 of file IterativeHelixExtrapolatorToLine.h.
IterativeHelixExtrapolatorToLine::IterativeHelixExtrapolatorToLine | ( | const PositionType & | point, |
const DirectionType & | direction, | ||
const float | curvature, | ||
const PropagationDirection | propDir = anyDirection |
||
) |
Constructor using point, direction and (transverse!) curvature.
Definition at line 5 of file IterativeHelixExtrapolatorToLine.cc.
References AlCaHLTBitMon_ParallelJobs::p, mathSSE::sqrt(), Basic3DVector< T >::x(), Basic3DVector< T >::y(), and Basic3DVector< T >::z().
|
inlinevirtual |
Definition at line 22 of file IterativeHelixExtrapolatorToLine.h.
|
virtual |
Direction at pathlength s from the starting point.
Implements HelixLineExtrapolation.
Definition at line 183 of file IterativeHelixExtrapolatorToLine.cc.
References directionInDouble().
Referenced by AnalyticalImpactPointExtrapolator::propagateWithHelix(), and AnalyticalTrajectoryExtrapolatorToLine::propagateWithHelix().
HelixLineExtrapolation::DirectionTypeDouble IterativeHelixExtrapolatorToLine::directionInDouble | ( | double | s | ) | const |
Direction at pathlength s from the starting point.
Definition at line 194 of file IterativeHelixExtrapolatorToLine.cc.
References funct::cos(), HelixExtrapolatorToLine2Order::directionInDouble(), alignCSCRings::e, alignCSCRings::s, funct::sin(), theCachedCDPhi, theCachedDPhi, theCachedS, theCachedSDPhi, theCosPhi0, theCosTheta, theQuadraticSolutionFromStart, theRho, theSinPhi0, and theSinTheta.
Referenced by direction(), and genericPathLength().
|
private |
common functionality for extrapolation to line or point
Definition at line 58 of file IterativeHelixExtrapolatorToLine.cc.
References alongMomentum, anyDirection, directionInDouble(), first, align_cfg::iteration, oppositeToMomentum, HelixExtrapolatorToLine2Order::pathLength(), positionInDouble(), theCosPhi0, theCosTheta, thePropDir, theQuadraticSolutionFromStart, theRho, theSinPhi0, theSinTheta, theX0, theY0, theZ0, Basic3DVector< T >::x(), Basic3DVector< T >::y(), and Basic3DVector< T >::z().
Referenced by pathLength().
|
virtual |
Propagation status (true if valid) and (signed) path length along the helix from the starting point to the closest approach. to the point. The starting point is given in the constructor.
Implements HelixLineExtrapolation.
Definition at line 40 of file IterativeHelixExtrapolatorToLine.cc.
References genericPathLength().
Referenced by AnalyticalImpactPointExtrapolator::propagateWithHelix(), and AnalyticalTrajectoryExtrapolatorToLine::propagateWithHelix().
|
virtual |
Propagation status (true if valid) and (signed) path length along the helix from the starting point to the closest approach to the line. The starting point is given in the constructor.
Implements HelixLineExtrapolation.
Definition at line 48 of file IterativeHelixExtrapolatorToLine.cc.
References genericPathLength().
|
virtual |
Position at pathlength s from the starting point.
Implements HelixLineExtrapolation.
Definition at line 135 of file IterativeHelixExtrapolatorToLine.cc.
References positionInDouble().
Referenced by AnalyticalImpactPointExtrapolator::propagateWithHelix(), and AnalyticalTrajectoryExtrapolatorToLine::propagateWithHelix().
HelixLineExtrapolation::PositionTypeDouble IterativeHelixExtrapolatorToLine::positionInDouble | ( | double | s | ) | const |
Position at pathlength s from the starting point.
Definition at line 144 of file IterativeHelixExtrapolatorToLine.cc.
References funct::cos(), alignCSCRings::e, HelixExtrapolatorToLine2Order::positionInDouble(), alignCSCRings::s, funct::sin(), theCachedCDPhi, theCachedDPhi, theCachedS, theCachedSDPhi, theCosPhi0, theCosTheta, theQuadraticSolutionFromStart, theRho, theSinPhi0, theSinTheta, theX0, theY0, and theZ0.
Referenced by genericPathLength(), and position().
|
mutableprivate |
Definition at line 70 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), and positionInDouble().
|
mutableprivate |
Definition at line 68 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), and positionInDouble().
|
mutableprivate |
Definition at line 67 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), and positionInDouble().
|
mutableprivate |
Definition at line 69 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), and positionInDouble().
|
private |
Definition at line 59 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), genericPathLength(), and positionInDouble().
|
private |
Definition at line 60 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), genericPathLength(), and positionInDouble().
|
private |
Definition at line 65 of file IterativeHelixExtrapolatorToLine.h.
Referenced by genericPathLength().
|
private |
Definition at line 63 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), genericPathLength(), and positionInDouble().
|
private |
Definition at line 61 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), genericPathLength(), and positionInDouble().
|
private |
Definition at line 59 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), genericPathLength(), and positionInDouble().
|
private |
Definition at line 60 of file IterativeHelixExtrapolatorToLine.h.
Referenced by directionInDouble(), genericPathLength(), and positionInDouble().
|
private |
Definition at line 58 of file IterativeHelixExtrapolatorToLine.h.
Referenced by genericPathLength(), and positionInDouble().
|
private |
Definition at line 58 of file IterativeHelixExtrapolatorToLine.h.
Referenced by genericPathLength(), and positionInDouble().
|
private |
Definition at line 58 of file IterativeHelixExtrapolatorToLine.h.
Referenced by genericPathLength(), and positionInDouble().