21#include "CLHEP/Units/SystemOfUnits.h"
26using CLHEP::atmosphere;
39const double ClhepVGM::Units::fgkLength = 1. / mm;
40const double ClhepVGM::Units::fgkAngle = 1. / deg;
41const double ClhepVGM::Units::fgkMassDensity = 1. / (g / cm3);
42const double ClhepVGM::Units::fgkAtomicWeight = 1. / (g / mole);
43const double ClhepVGM::Units::fgkTemperature = 1. / kelvin;
44const double ClhepVGM::Units::fgkPressure = 1. / atmosphere;
76 std::cerr <<
" ClhepVGM::Units::AxisUnit:" << std::endl;
77 std::cerr <<
" Undefined axis" << std::endl;
78 std::cerr <<
"*** Error: Aborting execution ***" << std::endl;
88 return fgkLength * clhepUnit;
103 return fgkMassDensity * clhepUnit;
112 return fgkAtomicWeight * clhepUnit;
121 return fgkTemperature * clhepUnit;
130 return fgkPressure * clhepUnit;
static double Temperature()
Return CLHEP default temperature unit in VGM unit.
static double AtomicWeight()
Return CLHEP default atomic weight unit in VGM units.
static double MassDensity()
Return CLHEP default mass density unit in VGM units.
static double Pressure()
Return CLHEP default pressure unit in VGM unit.
static double Length()
Return CLHEP default length unit in VGM units.
static double Angle()
Return CLHEP default angle unit in VGM units.
static double AxisUnit(VGM::Axis axis)
Convert CLHEP default unit for given axis type in VGM units.