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
TangentCircle circle() const
Definition: TangentHelix.h:37
double curvatureError()
GlobalPoint theOuterPoint
Definition: TangentHelix.h:51
double curvatureError()
Definition: TangentHelix.h:45
GlobalPoint theInnerPoint
Definition: TangentHelix.h:50
GlobalPoint vertexPoint() const
Definition: TangentHelix.h:35
GlobalVector directionAtVertex()
Definition: TangentHelix.cc:17
double rho() const
Definition: TangentHelix.h:43
GlobalPoint innerPoint() const
Definition: TangentHelix.h:33
GlobalPoint outerPoint() const
Definition: TangentHelix.h:31
double vertexError()
Definition: TangentHelix.h:47
TangentHelix(const GlobalPoint &outerPoint, const GlobalPoint &innerPoint, const GlobalPoint &vertexPoint)
Calculate Helix from 3 points.
Definition: TangentHelix.h:20
double rho() const
Definition: TangentCircle.h:42
GlobalVector theDirectionAtVertex
Definition: TangentHelix.h:56
TangentHelix(const GlobalVector &direction, const GlobalPoint &innerPoint, const GlobalPoint &outerPoint)
Definition: TangentHelix.h:12
int charge(float magz)
Definition: TangentHelix.h:41
double vertexError() const
Definition: TangentCircle.h:50
GlobalPoint theVertexPoint
Definition: TangentHelix.h:52
int charge(float magz)
TangentCircle theCircle
Definition: TangentHelix.h:54
Global3DVector GlobalVector
Definition: GlobalVector.h:10