CMS 3D CMS Logo

TangentHelix.h
Go to the documentation of this file.
1 #ifndef _TangentHelix_H_
2 #define _TangentHelix_H_
3 
5 
6 class TangentHelix {
7 public:
9 
16  theCircle(direction, innerPoint, outerPoint),
17  theDirectionAtVertex(direction) {}
18 
25  theDirectionAtVertex = GlobalVector(1000, 1000, 1000);
26  }
27 
29  TangentHelix(const TangentHelix& primCircle, const GlobalPoint& outerPoint, const GlobalPoint& innerPoint);
30 
31  GlobalPoint outerPoint() const { return theOuterPoint; }
32 
33  GlobalPoint innerPoint() const { return theInnerPoint; }
34 
36 
37  TangentCircle circle() const { return theCircle; }
38 
40 
41  int charge(float magz) { return theCircle.charge(magz); }
42 
43  double rho() const { return theCircle.rho(); }
44 
45  double curvatureError() { return theCircle.curvatureError(); }
46 
47  double vertexError() { return theCircle.vertexError(); }
48 
49 private:
53 
55 
57 };
58 
59 #endif
Vector3DBase
Definition: Vector3DBase.h:8
TangentHelix::theVertexPoint
GlobalPoint theVertexPoint
Definition: TangentHelix.h:52
TangentHelix::vertexError
double vertexError()
Definition: TangentHelix.h:47
TangentHelix::TangentHelix
TangentHelix(const GlobalVector &direction, const GlobalPoint &innerPoint, const GlobalPoint &outerPoint)
Definition: TangentHelix.h:12
TangentHelix::theCircle
TangentCircle theCircle
Definition: TangentHelix.h:54
TangentCircle::curvatureError
double curvatureError()
Definition: TangentCircle.cc:193
TangentHelix::charge
int charge(float magz)
Definition: TangentHelix.h:41
GlobalVector
Global3DVector GlobalVector
Definition: GlobalVector.h:10
TangentCircle::vertexError
double vertexError() const
Definition: TangentCircle.h:50
TangentHelix::theOuterPoint
GlobalPoint theOuterPoint
Definition: TangentHelix.h:51
TangentHelix::vertexPoint
GlobalPoint vertexPoint() const
Definition: TangentHelix.h:35
TangentHelix::rho
double rho() const
Definition: TangentHelix.h:43
TangentHelix::theInnerPoint
GlobalPoint theInnerPoint
Definition: TangentHelix.h:50
Point3DBase< float, GlobalTag >
TangentHelix::theDirectionAtVertex
GlobalVector theDirectionAtVertex
Definition: TangentHelix.h:56
TangentCircle.h
TangentCircle
Definition: TangentCircle.h:7
TangentHelix::circle
TangentCircle circle() const
Definition: TangentHelix.h:37
TangentHelix::innerPoint
GlobalPoint innerPoint() const
Definition: TangentHelix.h:33
TangentCircle::charge
int charge(float magz)
Definition: TangentCircle.cc:205
TangentHelix::TangentHelix
TangentHelix()
Definition: TangentHelix.h:8
TangentCircle::rho
double rho() const
Definition: TangentCircle.h:42
TangentHelix::TangentHelix
TangentHelix(const GlobalPoint &outerPoint, const GlobalPoint &innerPoint, const GlobalPoint &vertexPoint)
Calculate Helix from 3 points.
Definition: TangentHelix.h:20
TangentHelix::outerPoint
GlobalPoint outerPoint() const
Definition: TangentHelix.h:31
TangentHelix
Definition: TangentHelix.h:6
TangentHelix::curvatureError
double curvatureError()
Definition: TangentHelix.h:45
TangentHelix::directionAtVertex
GlobalVector directionAtVertex()
Definition: TangentHelix.cc:17