CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
13  : theInnerPoint(innerPoint),
14  theOuterPoint(outerPoint),
15  theVertexPoint(innerPoint),
16  theCircle(direction, innerPoint, outerPoint),
17  theDirectionAtVertex(direction) {}
18 
21  : theInnerPoint(innerPoint),
22  theOuterPoint(outerPoint),
23  theVertexPoint(vertexPoint),
24  theCircle(outerPoint, innerPoint, vertexPoint) {
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
double curvatureError()
GlobalPoint theOuterPoint
Definition: TangentHelix.h:51
double curvatureError()
Definition: TangentHelix.h:45
GlobalPoint theInnerPoint
Definition: TangentHelix.h:50
GlobalVector directionAtVertex()
Definition: TangentHelix.cc:17
GlobalPoint innerPoint() const
Definition: TangentHelix.h:33
double vertexError() const
Definition: TangentCircle.h:50
double rho() const
Definition: TangentCircle.h:42
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
GlobalVector theDirectionAtVertex
Definition: TangentHelix.h:56
GlobalPoint outerPoint() const
Definition: TangentHelix.h:31
TangentHelix(const GlobalVector &direction, const GlobalPoint &innerPoint, const GlobalPoint &outerPoint)
Definition: TangentHelix.h:12
int charge(float magz)
Definition: TangentHelix.h:41
GlobalPoint vertexPoint() const
Definition: TangentHelix.h:35
TangentCircle circle() const
Definition: TangentHelix.h:37
GlobalPoint theVertexPoint
Definition: TangentHelix.h:52
int charge(float magz)
double rho() const
Definition: TangentHelix.h:43
TangentCircle theCircle
Definition: TangentHelix.h:54
Global3DVector GlobalVector
Definition: GlobalVector.h:10