#include <HelixBarrelCylinderCrossing.h>
Public Types | |
typedef GlobalVector | DirectionType |
typedef GlobalPoint | PositionType |
Public Member Functions | |
DirectionType | direction () const |
bool | hasSolution () const |
HelixBarrelCylinderCrossing (const GlobalPoint &startingPos, const GlobalVector &startingDir, double rho, PropagationDirection propDir, const Cylinder &cyl) | |
double | pathLength () const |
PositionType | position () const |
Private Types | |
typedef Basic2DVector< TmpType > | Point |
typedef double | TmpType |
typedef Basic2DVector< TmpType > | Vector |
Private Member Functions | |
void | chooseSolution (const Point &p1, const Point &p2, const PositionType &startingPos, const DirectionType &startingDir, PropagationDirection propDir) |
Private Attributes | |
int | theActualDir |
Vector | theD |
DirectionType | theDir |
PositionType | thePos |
double | theS |
bool | theSolExists |
Calculates the crossing of a helix with a barrel cylinder.
Definition at line 14 of file HelixBarrelCylinderCrossing.h.
Definition at line 23 of file HelixBarrelCylinderCrossing.h.
|
private |
Definition at line 17 of file HelixBarrelCylinderCrossing.h.
Definition at line 22 of file HelixBarrelCylinderCrossing.h.
|
private |
Definition at line 16 of file HelixBarrelCylinderCrossing.h.
|
private |
Definition at line 18 of file HelixBarrelCylinderCrossing.h.
HelixBarrelCylinderCrossing::HelixBarrelCylinderCrossing | ( | const GlobalPoint & | startingPos, |
const GlobalVector & | startingDir, | ||
double | rho, | ||
PropagationDirection | propDir, | ||
const Cylinder & | cyl | ||
) |
Definition at line 14 of file HelixBarrelCylinderCrossing.cc.
References abs, funct::C, chooseSolution(), debug_cff::d1, python.Vispa.Plugins.EdmBrowser.EdmDataAccessor::eq(), RealQuadEquation::first, RealQuadEquation::hasSolution, PV3DBase< T, PVType, FrameType >::mag(), Basic2DVector< T >::mag(), p2, StraightLineCylinderCrossing::pathLength(), PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::perp2(), dttmaxenums::R, Cylinder::radius(), rho, RealQuadEquation::second, mathSSE::sqrt(), theActualDir, theD, theDir, thePos, theS, theSolExists, tmp, Surface::toGlobal(), GloballyPositioned< T >::toLocal(), Basic2DVector< T >::x(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), Basic2DVector< T >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 101 of file HelixBarrelCylinderCrossing.cc.
References alongMomentum, anyDirection, debug_cff::d1, Basic2DVector< T >::mag2(), theActualDir, theD, theSolExists, Basic2DVector< T >::x(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and Basic2DVector< T >::y().
Referenced by HelixBarrelCylinderCrossing().
|
inline |
Returns the direction along the helix that corresponds to path length "s" from the starting point. As for position, the direction of the crossing with a cylinder (if it exists!) is given by direction( pathLength( cylinder)).
Definition at line 51 of file HelixBarrelCylinderCrossing.h.
References theDir.
|
inline |
Definition at line 30 of file HelixBarrelCylinderCrossing.h.
References theSolExists.
Referenced by TIBLayer::computeCrossings(), TOBLayer::computeCrossings(), and PixelBarrelLayer::computeCrossings().
|
inline |
Propagation status (true if valid) and (signed) path length along the helix from the starting point to the cylinder. The starting point and the cylinder are given in the constructor.
Definition at line 36 of file HelixBarrelCylinderCrossing.h.
References theS.
Referenced by AnalyticalPropagator::propagateParametersOnCylinder().
|
inline |
Returns the position along the helix that corresponds to path length "s" from the starting point. If s is obtained from the pathLength method the position is the destination point, i.e. the position of the crossing with a cylinder (if it exists!) is given by position( pathLength( cylinder)).
Definition at line 44 of file HelixBarrelCylinderCrossing.h.
References thePos.
Referenced by TIBLayer::computeCrossings(), TOBLayer::computeCrossings(), and PixelBarrelLayer::computeCrossings().
|
private |
Definition at line 60 of file HelixBarrelCylinderCrossing.h.
Referenced by chooseSolution(), and HelixBarrelCylinderCrossing().
|
private |
Definition at line 59 of file HelixBarrelCylinderCrossing.h.
Referenced by chooseSolution(), and HelixBarrelCylinderCrossing().
|
private |
Definition at line 58 of file HelixBarrelCylinderCrossing.h.
Referenced by direction(), and HelixBarrelCylinderCrossing().
|
private |
Definition at line 57 of file HelixBarrelCylinderCrossing.h.
Referenced by HelixBarrelCylinderCrossing(), and position().
|
private |
Definition at line 56 of file HelixBarrelCylinderCrossing.h.
Referenced by HelixBarrelCylinderCrossing(), and pathLength().
|
private |
Definition at line 55 of file HelixBarrelCylinderCrossing.h.
Referenced by chooseSolution(), hasSolution(), and HelixBarrelCylinderCrossing().