1 #ifndef RIVET_Math_MathHeader 2 #define RIVET_Math_MathHeader 4 #include "Rivet/Tools/Exceptions.hh" 5 #include "Rivet/Tools/Utils.hh" 13 static const double MAXINT = INT_MAX;
16 static const double PI = M_PI;
19 static const double TWOPI = 2*M_PI;
25 enum Sign { MINUS = -1, ZERO = 0, PLUS = 1 };
28 enum RapScheme { PSEUDORAPIDITY = 0, ETARAP = 0, RAPIDITY = 1, YRAP = 1 };
Definition: ALICE_2010_I880049.cc:13
Sign
Enum for signs of numbers.
Definition: MathHeader.hh:25
static const double PI
A pre-defined value of .
Definition: MathHeader.hh:16
static const double HALFPI
A pre-defined value of .
Definition: MathHeader.hh:22
PhiMapping
Enum for range of to be mapped into.
Definition: MathHeader.hh:31
static const double MAXDOUBLE
Definition: MathHeader.hh:12
static const double TWOPI
A pre-defined value of .
Definition: MathHeader.hh:19
RapScheme
Enum for rapidity variable to be used in calculating , applying rapidity cuts, etc.
Definition: MathHeader.hh:28