Rivet  3.1.4
Constants.hh
1 #ifndef RIVET_MATH_CONSTANTS
2 #define RIVET_MATH_CONSTANTS
3 
4 #include "Rivet/Math/MathConstants.hh"
5 #include "Rivet/Math/Units.hh"
6 
7 namespace Rivet {
8 
9  constexpr double pi = M_PI;
10  constexpr double twopi = 2*pi;
11  constexpr double halfpi = pi/2;
12  constexpr double pi2 = pi*pi;
13 
14  constexpr double c_light = 2.99792458e8;
15 
16  constexpr double degree = pi / 180.0;
17 
18 }
19 
20 #endif
Definition: MC_Cent_pPb.hh:10