OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
|
#include "Physics.h"
Go to the source code of this file.
Namespaces | |
namespace | Units |
Variables | |
constexpr double | Units::m2mm = 1e+3 |
constexpr double | Units::mm2m = 1 / m2mm |
constexpr double | Units::m2cm = 1e+2 |
constexpr double | Units::cm2m = 1 / m2cm |
constexpr double | Units::s2us = 1e+6 |
constexpr double | Units::us2s = 1 / s2us |
constexpr double | Units::s2ns = 1e+9 |
constexpr double | Units::ns2s = 1 / s2ns |
constexpr double | Units::s2ps = 1e+12 |
constexpr double | Units::ps2s = 1 / s2ps |
constexpr double | Units::T2kG = 1e+1 |
constexpr double | Units::kG2T = 1 / T2kG |
constexpr double | Units::kV2V = 1e+3 |
constexpr double | Units::V2kV = 1 / kV2V |
constexpr double | Units::GeV2eV = 1e+9 |
constexpr double | Units::eV2GeV = 1 / GeV2eV |
constexpr double | Units::MeV2eV = 1e+6 |
constexpr double | Units::eV2MeV = 1 / MeV2eV |
constexpr double | Units::GeV2MeV = GeV2eV * eV2MeV |
constexpr double | Units::MeV2GeV = 1 / GeV2MeV |
constexpr double | Units::keV2eV = 1e+3 |
constexpr double | Units::eV2keV = 1 / keV2eV |
constexpr double | Units::GeV2keV = GeV2eV * eV2keV |
constexpr double | Units::keV2GeV = keV2eV * eV2GeV |
constexpr double | Units::MeV2keV = MeV2eV * eV2keV |
constexpr double | Units::keV2MeV = 1 / MeV2keV |
constexpr double | Units::GeV2kg = 1.0e+9 * Physics::q_e / Physics::c / Physics::c |
constexpr double | Units::kg2GeV = 1 / GeV2kg |
constexpr double | Units::eV2kg = 1.782661921e-36 |
constexpr double | Units::MHz2Hz = 1e+6 |
constexpr double | Units::Hz2MHz = 1 / MHz2Hz |
constexpr double | Units::GHz2Hz = 1e+9 |
constexpr double | Units::Hz2GHz = 1 / GHz2Hz |
constexpr double | Units::Vpm2MVpm = 1e-6 |
constexpr double | Units::MVpm2Vpm = 1 / Vpm2MVpm |
constexpr double | Units::A2mA = 1e+3 |
constexpr double | Units::mA2A = 1 / A2mA |
constexpr double | Units::rad2mrad = 1e3 |
constexpr double | Units::mrad2rad = 1 / rad2mrad |
constexpr double | Units::deg2rad = Physics::pi / 180 |
constexpr double | Units::rad2deg = 1 / deg2rad |