24 if ( angle <= 2.*M_PI && angle > 0 )
return angle;
30 int n =
static_cast<int>( -(
angle)/(2.*
M_PI) );
39 if ( angle <= M_PI && angle > -
M_PI )
return angle;
Option_t Option_t TPoint TPoint angle
Namespace for new Math classes and functions.
double Phi_0_2pi(double phi)
Return a phi angle in the interval (0,2*PI].
double Phi_mpi_pi(double phi)
Returns phi angle in the interval (-PI,PI].
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.