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 };
Definition: MC_JetAnalysis.hh:9
Sign
Enum for signs of numbers.
Definition: MathHeader.hh:57
const double PI
A pre-defined value of .
Definition: MathHeader.hh:48
const double HALFPI
A pre-defined value of .
Definition: MathHeader.hh:54
PhiMapping
Enum for range of to be mapped into.
Definition: MathHeader.hh:63
const double TWOPI
A pre-defined value of .
Definition: MathHeader.hh:51
RapScheme
Enum for rapidity variable to be used in calculating , applying rapidity cuts, etc.
Definition: MathHeader.hh:60