47 static const double cm;
48 static const double ns;
49 static const double GHz;
50 static const double rad;
51 static const double GeV;
52 static const double K;
53 static const double e;
68 static const double km;
69 static const double m;
70 static const double mm;
71 static const double um;
72 static const double nm;
73 static const double pm;
74 static const double fm;
77 static const double m2;
78 static const double cm2;
79 static const double mm2;
81 static const double b;
82 static const double mb;
83 static const double ub;
84 static const double nb;
85 static const double pb;
86 static const double fb;
87 static const double ab;
90 static const double m3;
91 static const double cm3;
92 static const double mm3;
95 static const double s;
96 static const double ms;
97 static const double us;
98 static const double ps;
99 static const double fs;
102 static const double Hz;
112 static const double eV;
116 static const double J;
117 static const double V;
120 static const double T;
121 static const double mT;
126 static const double C;
127 static const double fC;
146 static double convertValue(
double value,
const std::string& unitString);
172 Unit& operator=(
const Unit&) =
delete;
static const double cm3
[cubic centimeters]
static const double pm
[picometers]
static const double Hz
[Hertz]
static const double mm
[millimeters]
static const double ps
[picosecond]
static const double mrad
[millirad]
static const double e
Standard of [electric charge].
static const double deg
degree to radians
static const double mm3
[cubic millimeters]
static const double ub
[microbarn]
static const double fb
[femtobarn]
static const double ms
[millisecond]
static const double GHz
Standard of [frequency].
static const double m3
[cubic meters]
static const double mb
[millibarn]
static const double fm
[femtometers]
static const double pb
[picobarn]
static const double rad
Standard of [angle].
static const double kg_cm3
[kg/cm^3]
Unit()=delete
no Unit instances allowed.
static const double mg_mm3
[mg/mm^3]
static const double nm
[nanometers]
static const double g_mm3
[g/mm^3]
static const double Gauss
[gauss]
static const double keV
[kiloelectronvolt]
static const double um
[micrometers]
static const double us
[microsecond]
static const double TeV
[teraelectronvolt]
static const double V
[voltage]
static const double eV
[electronvolt]
static const double kg_mm3
[kg/mm^3]
static const double m2
[square meters]
static const double b
[barn]
static const double mm2
[square millimeters]
static const double mT
[millitesla]
static const double m
[meters]
static const double C
[coulomb]
static const double nb
[nanobarn]
static const double km
Derived units.
static const double J
[joule]
static const double ab
[attobarn]
static const double kGauss
[kilogauss]
static const double MHz
[Megahertz]
static const double MeV
[megaelectronvolt]
static const double fC
[femtocoulomb]
static const double cm
Standard units with the value = 1.
static const double K
Standard of [temperature].
static const double g_cm3
Practical units with the value set at 1.
static const double mg_cm3
[mg/cm^3]
static const double ns
Standard of [time].
static const double fs
[femtosecond]
static const double s
[second]
static const double kHz
[Kilohertz]
static const double GeV
Standard of [energy, momentum, mass].
static const double T
[tesla]
static const double cm2
[square centimeters]
static const double mHz
[Millihertz]
static std::map< std::string, double > s_conversionFactors
Map to be able to convert between units using string representations of the unit name.
static double registerConversion(const std::string &name, double value)
registers the name and value of a conversion in s_conversionFactors.
static double convertValueToUnit(double value, const std::string &unitString)
Converts a floating point value from the standard framework unit to the given unit.
static double convertValue(double value, const std::string &unitString)
Converts a floating point value to the standard framework unit.
Abstract base class for different kinds of events.