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
Visibility.h
HelixArbitraryPlaneCrossing::PositionTypeDouble
Basic3DVector< double > PositionTypeDouble
Definition: HelixArbitraryPlaneCrossing.h:37
HelixPlaneCrossing::DirectionType
Basic3DVector< float > DirectionType
Definition: HelixPlaneCrossing.h:23
HelixArbitraryPlaneCrossing::theCachedSDPhi
double theCachedSDPhi
Definition: HelixArbitraryPlaneCrossing.h:65
HelixArbitraryPlaneCrossing::directionInDouble
DirectionTypeDouble directionInDouble(double s) const
Definition: HelixArbitraryPlaneCrossing.cc:203
PixelRecoUtilities::curvature
T curvature(T InversePt, const edm::EventSetup &iSetup)
Definition: PixelRecoUtilities.h:42
HelixArbitraryPlaneCrossing::pathLength
std::pair< bool, double > pathLength(const Plane &plane) override
Definition: HelixArbitraryPlaneCrossing.cc:64
HelixArbitraryPlaneCrossing::theNumericalPrecision
static const float theNumericalPrecision
Definition: HelixArbitraryPlaneCrossing.h:68
HelixArbitraryPlaneCrossing::DirectionTypeDouble
Basic3DVector< double > DirectionTypeDouble
Definition: HelixArbitraryPlaneCrossing.h:38
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HelixArbitraryPlaneCrossing::theRho
const double theRho
Definition: HelixArbitraryPlaneCrossing.h:59
HelixArbitraryPlaneCrossing
Definition: HelixArbitraryPlaneCrossing.h:10
HelixArbitraryPlaneCrossing::~HelixArbitraryPlaneCrossing
~HelixArbitraryPlaneCrossing() override
Definition: HelixArbitraryPlaneCrossing.h:19
HelixArbitraryPlaneCrossing::theY0
const double theY0
Definition: HelixArbitraryPlaneCrossing.h:56
HelixArbitraryPlaneCrossing::position
PositionType position(double s) const override
Definition: HelixArbitraryPlaneCrossing.cc:149
HelixArbitraryPlaneCrossing::theCosTheta
double theCosTheta
Definition: HelixArbitraryPlaneCrossing.h:58
HelixArbitraryPlaneCrossing::theMaxDistToPlane
static const float theMaxDistToPlane
Definition: HelixArbitraryPlaneCrossing.h:69
HelixArbitraryPlaneCrossing::HelixArbitraryPlaneCrossing
HelixArbitraryPlaneCrossing(const PositionType &point, const DirectionType &direction, const float curvature, const PropagationDirection propDir=alongMomentum)
Definition: HelixArbitraryPlaneCrossing.cc:32
HelixArbitraryPlaneCrossing::direction
DirectionType direction(double s) const override
Definition: HelixArbitraryPlaneCrossing.cc:195
HelixArbitraryPlaneCrossing::positionInDouble
PositionTypeDouble positionInDouble(double s) const
Definition: HelixArbitraryPlaneCrossing.cc:157
HelixArbitraryPlaneCrossing::theCachedCDPhi
double theCachedCDPhi
Definition: HelixArbitraryPlaneCrossing.h:66
dso_internal
#define dso_internal
Definition: Visibility.h:13
HelixArbitraryPlaneCrossing::notAtSurface
bool notAtSurface(const Plane &, const PositionTypeDouble &, const float) const
Definition: HelixArbitraryPlaneCrossing.cc:226
HelixArbitraryPlaneCrossing::theX0
const double theX0
Definition: HelixArbitraryPlaneCrossing.h:56
HelixArbitraryPlaneCrossing2Order.h
HelixArbitraryPlaneCrossing::theCachedDPhi
double theCachedDPhi
Definition: HelixArbitraryPlaneCrossing.h:64
HelixArbitraryPlaneCrossing::theSinPhi0
double theSinPhi0
Definition: HelixArbitraryPlaneCrossing.h:57
PropagationDirection.h
HelixPlaneCrossing
Definition: HelixPlaneCrossing.h:13
HelixArbitraryPlaneCrossing::theQuadraticCrossingFromStart
HelixArbitraryPlaneCrossing2Order theQuadraticCrossingFromStart
Definition: HelixArbitraryPlaneCrossing.h:54
HelixArbitraryPlaneCrossing::theCachedS
double theCachedS
Definition: HelixArbitraryPlaneCrossing.h:63
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
Plane
Definition: Plane.h:16
HelixArbitraryPlaneCrossing::theSinTheta
double theSinTheta
Definition: HelixArbitraryPlaneCrossing.h:58
HelixArbitraryPlaneCrossing::theCosPhi0
double theCosPhi0
Definition: HelixArbitraryPlaneCrossing.h:57
HelixArbitraryPlaneCrossing::theZ0
const double theZ0
Definition: HelixArbitraryPlaneCrossing.h:56
HelixArbitraryPlaneCrossing::thePropDir
const PropagationDirection thePropDir
Definition: HelixArbitraryPlaneCrossing.h:61
point
*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
HelixArbitraryPlaneCrossing2Order
Definition: HelixArbitraryPlaneCrossing2Order.h:10
alongMomentum
Definition: PropagationDirection.h:4
Basic3DVector< float >
HelixPlaneCrossing.h
HelixPlaneCrossing::PositionType
Basic3DVector< float > PositionType
the helix is passed to the constructor and does not appear in the interface
Definition: HelixPlaneCrossing.h:22