thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.1.4
ThePEG::Constants Namespace Reference

The Constants namespace containing some useful physical constants with suitable units. More...

Variables

constexpr Length MaxLength = 1.0e23_mm
 A really large length. More...
 
constexpr Energy MaxEnergy = 1.0e6_GeV
 A really large energy. More...
 
constexpr Energy2 MaxEnergy2 = MaxEnergy * MaxEnergy
 A really large squared energy. More...
 
constexpr double MaxDouble = DBL_MAX
 The largest possible double. More...
 
constexpr double HugeDouble = DBL_MAX * 1.0e-4
 A really large double. More...
 
constexpr double MaxFloat = FLT_MAX
 The largest possible float. More...
 
constexpr double HugeFloat = FLT_MAX * 0.01
 A really large floa.t.
 
constexpr double MaxRapidity = 100.0
 A really large rapidity.
 
constexpr double pi = M_PI
 Good old $\pi$. More...
 
constexpr double twopi = 2.0 * pi
 Good old $2\pi$. More...
 
constexpr long MaxInt = 1000000000L
 A really large integer.
 
constexpr double epsilon = DBL_EPSILON
 The smallest non-zero double. More...
 
constexpr double EulerGamma = 0.5772156649015329
 The Euler gamma.
 
constexpr double zeta2 = pi*pi/6.
 $\zeta(2)$. More...
 
constexpr double zeta3 = 1.2020569031595943
 $\zeta(3)$. More...
 
constexpr double zeta4 = 0.4*zeta2*zeta2
 $\zeta(4)$. More...
 
constexpr double zeta5 = 1.0369277551433699
 $\zeta(5)$. More...
 
constexpr double zeta6 = 4.*zeta2*zeta4/7.
 $\zeta(6)$. More...
 

Detailed Description

The Constants namespace containing some useful physical constants with suitable units.

Variable Documentation

◆ epsilon

constexpr double ThePEG::Constants::epsilon = DBL_EPSILON

◆ HugeDouble

constexpr double ThePEG::Constants::HugeDouble = DBL_MAX * 1.0e-4

A really large double.

Definition at line 42 of file Constants.h.

◆ MaxDouble

constexpr double ThePEG::Constants::MaxDouble = DBL_MAX

The largest possible double.

Definition at line 39 of file Constants.h.

◆ MaxEnergy

constexpr Energy ThePEG::Constants::MaxEnergy = 1.0e6_GeV

◆ MaxEnergy2

constexpr Energy2 ThePEG::Constants::MaxEnergy2 = MaxEnergy * MaxEnergy

A really large squared energy.

Definition at line 36 of file Constants.h.

Referenced by ThePEG::MECuts::scaleMax(), ThePEG::MECuts::tHatMax(), and ThePEG::MECuts::uHatMax().

◆ MaxFloat

constexpr double ThePEG::Constants::MaxFloat = FLT_MAX

The largest possible float.

Definition at line 45 of file Constants.h.

Referenced by ThePEG::Particle::rapidity().

◆ MaxLength

constexpr Length ThePEG::Constants::MaxLength = 1.0e23_mm

A really large length.

Definition at line 30 of file Constants.h.

Referenced by ThePEG::ParticleData::cTau().

◆ pi

◆ twopi

constexpr double ThePEG::Constants::twopi = 2.0 * pi

Good old $2\pi$.

Definition at line 57 of file Constants.h.

Referenced by ThePEG::ThreeVector< Value >::deltaPhi().

◆ zeta2

constexpr double ThePEG::Constants::zeta2 = pi*pi/6.

$\zeta(2)$.

Definition at line 69 of file Constants.h.

◆ zeta3

constexpr double ThePEG::Constants::zeta3 = 1.2020569031595943

$\zeta(3)$.

Definition at line 72 of file Constants.h.

◆ zeta4

constexpr double ThePEG::Constants::zeta4 = 0.4*zeta2*zeta2

$\zeta(4)$.

Definition at line 75 of file Constants.h.

◆ zeta5

constexpr double ThePEG::Constants::zeta5 = 1.0369277551433699

$\zeta(5)$.

Definition at line 78 of file Constants.h.

◆ zeta6

constexpr double ThePEG::Constants::zeta6 = 4.*zeta2*zeta4/7.

$\zeta(6)$.

Definition at line 81 of file Constants.h.