CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
EntranceAngle Class Reference

#include <EntranceAngle.h>

Public Member Functions

 EntranceAngle ()
 
 EntranceAngle (const double)
 
 ~EntranceAngle ()
 
 operator double () const
 
double rad () const
 
double deg () const
 
 EntranceAngle ()
 
 EntranceAngle (const double)
 
 ~EntranceAngle ()
 
 operator double () const
 
double rad () const
 
double deg () const
 

Static Protected Member Functions

static double normalize (double)
 
static double normalize (double)
 

Protected Attributes

double _phi
 

Detailed Description

Constructor & Destructor Documentation

◆ EntranceAngle() [1/4]

EntranceAngle::EntranceAngle ( )
inline

◆ EntranceAngle() [2/4]

EntranceAngle::EntranceAngle ( const double  phi)
inline

◆ ~EntranceAngle() [1/2]

EntranceAngle::~EntranceAngle ( )
inline

Definition at line 56 of file InstallArea/include/MdcGeom/MdcGeom/EntranceAngle.h.

56{}

◆ EntranceAngle() [3/4]

EntranceAngle::EntranceAngle ( )
inline

◆ EntranceAngle() [4/4]

EntranceAngle::EntranceAngle ( const double  )
inline

◆ ~EntranceAngle() [2/2]

EntranceAngle::~EntranceAngle ( )
inline

Member Function Documentation

◆ deg() [1/2]

double EntranceAngle::deg ( ) const
inline

◆ deg() [2/2]

double EntranceAngle::deg ( ) const
inline

◆ normalize() [1/2]

double EntranceAngle::normalize ( double  angle)
inlinestaticprotected

Definition at line 40 of file InstallArea/include/MdcGeom/MdcGeom/EntranceAngle.h.

40 {
41 while (angle < - Constants::halfPi) {
42 angle += Constants::pi;
43 }
44 while (angle > Constants::halfPi) {
45 angle -= Constants::pi;
46 }
47 return angle;
48}

◆ normalize() [2/2]

static double EntranceAngle::normalize ( double  )
inlinestaticprotected

◆ operator double() [1/2]

EntranceAngle::operator double ( ) const
inline

Definition at line 23 of file InstallArea/include/MdcGeom/MdcGeom/EntranceAngle.h.

23{ return _phi;}; // automatic conversion to double

◆ operator double() [2/2]

EntranceAngle::operator double ( ) const
inline

Definition at line 23 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/EntranceAngle.h.

23{ return _phi;}; // automatic conversion to double

◆ rad() [1/2]

double EntranceAngle::rad ( ) const
inline

Definition at line 58 of file InstallArea/include/MdcGeom/MdcGeom/EntranceAngle.h.

59{ return _phi; }

◆ rad() [2/2]

double EntranceAngle::rad ( ) const
inline

Member Data Documentation

◆ _phi

double EntranceAngle::_phi
protected

Definition at line 30 of file InstallArea/include/MdcGeom/MdcGeom/EntranceAngle.h.

Referenced by deg(), operator double(), and rad().


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