42const std::array<std::pair<ParticleType, std::string_view>, 15>
constexpr double m_xe
The xenon-129 (fully-stripped) rest mass in GeV.
constexpr double m_alpha
The alpha particle rest mass in GeV.
constexpr double m_u
The uranium-238 (fully-stripped) rest mass in GeV.
constexpr double m_p
The proton rest mass in GeV.
constexpr double m_h3p
The H3+ rest mass in GeV.
constexpr double m_h2p
The H2+ rest mass in GeV.
constexpr double q_e
The elementary charge in As.
constexpr double m_e
The electron rest mass in GeV.
constexpr double m_hm
The H- rest mass in GeV.
constexpr double m_h
The hydrogen atom rest mass in GeV.
constexpr double m_mu
The muon rest mass in GeV.
constexpr double m_c
The carbon-12 (fully-stripped) rest mass in GeV.
constexpr double m_d
The deuteron rest mass in GeV.
constexpr Enum stringToEnum(std::string_view str, const std::array< std::pair< Enum, std::string_view >, N > &map, Enum defaultEnum) noexcept
constexpr std::string_view enumToString(Enum e, const std::array< std::pair< Enum, std::string_view >, N > &map, std::string_view defaultStr) noexcept
static ParticleType getParticleType(std::string_view str) noexcept
static double getParticleMass(const ParticleType &type)
static const std::map< ParticleType, double > particleCharge_m
static std::string getParticleTypeString(const ParticleType &type) noexcept
static double getParticleCharge(const ParticleType &type)
static const std::array< std::pair< ParticleType, std::string_view >, 15 > particleTypeMap
static const std::map< ParticleType, double > particleMass_m
static double getParticleChargeInCoulomb(const ParticleType &type)