|
ACTS
Experiment-independent tracking
|
Unit conversion factors. More...
#include <detray/definitions/units.hpp>
Static Public Attributes | |
| static constexpr scalar_t | degree |
| Conversion factor from degrees to radians. | |
| static constexpr scalar_t | e {static_cast<scalar_t>(1.0)} |
| Charge, native unit e (elementary charge). | |
| static constexpr scalar_t | mol {static_cast<scalar_t>(1.0)} |
| Amount of substance, native unit mol. | |
| static constexpr scalar_t | mrad {static_cast<scalar_t>(1e-3)} |
| Conversion factor from milliradians to radians. | |
| static constexpr scalar_t | rad {static_cast<scalar_t>(1.0)} |
| Native angular unit, the radian. | |
| static constexpr scalar_t | T |
| Magnetic field, native unit GeV/(e*mm). | |
| static constexpr scalar_t | u {static_cast<scalar_t>(0.93149410242)} |
| Atomic mass unit u 1u == 0.93149410242 GeV/c. | |
| static constexpr scalar_t | um {static_cast<scalar_t>(1e-3)} |
| Length, native unit mm. | |
| static constexpr scalar_t | mm {static_cast<scalar_t>(1.0)} |
| Native length unit, the millimetre. | |
| static constexpr scalar_t | cm {static_cast<scalar_t>(1e1)} |
| Centimetre expressed in millimetres. | |
| static constexpr scalar_t | m {static_cast<scalar_t>(1e3)} |
| Metre expressed in millimetres. | |
| static constexpr scalar_t | mm2 {static_cast<scalar_t>(1.0)} |
| Area, native unit mm2mm² | |
| static constexpr scalar_t | cm2 {static_cast<scalar_t>(1e2)} |
| cm² | |
| static constexpr scalar_t | m2 {static_cast<scalar_t>(1e6)} |
| m² | |
| static constexpr scalar_t | mm3 {static_cast<scalar_t>(1.0)} |
| Volume, native unit mm3mm³ | |
| static constexpr scalar_t | cm3 {static_cast<scalar_t>(1e3)} |
| cm³ | |
| static constexpr scalar_t | m3 {static_cast<scalar_t>(1e9)} |
| m³ | |
| static constexpr scalar_t | s {static_cast<scalar_t>(299792458000.0)} |
| Time, native unit mm{[speed-of-light * time]{mm/s * s}}. | |
| static constexpr scalar_t | fs {static_cast<scalar_t>(1e-15 * 299792458000.0)} |
| Femtosecond expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | ps {static_cast<scalar_t>(1e-12 * 299792458000.0)} |
| Picosecond expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | ns {static_cast<scalar_t>(1e-9 * 299792458000.0)} |
| Nanosecond expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | us {static_cast<scalar_t>(1e-6 * 299792458000.0)} |
| Microsecond expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | ms {static_cast<scalar_t>(1e-3 * 299792458000.0)} |
| Millisecond expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | min {static_cast<scalar_t>(60.0 * 299792458000.0)} |
| Minute expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | h {static_cast<scalar_t>(3600.0 * 299792458000.0)} |
| Hour expressed in the internal length-equivalent time unit. | |
| static constexpr scalar_t | eV {static_cast<scalar_t>(1e-9)} |
| Energy, native unit GeV. | |
| static constexpr scalar_t | keV {static_cast<scalar_t>(1e-6)} |
| Kiloelectronvolt expressed in GeV. | |
| static constexpr scalar_t | MeV {static_cast<scalar_t>(1e-3)} |
| Megaelectronvolt expressed in GeV. | |
| static constexpr scalar_t | GeV {static_cast<scalar_t>(1.0)} |
| Native energy unit, the gigaelectronvolt. | |
| static constexpr scalar_t | TeV {static_cast<scalar_t>(1e3)} |
| Teraelectronvolt expressed in GeV. | |
| static constexpr scalar_t | g {static_cast<scalar_t>(1.0 / 1.782662e-24)} |
| Mass 1eV/c² == 1.782662e-36kg 1GeV/c² == 1.782662e-27kg -> 1kg == (1/1.782662e-27)GeV/c² -> 1g == (1/(1e3*1.782662e-27))GeV/c² | |
| static constexpr scalar_t | kg {static_cast<scalar_t>(1.0 / 1.782662e-27)} |
| Kilogram expressed in GeV/c². | |
Unit conversion factors.
|
staticconstexpr |
Conversion factor from degrees to radians.
|
staticconstexpr |
Magnetic field, native unit GeV/(e*mm).