RecoPixelVertexing
PixelTrackFitting
interface
CircleFromThreePoints.h
Go to the documentation of this file.
1
#ifndef RecoPixelVertexing_PixelTrackFitting_interface_CircleFromThreePoints_h
2
#define RecoPixelVertexing_PixelTrackFitting_interface_CircleFromThreePoints_h
3
4
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
5
#include "
DataFormats/GeometryVector/interface/Basic2DVector.h
"
6
18
class
CircleFromThreePoints
{
19
public
:
21
CircleFromThreePoints
() {}
22
23
typedef
Basic2DVector<float>
Vector2D
;
24
32
CircleFromThreePoints
(
const
GlobalPoint
&
inner
,
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
;
54
Vector2D
theCenter
;
55
56
void
init
(
const
Vector2D
&
b
,
const
Vector2D
&
c
,
const
Vector2D
&
offset
,
double
precision
);
57
};
58
59
#endif // RecoPixelVertexing_PixelTrackFitting_interface_CircleFromThreePoints_h
CircleFromThreePoints
Definition:
CircleFromThreePoints.h:18
CircleFromThreePoints::theCurvature
float theCurvature
Definition:
CircleFromThreePoints.h:53
CircleFromThreePoints::curvature
float curvature() const
Definition:
CircleFromThreePoints.h:42
SurfaceOrientation::inner
Definition:
Surface.h:19
Point3DBase< float, GlobalTag >
b
double b
Definition:
hdecay.h:118
CircleFromThreePoints::center
Vector2D center() const
Definition:
CircleFromThreePoints.h:50
Basic2DVector< float >
CircleFromThreePoints::init
void init(const Vector2D &b, const Vector2D &c, const Vector2D &offset, double precision)
Definition:
CircleFromThreePoints.cc:13
common_cff.precision
precision
Definition:
common_cff.py:44
CircleFromThreePoints::theCenter
Vector2D theCenter
Definition:
CircleFromThreePoints.h:54
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
Basic2DVector.h
CircleFromThreePoints::CircleFromThreePoints
CircleFromThreePoints()
dummy
Definition:
CircleFromThreePoints.h:21
CircleFromThreePoints::Vector2D
Basic2DVector< float > Vector2D
Definition:
CircleFromThreePoints.h:23
SurfaceOrientation::outer
Definition:
Surface.h:19
hltrates_dqm_sourceclient-live_cfg.offset
offset
Definition:
hltrates_dqm_sourceclient-live_cfg.py:82
GlobalPoint.h
MillePedeFileConverter_cfg.e
e
Definition:
MillePedeFileConverter_cfg.py:37
Generated for CMSSW Reference Manual by
1.8.16