CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2_patch1/src/DataFormats/GeometryVector/interface/Pi.h

Go to the documentation of this file.
00001 #ifndef GeometryVector_Geom_Pi_h
00002 #define GeometryVector_Geom_Pi_h
00003 
00029 namespace Geom {
00030 
00031   inline double pi()     {return     3.141592653589793238;}
00032   inline double twoPi()  {return 2. *3.141592653589793238;}
00033   inline double halfPi() {return 0.5*3.141592653589793238;}
00034 
00035   inline float fpi()     {return     3.141592653589793238f;}
00036   inline float ftwoPi()  {return 2.f *3.141592653589793238f;}
00037   inline float fhalfPi() {return 0.5f*3.141592653589793238f;}
00038 
00039 
00040 }
00041 
00042 #endif