CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TangentHelix.h
Go to the documentation of this file.
1 #ifndef _TangentHelix_H_
2 #define _TangentHelix_H_
3 
5 
6 class TangentHelix {
7 
8  public :
10 
14  theInnerPoint(innerPoint), theOuterPoint(outerPoint), theVertexPoint(innerPoint), theCircle(direction, innerPoint, outerPoint),
15  theDirectionAtVertex(direction) {}
16 
19  theInnerPoint(innerPoint), theOuterPoint(outerPoint), theVertexPoint(vertexPoint), theCircle(outerPoint, innerPoint, vertexPoint) {
20  theDirectionAtVertex = GlobalVector(1000,1000,1000);
21  }
22 
24  TangentHelix(const TangentHelix& primCircle, const GlobalPoint& outerPoint, const GlobalPoint& innerPoint);
25 
26  GlobalPoint outerPoint() const { return theOuterPoint; }
27 
28  GlobalPoint innerPoint() const { return theInnerPoint; }
29 
31 
32  TangentCircle circle() const { return theCircle; }
33 
35 
36  int charge(float magz) { return theCircle.charge(magz); }
37 
38  double rho() const { return theCircle.rho(); }
39 
40  double curvatureError() { return theCircle.curvatureError(); }
41 
42  double vertexError() { return theCircle.vertexError(); }
43 
44  private :
48 
50 
52 };
53 
54 #endif
double curvatureError()
GlobalPoint theOuterPoint
Definition: TangentHelix.h:46
double curvatureError()
Definition: TangentHelix.h:40
GlobalPoint theInnerPoint
Definition: TangentHelix.h:45
GlobalVector directionAtVertex()
Definition: TangentHelix.cc:18
GlobalPoint innerPoint() const
Definition: TangentHelix.h:28
double vertexError() const
Definition: TangentCircle.h:44
double rho() const
Definition: TangentCircle.h:36
double vertexError()
Definition: TangentHelix.h:42
TangentHelix(const GlobalPoint &outerPoint, const GlobalPoint &innerPoint, const GlobalPoint &vertexPoint)
Calculate Helix from 3 points.
Definition: TangentHelix.h:18
GlobalVector theDirectionAtVertex
Definition: TangentHelix.h:51
GlobalPoint outerPoint() const
Definition: TangentHelix.h:26
TangentHelix(const GlobalVector &direction, const GlobalPoint &innerPoint, const GlobalPoint &outerPoint)
Definition: TangentHelix.h:13
int charge(float magz)
Definition: TangentHelix.h:36
GlobalPoint vertexPoint() const
Definition: TangentHelix.h:30
TangentCircle circle() const
Definition: TangentHelix.h:32
GlobalPoint theVertexPoint
Definition: TangentHelix.h:47
int charge(float magz)
double rho() const
Definition: TangentHelix.h:38
TangentCircle theCircle
Definition: TangentHelix.h:49
Global3DVector GlobalVector
Definition: GlobalVector.h:10