Belle II Software  release-05-01-25
Arc2D.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 /* KLM headers. */
14 #include <klm/eklm/geometry/Circle2D.h>
15 
16 namespace Belle2 {
22  namespace EKLM {
23 
27  class Arc2D : public Circle2D {
28 
29  public:
30 
41  Arc2D(double x, double y, double radius, double angle1, double angle2);
42 
46  ~Arc2D();
47 
52  bool angleWithinRange(double angle) const;
53 
58 
59  private:
60 
62  double m_Angle1;
63 
65  double m_Angle2;
66 
67  };
68 
69  }
70 
72 }
Belle2::EKLM::Arc2D::~Arc2D
~Arc2D()
Destructor.
Definition: Arc2D.cc:24
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::EKLM::Arc2D::angleWithinRange
bool angleWithinRange(double angle) const
Check if angle is within the arc.
Definition: Arc2D.cc:28
Belle2::EKLM::Arc2D::m_Angle1
double m_Angle1
Angle 1.
Definition: Arc2D.h:70
Belle2::EKLM::Arc2D::Arc2D
Arc2D(double x, double y, double radius, double angle1, double angle2)
Constructor.
Definition: Arc2D.cc:16
HepGeom::Point3D< double >
Belle2::EKLM::Arc2D::m_Angle2
double m_Angle2
Angle 2.
Definition: Arc2D.h:73
Belle2::EKLM::Arc2D::getInitialPoint
HepGeom::Point3D< double > getInitialPoint() const
Get initial point.
Definition: Arc2D.cc:35