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.
const Energy MaxEnergy = 1.0e6 * GeV
 A really large energy.
const Energy2 MaxEnergy2 = MaxEnergy * MaxEnergy
 A really large squared energy.
const double MaxDouble = DBL_MAX
 The largest possible double.
const double HugeDouble = DBL_MAX * 1.0e-4
 A really large double.
const double MaxFloat = FLT_MAX
 The largest possible float.
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$.
const double twopi = 2.0 * pi
 Good old $2\pi$.
const long MaxInt = 1000000000L
 A really large integer.
const double epsilon = DBL_EPSILON
 The smallest non-zero double.
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 squared energy.

Definition at line 36 of file Constants.h.

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

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().


Generated on Thu Apr 29 12:43:26 2010 for ThePEG by  doxygen 1.5.5