CMS 3D CMS Logo

HelixArbitraryPlaneCrossing.h
Go to the documentation of this file.
1 #ifndef HELIXARBITRARYPLANECROSSING_H_
2 #define HELIXARBITRARYPLANECROSSING_H_
7 
11 public:
15  const DirectionType& direction,
16  const float curvature,
17  const PropagationDirection propDir = alongMomentum);
18  // destructor
20 
25  std::pair<bool, double> pathLength(const Plane& plane) override;
26 
29  PositionType position(double s) const override;
30 
33  DirectionType direction(double s) const override;
34  //
35  // double precision vectors for internal use
36  //
39 
43 
47 
48 private:
51  inline bool notAtSurface(const Plane&, const PositionTypeDouble&, const float) const dso_internal;
52 
53 private:
55 
56  const double theX0, theY0, theZ0;
59  const double theRho;
60 
62 
63  mutable double theCachedS;
64  mutable double theCachedDPhi;
65  mutable double theCachedSDPhi;
66  mutable double theCachedCDPhi;
67 
68  static const float theNumericalPrecision;
69  static const float theMaxDistToPlane;
70 };
71 
72 #endif
std::pair< bool, double > pathLength(const Plane &plane) override
HelixArbitraryPlaneCrossing2Order theQuadraticCrossingFromStart
Basic3DVector< double > PositionTypeDouble
const PropagationDirection thePropDir
PropagationDirection
PositionTypeDouble positionInDouble(double s) const
bool notAtSurface(const Plane &, const PositionTypeDouble &, const float) const
Definition: Plane.h:16
T curvature(T InversePt, const MagneticField &field)
PositionType position(double s) const override
#define dso_internal
Definition: Visibility.h:13
Basic3DVector< float > PositionType
the helix is passed to the constructor and does not appear in the interface
Basic3DVector< float > DirectionType
Basic3DVector< double > DirectionTypeDouble
DirectionTypeDouble directionInDouble(double s) const
HelixArbitraryPlaneCrossing(const PositionType &point, const DirectionType &direction, const float curvature, const PropagationDirection propDir=alongMomentum)
DirectionType direction(double s) const override
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5