Skip to content

HEP System

Namespace: mp_units::hep

Module: mp_units.systems

Header: <mp-units/systems/hep.h>

Secondary Headers:

  • <mp-units/systems/hep/constants.h>
  • <mp-units/systems/hep/quantities.h>
  • <mp-units/systems/hep/units.h>

Dimensions

Name Symbol
dim_amount_of_substance N
dim_angle α
dim_electric_charge Q
dim_energy E
dim_length L
dim_luminous_intensity I
dim_temperature Θ
dim_time T

Quantities

Quantity Character Dimension is_kind Kind of Parent Equation Hierarchy
Q_value Real E energy energy view
absorbed_dose Real L²T⁻² absorbed_dose pow<2>(length) / pow<2>(duration) view
activity Real T⁻¹ activity inverse(duration) view
amount_of_substance Real N amount_of_substance view
angle Real alias to angular::angle
area Real area pow<2>(length) view
azimuthal_angle Real α angular::angle angular::angle view
binding_energy Real E energy energy view
center_of_mass_energy Real E energy energy view
coordinate_time Real T coordinate_time duration view
cross_section Real area area view
decay_constant Real T⁻¹ frequency frequency view
decay_length Real L length length view
dimensionless Real 1 dimensionless
displacement Vector L length length view
duration Real T duration view
effective_mass Real ET²L⁻² mass mass view
electric_capacitance Real Q²E⁻¹ electric_capacitance pow<2>(electric_charge) / energy view
electric_charge Real Q electric_charge view
electric_current Real QT⁻¹ electric_current electric_charge / duration view
electric_potential Real EQ⁻¹ electric_potential energy / electric_charge view
electric_resistance Real ETQ⁻² electric_resistance energy * duration / pow<2>(electric_charge) view
energy Real E energy view
excitation_energy Real E energy energy view
force Real EL⁻¹ force energy / length view
frequency Real T⁻¹ frequency inverse(duration) view
half_life Real T duration lifetime view
height Real L length length view
illuminance Real α²IL⁻² illuminance luminous_flux / pow<2>(length) view
impact_parameter Real L length length view
inductance Real ET²Q⁻² inductance pow<2>(duration) * energy / pow<2>(electric_charge) view
interaction_length Real L interaction_length length view
invariant_mass Real ET²L⁻² mass mass view
ionization_energy Real E energy energy view
kinetic_energy Real E energy total_energy view
length Real L length view
lifetime Real T duration duration view
lorentz_factor Real lorentz_factor dimensionless view
luminous_flux Real α²I luminous_flux luminous_intensity * solid_angle view
luminous_intensity Real I luminous_intensity view
magnetic_field Real ETQ⁻¹L⁻² magnetic_field duration * energy / electric_charge / pow<2>(length) view
magnetic_flux Real ETQ⁻¹ magnetic_flux duration * energy / electric_charge view
mass Real ET²L⁻² mass energy * pow<2>(duration) / pow<2>(length) view
mean_free_path Real L length length view
mean_lifetime Real T duration lifetime view
missing_energy Real E energy energy view
momentum Real ETL⁻¹ momentum energy * duration / length view
nuclear_interaction_length Real L interaction_length interaction_length view
number_density Real L⁻³ number_density inverse(volume) view
opening_angle Real α angular::angle angular::angle view
path_length Real L length length view
phase Real phase dimensionless view
polar_angle Real α angular::angle angular::angle view
position_vector Vector L length displacement view
power Real ET⁻¹ power energy / duration view
pressure Real EL⁻³ pressure energy / pow<3>(length) view
proper_time Real T proper_time duration view
proper_velocity Vector LT⁻¹ proper_velocity displacement / proper_time view
radiation_length Real L radiation_length length view
radius Real L length length view
range Real L length length view
reduced_mass Real ET²L⁻² mass mass view
relativistic_beta Real relativistic_beta dimensionless view
rest_mass Real ET²L⁻² mass mass view
rest_mass_energy Real E energy total_energy view
scattering_angle Real α angular::angle angular::angle view
separation_energy Real E energy binding_energy view
solid_angle Real alias to angular::solid_angle
speed Real LT⁻¹ speed path_length / duration view
temperature Real Θ temperature view
threshold_energy Real E energy energy view
time_of_flight Real T duration duration view
total_energy Real E energy energy view
transverse_energy Real E energy energy view
transverse_momentum Real ETL⁻¹ momentum momentum view
velocity Vector LT⁻¹ velocity displacement / duration view
vertex_position Real L length length view
volume Real volume pow<3>(length) view
wavelength Real L length length view
width Real L length length view

Units

Unit Name Symbol unit_symbol Definition
ampere A coulomb / second
angstrom Å (A) mag_power<10, -10> * meter
astronomical_unit au mag<149'597'870'700> * meter
atmosphere atm mag<101'325> * pascal
bar bar mag_power<10, 5> * pascal
barn b b mag_power<10, -28> * square(meter)
becquerel Bq Bq one / second
kind: activity
candela cd kind: luminous_intensity
coulomb C mag<6'241'509'074> * mag_power<10, 9> * eplus
curie Ci Ci mag_ratio<37, 10> * mag_power<10, 10> * becquerel
degree alias to angular::degree
electronvolt eV eV kind: energy
eplus e⁺ (e+) kind: electric_charge
farad F coulomb / volt
fermi si::femto<meter>
gauss G mag_power<10, -4> * tesla
gradian alias to angular::gradian
gram g g mag_ratio<1, 1000> * joule * square(second) / square(meter)
gray Gy joule / si::kilo<gram>
kind: absorbed_dose
halfpi mag_ratio<1, 2> * pi
henry H weber / ampere
hertz Hz one / second
kind: frequency
joule J electronvolt * coulomb / eplus
kelvin K kind: temperature
liter L L cubic(si::deci<meter>)
lumen lm candela * steradian
lux lx lumen / square(meter)
meter m m kind: length
mole mol kind: amount_of_substance
newton N joule / meter
ohm Ω (ohm) volt / ampere
parsec pc pc astronomical_unit / (mag_ratio<1, 3600> * degree)
pascal Pa newton / square(meter)
perCent alias to mp_units::percent
perMillion alias to mp_units::parts_per_million
perThousand alias to mp_units::per_mille
radian alias to angular::radian
revolution alias to angular::revolution
second s s kind: duration
steradian alias to angular::steradian
tesla T weber / square(meter)
twopi mag<2> * pi
volt V electronvolt / eplus
watt W joule / second
weber Wb volt * second

Constants

Name Symbol unit_symbol Definition
avogadro_constant N_A N_A mag_ratio<602'214'076, 100'000'000> * mag_power<10, 23> / mole
codata2014::atomic_mass_unit u mag_ratio<9'314'940'954, 10'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2014::bohr_magneton μ_B (mu_B) mag_ratio<9'274'009'994, 1'000'000'000> * mag_power<10, -24> * joule / tesla
codata2014::bohr_radius a_0 mag_ratio<52'917'721'067, 10'000'000'000> * mag_power<10, -11> * meter
codata2014::boltzmann_constant k_B mag_ratio<86'173'303, 10'000'000> * mag_power<10, -11> * si::mega<electronvolt> / kelvin
codata2014::classical_electron_radius r_e mag_ratio<28'179'403'227, 10'000'000'000> * mag_power<10, -15> * meter
codata2014::electron_compton_wavelength λ_C (lambda_C) mag_ratio<24'263'102'367, 10'000'000'000> * mag_power<10, -12> * meter
codata2014::electron_mass m_e mag_ratio<5'109'989'461, 10'000'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2014::fine_structure_constant α (alpha) mag_ratio<72'973'525'664, 10'000'000'000> * mag_power<10, -3> * one
codata2014::neutron_mass m_n mag_ratio<9'395'654'133, 10'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2014::nuclear_magneton μ_N (mu_N) mag_ratio<5'050'783'699, 1'000'000'000> * mag_power<10, -27> * joule / tesla
codata2014::proton_mass m_p mag_ratio<9'382'720'813, 10'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2018::atomic_mass_unit u u mag_ratio<93'149'410'242, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2018::bohr_magneton μ_B (mu_B) mu_B mag_ratio<92'740'100'783, 10'000'000'000> * mag_power<10, -24> * joule / tesla
codata2018::bohr_radius a_0 a_0 mag_ratio<529'177'210'903, 100'000'000'000> * mag_power<10, -11> * meter
codata2018::boltzmann_constant k_B k_B mag_ratio<8'617'333'262, 1'000'000'000> * mag_power<10, -11> * si::mega<electronvolt> / kelvin
codata2018::classical_electron_radius r_e r_e mag_ratio<28'179'403'262, 10'000'000'000> * mag_power<10, -15> * meter
codata2018::electron_compton_wavelength λ_C (lambda_C) lambda_C mag_ratio<242'631'023'867, 100'000'000'000> * mag_power<10, -12> * meter
codata2018::electron_mass m_e m_e mag_ratio<51'099'895, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2018::fine_structure_constant α (alpha) alpha mag_ratio<72'973'525'693, 10'000'000'000> * mag_power<10, -3> * one
codata2018::neutron_mass m_n m_n mag_ratio<93'956'542'052, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2018::nuclear_magneton μ_N (mu_N) mu_N mag_ratio<50'507'837'461, 10'000'000'000> * mag_power<10, -27> * joule / tesla
codata2018::proton_mass m_p m_p mag_ratio<938'272'08816, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2022::atomic_mass_unit u mag_ratio<93'149'410'372, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2022::bohr_magneton μ_B (mu_B) mag_ratio<92'740'100'657, 10'000'000'000> * mag_power<10, -24> * joule / tesla
codata2022::bohr_radius a_0 mag_ratio<529'177'210'544, 100'000'000'000> * mag_power<10, -11> * meter
codata2022::boltzmann_constant alias to codata2018::boltzmann_constant
codata2022::classical_electron_radius r_e mag_ratio<28'179'403'205, 10'000'000'000> * mag_power<10, -15> * meter
codata2022::electron_compton_wavelength alias to codata2018::electron_compton_wavelength
codata2022::electron_mass m_e mag_ratio<51'099'895'069, 100'000'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2022::fine_structure_constant α (alpha) mag_ratio<72'973'525'643, 10'000'000'000> * mag_power<10, -3> * one
codata2022::neutron_mass m_n mag_ratio<93'956'542'194, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
codata2022::nuclear_magneton μ_N (mu_N) mag_ratio<50'507'837'393, 10'000'000'000> * mag_power<10, -27> * joule / tesla
codata2022::proton_mass m_p mag_ratio<93'827'208'943, 100'000'000> * si::mega<electronvolt> / square(speed_of_light_in_vacuum)
elementary_charge e e eplus
gas_threshold gas_threshold mag<10> * si::milli<gram> / cubic(si::centi<meter>)
permeability_of_vacuum μ₀ (mu_0) mu_0 mag<4> * mag_power<10, -7> * π * henry / meter
pi alias to mp_units::pi
planck_constant h h mag_ratio<662'607'015, 100'000'000> * mag_power<10, -34> * joule * second
speed_of_light_in_vacuum c c mag<299'792'458> * meter / second
standard_pressure P_STP atmosphere
standard_temperature T_STP mag_ratio<27'315, 100> * kelvin
universe_mean_density ρ_universe (rho_universe) mag_power<10, -25> * gram / cubic(si::centi<meter>)

Inline Namespaces

The mp_units::hep::codata2018 namespace is inline in mp_units::hep, making its members directly accessible from the parent namespace.