Belle II Software  release-08-01-10
Arc2D.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 /* KLM headers. */
12 #include <klm/eklm/geometry/Circle2D.h>
13 
14 namespace Belle2 {
20  namespace EKLM {
21 
25  class Arc2D : public Circle2D {
26 
27  public:
28 
39  Arc2D(double x, double y, double radius, double angle1, double angle2);
40 
44  ~Arc2D();
45 
50  bool angleWithinRange(double angle) const;
51 
56 
57  private:
58 
60  double m_Angle1;
61 
63  double m_Angle2;
64 
65  };
66 
67  }
68 
70 }
double m_Angle2
Angle 2.
Definition: Arc2D.h:63
Arc2D(double x, double y, double radius, double angle1, double angle2)
Constructor.
Definition: Arc2D.cc:14
~Arc2D()
Destructor.
Definition: Arc2D.cc:22
bool angleWithinRange(double angle) const
Check if angle is within the arc.
Definition: Arc2D.cc:26
HepGeom::Point3D< double > getInitialPoint() const
Get initial point.
Definition: Arc2D.cc:33
double m_Angle1
Angle 1.
Definition: Arc2D.h:60
Abstract base class for different kinds of events.