CMS 3D CMS Logo

L1PhiConversion.h
Go to the documentation of this file.
1 #ifndef L1Trigger_GlobalTriggerAnalyzer_L1PhiConversion_h
2 #define L1Trigger_GlobalTriggerAnalyzer_L1PhiConversion_h
3 
16 // system include files
17 #include <cmath>
18 
19 static const double PiConversion = 180. / acos(-1.);
20 
22 const double rad2deg(const double&);
23 
24 #endif
static const double PiConversion
const double rad2deg(const double &)
convert phi from rad (-pi, pi] to deg (0, 360)