ThePEG  1.8.0
Variables
ThePEG::Constants Namespace Reference

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

Variables

const Length MaxLength = 1.0e20 * meter
 A really large length. More...
 
const Energy MaxEnergy = 1.0e6 * GeV
 A really large energy. More...
 
const Energy2 MaxEnergy2 = MaxEnergy * MaxEnergy
 A really large squared energy. More...
 
const double MaxDouble = DBL_MAX
 The largest possible double. More...
 
const double HugeDouble = DBL_MAX * 1.0e-4
 A really large double. More...
 
const double MaxFloat = FLT_MAX
 The largest possible float. More...
 
const double HugeFloat = FLT_MAX * 0.01
 A really large floa.t.
 
const double MaxRapidity = 100.0
 A really large rapidity.
 
const double pi = M_PI
 Good old $\pi$. More...
 
const double twopi = 2.0 * pi
 Good old $2\pi$. More...
 
const long MaxInt = 1000000000L
 A really large integer.
 
const double epsilon = DBL_EPSILON
 The smallest non-zero double. More...
 
const double EulerGamma = 0.5772156649015329
 The Euler gamma.
 

Detailed Description

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

Variable Documentation

const double ThePEG::Constants::epsilon = DBL_EPSILON

The smallest non-zero double.

Definition at line 63 of file Constants.h.

Referenced by ThePEG::Cuts::sHat().

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

A really large double.

Definition at line 42 of file Constants.h.

const double ThePEG::Constants::MaxDouble = DBL_MAX

The largest possible double.

Definition at line 39 of file Constants.h.

const Energy ThePEG::Constants::MaxEnergy = 1.0e6 * GeV

A really large energy.

Definition at line 33 of file Constants.h.

Referenced by ThePEG::ParticleData::width(), ThePEG::ParticleData::widthLoCut(), and ThePEG::ParticleData::widthUpCut().

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

A really large squared energy.

Definition at line 36 of file Constants.h.

const double ThePEG::Constants::MaxFloat = FLT_MAX

The largest possible float.

Definition at line 45 of file Constants.h.

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

const Length ThePEG::Constants::MaxLength = 1.0e20 * meter

A really large length.

Definition at line 30 of file Constants.h.

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

const double ThePEG::Constants::pi = M_PI
const 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().