CMS 3D CMS Logo

CircleFromThreePoints.h
Go to the documentation of this file.
1 #ifndef CircleFromThreePoints_H
2 #define CircleFromThreePoints_H
3 
6 
19 public:
20 
23 
25 
34  const GlobalPoint& mid,
35  const GlobalPoint& outer,
36  double precision = 1.e-7);
37 
38 
44  float curvature() const { return theCurvature;}
45 
52  Vector2D center() const { return theCenter; }
53 
54 private:
55 
56  float theCurvature;
57  Vector2D theCenter;
58 
59  void init( const Vector2D& b, const Vector2D& c,
60  const Vector2D& offset, double precision);
61 };
62 
63 #endif
void init(const Vector2D &b, const Vector2D &c, const Vector2D &offset, double precision)
double b
Definition: hdecay.h:120
Basic2DVector< float > Vector2D