Belle II Software development
Circle2D.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11/* CLHEP headers. */
12#include <CLHEP/Geometry/Point3D.h>
13
14namespace Belle2 {
20 namespace EKLM {
21
25 class Circle2D {
26
27 public:
28
35 Circle2D(double x, double y, double radius);
36
40 ~Circle2D();
41
46 {
47 return m_Center;
48 }
49
53 double getRadius() const
54 {
55 return m_Radius;
56 }
57
58 protected:
59
62
64 double m_Radius;
65
66 };
67
68 }
69
71}
HepGeom::Point3D< double > m_Center
Center.
Definition: Circle2D.h:61
const HepGeom::Point3D< double > & getCenter() const
Get center.
Definition: Circle2D.h:45
double m_Radius
Radius.
Definition: Circle2D.h:64
~Circle2D()
Destructor.
Definition: Circle2D.cc:20
double getRadius() const
Get radius.
Definition: Circle2D.h:53
Abstract base class for different kinds of events.