thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
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.
 
constexpr Energy MaxEnergy = 1.0e6_GeV
 A really large energy.
 
constexpr Energy2 MaxEnergy2 = MaxEnergy * MaxEnergy
 A really large squared energy.
 
constexpr double MaxDouble = DBL_MAX
 The largest possible double.
 
constexpr double HugeDouble = DBL_MAX * 1.0e-4
 A really large double.
 
constexpr double MaxFloat = FLT_MAX
 The largest possible float.
 
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\).
 
constexpr double twopi = 2.0 * pi
 Good old \(2\pi\).
 
constexpr long MaxInt = 1000000000L
 A really large integer.
 
constexpr double epsilon = DBL_EPSILON
 The smallest non-zero double.
 
constexpr double EulerGamma = 0.5772156649015329
 The Euler gamma.
 
constexpr double zeta2 = pi*pi/6.
 \(\zeta(2)\).
 
constexpr double zeta3 = 1.2020569031595943
 \(\zeta(3)\).
 
constexpr double zeta4 = 0.4*zeta2*zeta2
 \(\zeta(4)\).
 
constexpr double zeta5 = 1.0369277551433699
 \(\zeta(5)\).
 
constexpr double zeta6 = 4.*zeta2*zeta4/7.
 \(\zeta(6)\).
 

Detailed Description

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

Variable Documentation

◆ epsilon

constexpr double ThePEG::Constants::epsilon = DBL_EPSILON
constexpr

The smallest non-zero double.

Definition at line 63 of file Constants.h.

Referenced by ThePEG::LorentzVector< Value >::eta(), ThePEG::LorentzVector< Value >::rapidity(), and ThePEG::Cuts::sHat().

◆ EulerGamma

constexpr double ThePEG::Constants::EulerGamma = 0.5772156649015329
constexpr

The Euler gamma.

Definition at line 66 of file Constants.h.

◆ HugeDouble

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

A really large double.

Definition at line 42 of file Constants.h.

◆ HugeFloat

constexpr double ThePEG::Constants::HugeFloat = FLT_MAX * 0.01
constexpr

A really large floa.t.

Definition at line 48 of file Constants.h.

◆ MaxDouble

constexpr double ThePEG::Constants::MaxDouble = DBL_MAX
constexpr

The largest possible double.

Definition at line 39 of file Constants.h.

◆ MaxEnergy

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

◆ MaxEnergy2

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

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
constexpr

The largest possible float.

Definition at line 45 of file Constants.h.

Referenced by ThePEG::Particle::eta(), and ThePEG::Particle::rapidity().

◆ MaxInt

constexpr long ThePEG::Constants::MaxInt = 1000000000L
constexpr

A really large integer.

Definition at line 60 of file Constants.h.

◆ MaxLength

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

A really large length.

Definition at line 30 of file Constants.h.

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

◆ MaxRapidity

constexpr double ThePEG::Constants::MaxRapidity = 100.0
constexpr

A really large rapidity.

Definition at line 51 of file Constants.h.

Referenced by ThePEG::FuzzyTheta::bounds().

◆ pi

◆ twopi

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

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.
constexpr

\(\zeta(2)\).

Definition at line 69 of file Constants.h.

◆ zeta3

constexpr double ThePEG::Constants::zeta3 = 1.2020569031595943
constexpr

\(\zeta(3)\).

Definition at line 72 of file Constants.h.

◆ zeta4

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

\(\zeta(4)\).

Definition at line 75 of file Constants.h.

◆ zeta5

constexpr double ThePEG::Constants::zeta5 = 1.0369277551433699
constexpr

\(\zeta(5)\).

Definition at line 78 of file Constants.h.

◆ zeta6

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

\(\zeta(6)\).

Definition at line 81 of file Constants.h.