ThePEG
1.8.0
|
The Units namespace contains the declaration of a number of classes for variables with dimension. More...
Typedefs | |
typedef QTY< 0, 1, 0 >::Type | Energy |
Energy. More... | |
typedef Energy | Mass |
Mass has the same unit as Energy <=> c == 1. More... | |
typedef QTY< 1, 0, 0 >::Type | Length |
Length. More... | |
typedef Length | Time |
Time has the same unit as Length. More... | |
typedef QTY<-1, 0, 0 >::Type | InvLength |
Inverse Length. More... | |
typedef double | Velocity |
Velocities are dimensionless fractions of c. More... | |
typedef QTY< 0, 0, 1 >::Type | Charge |
Charge. More... | |
typedef QTY< 1, 1, 0 >::Type | AngularMomentum |
Angular momentum. More... | |
typedef QTY<-1, 1, 0 >::Type | Tension |
Tension. More... | |
typedef QTY< 2, 0, 0 >::Type | Area |
Area will be assumed to be Length ![]() | |
typedef QTY<-2, 0, 0 >::Type | InvArea |
Inverse Area. More... | |
typedef Area | CrossSection |
Cross section is an area. More... | |
typedef QTY< 2, 2, 0 >::Type | Energy2XSec |
CrossSection*Energy2. More... | |
typedef QTY< 2,-2, 0 >::Type | DiffXSec |
CrossSection/Energy2. More... | |
typedef QTY< 2,-4, 0 >::Type | Diff2XSec |
CrossSection/Energy4. More... | |
typedef QTY< 2,-6, 0 >::Type | Diff3XSec |
CrossSection/Energy6. | |
typedef Energy2 | Scale |
Scale is the same as a squared energy. More... | |
typedef ThreeVector< Length > | Point |
A point in three-dimensional euclidean space. More... | |
typedef ThreeVector< Length > | Distance |
A distance in three-dimensional euclidean space. More... | |
typedef ThreeVector< double > | Axis |
A direction in three-dimensional euclidean space. More... | |
typedef ThreeVector< Energy > | Momentum3 |
A momentum in three-dimensional euclidean space. More... | |
typedef ThreeVector< double > | Boost |
A three-dimensional boost vector. More... | |
typedef LorentzVector< Length > | LorentzDistance |
A distance in four-dimensional space-time. More... | |
typedef Lorentz5Vector< Length > | Lorentz5Distance |
A distance in four-dimensional space-time with an explicit invariant time component. More... | |
typedef LorentzVector< Length > | LorentzPoint |
A point in four-dimensional space-time. More... | |
typedef LorentzVector< Energy > | LorentzMomentum |
A momentum in four-dimensional space-time. More... | |
typedef Lorentz5Vector< Energy > | Lorentz5Momentum |
A momentum in four-dimensional space-time with an explicit invariant mass component. More... | |
typedef Transverse< Energy > | TransverseMomentum |
Transverse components of a momentum. More... | |
Higher powers of energy. | |
Even higher powers can be created with similar typedefs. | |
typedef QTY< 0, 2, 0 >::Type | Energy2 |
typedef QTY< 0, 3, 0 >::Type | Energy3 |
typedef QTY< 0, 4, 0 >::Type | Energy4 |
typedef QTY< 0, 5, 0 >::Type | Energy5 |
typedef QTY< 0, 6, 0 >::Type | Energy6 |
typedef QTY< 0, 7, 0 >::Type | Energy7 |
typedef QTY< 0, 8, 0 >::Type | Energy8 |
typedef QTY< 0, 9, 0 >::Type | Energy9 |
typedef QTY< 0, 10, 0 >::Type | Energy10 |
typedef QTY< 0, 11, 0 >::Type | Energy11 |
typedef QTY< 0, 12, 0 >::Type | Energy12 |
typedef QTY< 0, 1, 0, 1, 2, 1 >::Type | SqrtEnergy |
typedef QTY< 0,-1, 0, 1, 2, 1 >::Type | InvSqrtEnergy |
typedef QTY< 0,-1, 0 >::Type | InvEnergy |
typedef QTY< 0,-2, 0 >::Type | InvEnergy2 |
typedef QTY< 0,-3, 0 >::Type | InvEnergy3 |
typedef QTY< 0,-4, 0 >::Type | InvEnergy4 |
typedef QTY< 0,-5, 0 >::Type | InvEnergy5 |
typedef QTY< 0,-6, 0 >::Type | InvEnergy6 |
typedef QTY< 0,-7, 0 >::Type | InvEnergy7 |
typedef QTY< 0,-8, 0 >::Type | InvEnergy8 |
typedef QTY< 0,-9, 0 >::Type | InvEnergy9 |
typedef QTY< 0,-10, 0 >::Type | InvEnergy10 |
typedef QTY< 0,-11, 0 >::Type | InvEnergy11 |
typedef QTY< 0,-12, 0 >::Type | InvEnergy12 |
Variables | |
const QTY< 1, 1, 0 >::Type | hbarc = 197.326968e-15 * MeV * meter |
Planck's constant times c (PDG 2006 value 197.326968(17) MeV fm) | |
const QTY< 1, 1, 0 >::Type | hbar_Planck = hbarc / 1.0 |
Planck's constant (PDG 2006 value 197.326968(17) MeV fm) | |
Pre-defined basic units. | |
const Length | millimeter = TypeTraits<Length>::baseunit |
const Energy | MeV = TypeTraits<Energy>::baseunit |
const Charge | eplus = TypeTraits<Charge>::baseunit |
const Energy | keV = 1.0e-3 * MeV |
const Energy | GeV = 1.0e3 * MeV |
const Energy | TeV = 1.0e6 * MeV |
const Energy2 | MeV2 = MeV * MeV |
const Energy2 | GeV2 = GeV * GeV |
const InvEnergy | InvGeV = 1/GeV |
const Length | meter = 1.0e3 * millimeter |
const Length | mm = millimeter |
const Length | centimeter = 10.0*millimeter |
const Length | micrometer = 1.0e-3 * millimeter |
const Length | nanometer = 1.0e-6 * millimeter |
const Length | picometer = 1.0e-9 * millimeter |
const Length | femtometer = 1.0e-12 * millimeter |
const Area | picobarn = 1.0e-40 * meter * meter |
const Area | nanobarn = 1.0e3 * picobarn |
const Area | microbarn = 1.0e6 * picobarn |
const Area | millibarn = 1.0e9 * picobarn |
const Area | barn = 1.0e12 * picobarn |
const Area | femtobarn = 1.0e-3 * picobarn |
The Units namespace contains the declaration of a number of classes for variables with dimension.
Currently they are all typedefs of double, but in the future the SIUnits package will be used.
The file Utilities/UnitIO.h defines helper-classes and helper functions to read and write variables with dimensions. As an example, to read and write an energy variable e
in units of GeV, use: os << ounit(e, GeV)
and is >> iunit(e, GeV)
typedef QTY<1,1,0>::Type ThePEG::Units::AngularMomentum |
Angular momentum.
Definition at line 55 of file Unitsystem.h.
typedef QTY<2,0,0>::Type ThePEG::Units::Area |
Area will be assumed to be Length .
Definition at line 61 of file Unitsystem.h.
typedef ThreeVector<double> ThePEG::Units::Axis |
A direction in three-dimensional euclidean space.
Definition at line 125 of file Unitsystem.h.
typedef ThreeVector<double> ThePEG::Units::Boost |
A three-dimensional boost vector.
Definition at line 131 of file Unitsystem.h.
typedef QTY<0,0,1>::Type ThePEG::Units::Charge |
Charge.
Definition at line 52 of file Unitsystem.h.
typedef Area ThePEG::Units::CrossSection |
Cross section is an area.
Definition at line 67 of file Unitsystem.h.
typedef QTY<2,-4,0>::Type ThePEG::Units::Diff2XSec |
CrossSection/Energy4.
Definition at line 110 of file Unitsystem.h.
typedef QTY<2,-2,0>::Type ThePEG::Units::DiffXSec |
CrossSection/Energy2.
Definition at line 107 of file Unitsystem.h.
typedef ThreeVector<Length> ThePEG::Units::Distance |
A distance in three-dimensional euclidean space.
Definition at line 122 of file Unitsystem.h.
typedef QTY<0,1,0>::Type ThePEG::Units::Energy |
Energy.
Definition at line 34 of file Unitsystem.h.
typedef QTY<2,2,0>::Type ThePEG::Units::Energy2XSec |
CrossSection*Energy2.
Definition at line 104 of file Unitsystem.h.
typedef QTY<-2,0,0>::Type ThePEG::Units::InvArea |
Inverse Area.
Definition at line 64 of file Unitsystem.h.
typedef QTY<-1,0,0>::Type ThePEG::Units::InvLength |
Inverse Length.
Definition at line 46 of file Unitsystem.h.
typedef QTY<1,0,0>::Type ThePEG::Units::Length |
Length.
Definition at line 40 of file Unitsystem.h.
A distance in four-dimensional space-time with an explicit invariant time component.
Definition at line 138 of file Unitsystem.h.
A momentum in four-dimensional space-time with an explicit invariant mass component.
Definition at line 148 of file Unitsystem.h.
A distance in four-dimensional space-time.
Definition at line 134 of file Unitsystem.h.
A momentum in four-dimensional space-time.
Definition at line 144 of file Unitsystem.h.
A point in four-dimensional space-time.
Definition at line 141 of file Unitsystem.h.
typedef Energy ThePEG::Units::Mass |
Mass has the same unit as Energy <=> c == 1.
Definition at line 37 of file Unitsystem.h.
typedef ThreeVector<Energy> ThePEG::Units::Momentum3 |
A momentum in three-dimensional euclidean space.
Definition at line 128 of file Unitsystem.h.
typedef ThreeVector<Length> ThePEG::Units::Point |
A point in three-dimensional euclidean space.
Definition at line 119 of file Unitsystem.h.
typedef Energy2 ThePEG::Units::Scale |
Scale is the same as a squared energy.
Definition at line 116 of file Unitsystem.h.
typedef QTY<-1,1,0>::Type ThePEG::Units::Tension |
Tension.
Definition at line 58 of file Unitsystem.h.
typedef Length ThePEG::Units::Time |
Transverse components of a momentum.
Definition at line 151 of file Unitsystem.h.
typedef double ThePEG::Units::Velocity |
Velocities are dimensionless fractions of c.
Definition at line 49 of file Unitsystem.h.