1 #ifndef RIVET_Math_MathHeader
2 #define RIVET_Math_MathHeader
4 #include "Rivet/Exceptions.hh"
19 #elif defined(__GNUC__)
20 # define UNUSED(x) UNUSED_ ## x __attribute__((unused))
21 #elif defined(__LCLINT__)
32 using std::ostringstream;
44 const double MAXDOUBLE = std::numeric_limits<double>::max();
45 const double MAXINT = std::numeric_limits<int>::max();
48 const double PI = M_PI;
57 enum Sign { MINUS = -1, ZERO = 0, PLUS = 1 };
60 enum RapScheme { PSEUDORAPIDITY = 0, ETA = 0, RAPIDITY = 1, YRAP = 1 };