21 #include <boost/assign.hpp>
50 boost::assign::list_of<const boost::bimap<ParticleType, std::string>::relation>
constexpr double m_h3p
The H3+ rest mass in GeV.
static ParticleType getParticleType(const std::string &str)
static const std::map< ParticleType, double > particleMass_m
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two distribute and or modify the software for each author s protection and we want to make certain that everyone understands that there is no warranty for this free software If the software is modified by someone else and passed we want its recipients to know that what they have is not the so that any problems introduced by others will not reflect on the original authors reputations any free program is threatened constantly by software patents We wish to avoid the danger that redistributors of a free program will individually obtain patent in effect making the program proprietary To prevent we have made it clear that any patent must be licensed for everyone s free use or not licensed at all The precise terms and conditions for distribution and modification follow GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR DISTRIBUTION AND MODIFICATION This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License The refers to any such program or and a work based on the Program means either the Program or any derivative work under copyright a work containing the Program or a portion of it
static const std::map< ParticleType, double > particleCharge_m
constexpr double m_h2p
The H2+ rest mass in GeV.
constexpr double m_xe
The xenon-129 (fully-stripped) rest mass in GeV.
constexpr double m_d
The deuteron rest mass in GeV.
constexpr double m_mu
The muon rest mass in GeV.
constexpr double m_h
The hydrogen atom rest mass in GeV.
constexpr double m_c
The carbon-12 (fully-stripped) rest mass in GeV.
constexpr double m_u
The uranium-238 (fully-stripped) rest mass in GeV.
constexpr double q_e
The elementary charge in As.
static double getParticleCharge(const ParticleType &type)
constexpr double m_e
The electron rest mass in GeV.
constexpr double m_alpha
The alpha particle rest mass in GeV.
constexpr double m_p
The proton rest mass in GeV.
static double getParticleChargeInCoulomb(const ParticleType &type)
static double getParticleMass(const ParticleType &type)
static const boost::bimap< ParticleType, std::string > bmParticleType_s
constexpr double m_hm
The H- rest mass in GeV.
static std::string getParticleTypeString(const ParticleType &type)