1#ifndef RIVET_Math_MathConstants
2#define RIVET_Math_MathConstants
4#include "Rivet/Tools/Exceptions.hh"
5#include "Rivet/Tools/Utils.hh"
13 static const double PI = M_PI;
16 static const double TWOPI = 2*M_PI;
22 static const double SQRT2 = M_SQRT2;
25 static const double SQRTPI = 2 / M_2_SQRTPI;
33 static const double INFF = HUGE_VALF;
34 static const double INF = HUGE_VAL;
35 static const double INFL = HUGE_VALL;
43 enum Sign { MINUS = -1, ZERO = 0, PLUS = 1 };
46 enum RapScheme { PSEUDORAPIDITY = 0, ETARAP = 0, RAPIDITY = 1, YRAP = 1 };
Definition MC_CENT_PPB_Projections.hh:10
static const double SQRTPI
A pre-defined value of .
Definition MathConstants.hh:25
PhiMapping
Enum for range of to be mapped into.
Definition MathConstants.hh:49
static const double SQRT2
A pre-defined value of .
Definition MathConstants.hh:22
static const double TWOPI
A pre-defined value of .
Definition MathConstants.hh:16
static const double INFF
Pre-defined values of .
Definition MathConstants.hh:33
static const double PI
Definition MathConstants.hh:13
RapScheme
Enum for rapidity variable to be used in calculating , applying rapidity cuts, etc.
Definition MathConstants.hh:46
static const double HALFPI
A pre-defined value of .
Definition MathConstants.hh:19
Sign
Enum for signs of numbers.
Definition MathConstants.hh:43