LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Literal constants for energy quantities. More...
Functions | |
constexpr electronvolt | operator""_eV (long double v) |
Literal electronvolt value. More... | |
constexpr electronvolt | operator""_eV (unsigned long long int v) |
Literal electronvolt value. More... | |
constexpr microelectronvolt | operator""_ueV (long double v) |
Literal microelectronvolt value. More... | |
constexpr microelectronvolt | operator""_ueV (unsigned long long int v) |
Literal microelectronvolt value. More... | |
constexpr millielectronvolt | operator""_meV (long double v) |
Literal millielectronvolt value. More... | |
constexpr millielectronvolt | operator""_meV (unsigned long long int v) |
Literal millielectronvolt value. More... | |
constexpr kiloelectronvolt | operator""_keV (long double v) |
Literal kilovolt value. More... | |
constexpr kiloelectronvolt | operator""_keV (unsigned long long int v) |
Literal kilovolt value. More... | |
constexpr megaelectronvolt | operator""_MeV (long double v) |
Literal megaelectronvolt value. More... | |
constexpr megaelectronvolt | operator""_MeV (unsigned long long int v) |
Literal megaelectronvolt value. More... | |
constexpr gigaelectronvolt | operator""_GeV (long double v) |
Literal gigaelectronvolt value. More... | |
constexpr gigaelectronvolt | operator""_GeV (unsigned long long int v) |
Literal gigaelectronvolt value. More... | |
constexpr teraelectronvolt | operator""_TeV (long double v) |
Literal teraelectronvolt value. More... | |
constexpr teraelectronvolt | operator""_TeV (unsigned long long int v) |
Literal teraelectronvolt value. More... | |
Literal constants for energy quantities.
These functions allow a simplified syntax for specifying a energy quantity. In order to use these, their namespace must be used:
constexpr electronvolt util::quantities::energy_literals::operator""_eV | ( | long double | v | ) |
Literal electronvolt value.
Definition at line 158 of file energy.h.
constexpr electronvolt util::quantities::energy_literals::operator""_eV | ( | unsigned long long int | v | ) |
Literal electronvolt value.
Definition at line 162 of file energy.h.
constexpr gigaelectronvolt util::quantities::energy_literals::operator""_GeV | ( | long double | v | ) |
Literal gigaelectronvolt value.
Definition at line 218 of file energy.h.
constexpr gigaelectronvolt util::quantities::energy_literals::operator""_GeV | ( | unsigned long long int | v | ) |
Literal gigaelectronvolt value.
Definition at line 222 of file energy.h.
constexpr kiloelectronvolt util::quantities::energy_literals::operator""_keV | ( | long double | v | ) |
Literal kilovolt value.
Definition at line 194 of file energy.h.
constexpr kiloelectronvolt util::quantities::energy_literals::operator""_keV | ( | unsigned long long int | v | ) |
Literal kilovolt value.
Definition at line 198 of file energy.h.
constexpr millielectronvolt util::quantities::energy_literals::operator""_meV | ( | long double | v | ) |
Literal millielectronvolt value.
Definition at line 182 of file energy.h.
constexpr millielectronvolt util::quantities::energy_literals::operator""_meV | ( | unsigned long long int | v | ) |
Literal millielectronvolt value.
Definition at line 186 of file energy.h.
constexpr megaelectronvolt util::quantities::energy_literals::operator""_MeV | ( | long double | v | ) |
Literal megaelectronvolt value.
Definition at line 206 of file energy.h.
constexpr megaelectronvolt util::quantities::energy_literals::operator""_MeV | ( | unsigned long long int | v | ) |
Literal megaelectronvolt value.
Definition at line 210 of file energy.h.
constexpr teraelectronvolt util::quantities::energy_literals::operator""_TeV | ( | long double | v | ) |
Literal teraelectronvolt value.
Definition at line 230 of file energy.h.
constexpr teraelectronvolt util::quantities::energy_literals::operator""_TeV | ( | unsigned long long int | v | ) |
Literal teraelectronvolt value.
Definition at line 234 of file energy.h.
constexpr microelectronvolt util::quantities::energy_literals::operator""_ueV | ( | long double | v | ) |
Literal microelectronvolt value.
Definition at line 170 of file energy.h.
constexpr microelectronvolt util::quantities::energy_literals::operator""_ueV | ( | unsigned long long int | v | ) |
Literal microelectronvolt value.
Definition at line 174 of file energy.h.