CMS 3D CMS Logo

CircleFromThreePoints.h
Go to the documentation of this file.
1 #ifndef RecoTracker_PixelTrackFitting_CircleFromThreePoints_h
2 #define RecoTracker_PixelTrackFitting_CircleFromThreePoints_h
3 
6 
19 public:
22 
24 
33  const GlobalPoint& mid,
34  const GlobalPoint& outer,
35  double precision = 1.e-7);
36 
42  float curvature() const { return theCurvature; }
43 
50  Vector2D center() const { return theCenter; }
51 
52 private:
53  float theCurvature;
55 
56  void init(const Vector2D& b, const Vector2D& c, const Vector2D& offset, double precision);
57 };
58 
59 #endif // RecoTracker_PixelTrackFitting_CircleFromThreePoints_h
void init(const Vector2D &b, const Vector2D &c, const Vector2D &offset, double precision)
double b
Definition: hdecay.h:120
Basic2DVector< float > Vector2D