Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
GeometryVector
interface
Pi.h
Go to the documentation of this file.
1
#ifndef GeometryVector_Geom_Pi_h
2
#define GeometryVector_Geom_Pi_h
3
29
namespace
Geom
{
30
31
inline
constexpr
double
pi
() {
return
3.141592653589793238;}
32
inline
constexpr
double
twoPi
() {
return
2. *3.141592653589793238;}
33
inline
constexpr
double
halfPi
() {
return
0.5*3.141592653589793238;}
34
35
inline
constexpr
float
fpi
() {
return
3.141592653589793238f;}
36
inline
constexpr
float
ftwoPi
() {
return
2.f *3.141592653589793238f;}
37
inline
constexpr
float
fhalfPi
() {
return
0.5f*3.141592653589793238f;}
38
39
40
}
41
42
#endif
Geom::ftwoPi
constexpr float ftwoPi()
Definition:
Pi.h:36
Geom::halfPi
constexpr double halfPi()
Definition:
Pi.h:33
Geom::fpi
constexpr float fpi()
Definition:
Pi.h:35
constexpr
#define constexpr
Geom::fhalfPi
constexpr float fhalfPi()
Definition:
Pi.h:37
egHLT::errCodes::Geom
Definition:
EgHLTErrCodes.h:16
Geom::pi
constexpr double pi()
Definition:
Pi.h:31
Geom::twoPi
constexpr double twoPi()
Definition:
Pi.h:32
Generated for CMSSW Reference Manual by
1.8.5