Belle II Software  light-2403-persian
BaseAngle Class Reference

Class to compare if two angles are compatible withing a given error range. More...

#include <Angle.h>

Inheritance diagram for BaseAngle:

Public Member Functions

 BaseAngle (double angle, double error)
 Constructor. More...
 
virtual ~BaseAngle ()
 Destructor.
 
double getAngle () const
 Getter for the angle.
 
double getError () const
 Getter for the error of the angle.
 
double getAngleInDeg () const
 Getter for angle in degrees.
 
double getErrorInDeg () const
 Getter for the error of the angle in degrees.
 

Protected Attributes

double m_angle
 Angle in rad.
 
double m_error
 Error in rad.
 

Detailed Description

Class to compare if two angles are compatible withing a given error range.

Definition at line 24 of file Angle.h.

Constructor & Destructor Documentation

◆ BaseAngle()

BaseAngle ( double  angle,
double  error 
)
inline

Constructor.

Parameters
angleangle to compare
errorerror on the angle

Definition at line 30 of file Angle.h.

30 : m_angle(angle), m_error(error) {};
double m_error
Error in rad.
Definition: Angle.h:54
double m_angle
Angle in rad.
Definition: Angle.h:53

The documentation for this class was generated from the following file: