namespace contains the declaration of a number of classes for variables with dimension.
|
Typedefs |
typedef QTY< 0, 1, 0 >::Type | Energy |
| Energy.
|
typedef Energy | Mass |
| Mass has the same unit as Energy <=> c == 1.
|
typedef QTY< 1, 0, 0 >::Type | Length |
| Length.
|
typedef Length | Time |
| Time has the same unit as Length.
|
typedef QTY<-1, 0, 0 >::Type | InvLength |
| Inverse Length.
|
typedef double | Velocity |
| Velocities are dimensionless fractions of c.
|
typedef QTY< 0, 0, 1 >::Type | Charge |
| Charge.
|
typedef QTY< 1, 1, 0 >::Type | AngularMomentum |
| Angular momentum.
|
typedef QTY<-1, 1, 0 >::Type | Tension |
| Tension.
|
typedef QTY< 2, 0, 0 >::Type | Area |
| Area will be assumed to be Length.
|
typedef QTY<-2, 0, 0 >::Type | InvArea |
| Inverse Area.
|
typedef Area | CrossSection |
| Cross section is an area.
|
typedef QTY< 2, 2, 0 >::Type | Energy2XSec |
| CrossSection*Energy2.
|
typedef QTY< 2,-2, 0 >::Type | DiffXSec |
| CrossSection/Energy2.
|
typedef QTY< 2,-4, 0 >::Type | Diff2XSec |
| CrossSection/Energy4.
|
typedef QTY< 2,-6, 0 >::Type | Diff3XSec |
| CrossSection/Energy6.
|
typedef Energy2 | Scale |
| Scale is the same as a squared energy.
|
typedef ThreeVector< Length > | Point |
| A point in three-dimensional euclidean space.
|
typedef ThreeVector< Length > | Distance |
| A distance in three-dimensional euclidean space.
|
typedef ThreeVector< double > | Axis |
| A direction in three-dimensional euclidean space.
|
typedef ThreeVector< Energy > | Momentum3 |
| A momentum in three-dimensional euclidean space.
|
typedef ThreeVector< double > | Boost |
| A three-dimensional boost vector.
|
typedef LorentzVector< Length > | LorentzDistance |
| A distance in four-dimensional space-time.
|
typedef Lorentz5Vector< Length > | Lorentz5Distance |
| A distance in four-dimensional space-time with an explicit invariant time component.
|
typedef LorentzVector< Length > | LorentzPoint |
| A point in four-dimensional space-time.
|
typedef LorentzVector< Energy > | LorentzMomentum |
| A momentum in four-dimensional space-time.
|
typedef Lorentz5Vector< Energy > | Lorentz5Momentum |
| A momentum in four-dimensional space-time with an explicit invariant mass component.
|
typedef Transverse< Energy > | TransverseMomentum |
| Transverse components of a momentum.
|
|
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).
|
|
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 |
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.