Belle II Software  release-05-02-19
Circle2D.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2015 Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Kirill Chilikin *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #pragma once
12 
13 /* CLHEP headers. */
14 #include <CLHEP/Geometry/Point3D.h>
15 
16 namespace Belle2 {
22  namespace EKLM {
23 
27  class Circle2D {
28 
29  public:
30 
37  Circle2D(double x, double y, double radius);
38 
42  ~Circle2D();
43 
47  const HepGeom::Point3D<double>& getCenter() const
48  {
49  return m_Center;
50  }
51 
55  double getRadius() const
56  {
57  return m_Radius;
58  }
59 
60  protected:
61 
64 
66  double m_Radius;
67 
68  };
69 
70  }
71 
73 }
Belle2::EKLM::Circle2D::~Circle2D
~Circle2D()
Destructor.
Definition: Circle2D.cc:22
Belle2::EKLM::Circle2D::getRadius
double getRadius() const
Get radius.
Definition: Circle2D.h:63
Belle2::EKLM::Circle2D::Circle2D
Circle2D(double x, double y, double radius)
Constructor.
Definition: Circle2D.cc:16
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::EKLM::Circle2D::getCenter
const HepGeom::Point3D< double > & getCenter() const
Get center.
Definition: Circle2D.h:55
Belle2::EKLM::Circle2D::m_Center
HepGeom::Point3D< double > m_Center
Center.
Definition: Circle2D.h:71
HepGeom::Point3D< double >
Belle2::EKLM::Circle2D::m_Radius
double m_Radius
Radius.
Definition: Circle2D.h:74