muon_constants.hpp 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. // Boost.Units - A C++ library for zero-overhead dimensional analysis and
  2. // unit/quantity manipulation and conversion
  3. //
  4. // Copyright (C) 2003-2008 Matthias Christian Schabel
  5. // Copyright (C) 2008 Steven Watanabe
  6. //
  7. // Distributed under the Boost Software License, Version 1.0. (See
  8. // accompanying file LICENSE_1_0.txt or copy at
  9. // http://www.boost.org/LICENSE_1_0.txt)
  10. #ifndef BOOST_UNITS_CODATA_MUON_CONSTANTS_HPP
  11. #define BOOST_UNITS_CODATA_MUON_CONSTANTS_HPP
  12. #include <boost/units/static_constant.hpp>
  13. #include <boost/units/systems/detail/constants.hpp>
  14. #include <boost/units/systems/si/amount.hpp>
  15. #include <boost/units/systems/si/area.hpp>
  16. #include <boost/units/systems/si/electric_charge.hpp>
  17. #include <boost/units/systems/si/energy.hpp>
  18. #include <boost/units/systems/si/frequency.hpp>
  19. #include <boost/units/systems/si/length.hpp>
  20. #include <boost/units/systems/si/mass.hpp>
  21. #include <boost/units/systems/si/magnetic_flux_density.hpp>
  22. #include <boost/units/systems/si/time.hpp>
  23. #include <boost/units/systems/si/wavenumber.hpp>
  24. #include <boost/units/systems/si/codata/typedefs.hpp>
  25. /// \file
  26. /// CODATA recommended values of fundamental atomic and nuclear constants
  27. /// CODATA 2006 values as of 2007/03/30
  28. namespace boost {
  29. namespace units {
  30. namespace si {
  31. namespace constants {
  32. namespace codata {
  33. /// CODATA recommended values of the fundamental physical constants: NIST SP 961
  34. /// muon mass
  35. BOOST_UNITS_PHYSICAL_CONSTANT(m_mu,quantity<mass>,1.88353130e-28*kilograms,1.1e-35*kilograms);
  36. /// muon-electron mass ratio
  37. BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_e,quantity<dimensionless>,206.7682823*dimensionless(),5.2e-6*dimensionless());
  38. /// muon-tau mass ratio
  39. BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_tau,quantity<dimensionless>,5.94592e-2*dimensionless(),9.7e-6*dimensionless());
  40. /// muon-proton mass ratio
  41. BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_p,quantity<dimensionless>,0.1126095261*dimensionless(),2.9e-9*dimensionless());
  42. /// muon-neutron mass ratio
  43. BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_n,quantity<dimensionless>,0.1124545167*dimensionless(),2.9e-9*dimensionless());
  44. /// muon molar mass
  45. BOOST_UNITS_PHYSICAL_CONSTANT(M_mu,quantity<mass_over_amount>,0.1134289256e-3*kilograms/mole,2.9e-12*kilograms/mole);
  46. /// muon Compton wavelength
  47. BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_mu,quantity<length>,11.73444104e-15*meters,3.0e-22*meters);
  48. /// muon magnetic moment
  49. BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu,quantity<energy_over_magnetic_flux_density>,-4.49044786e-26*joules/tesla,1.6e-33*joules/tesla);
  50. /// muon-Bohr magneton ratio
  51. BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_B,quantity<dimensionless>,-4.84197049e-3*dimensionless(),1.2e-10*dimensionless());
  52. /// muon-nuclear magneton ratio
  53. BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_N,quantity<dimensionless>,-8.89059705*dimensionless(),2.3e-7*dimensionless());
  54. /// muon magnetic moment anomaly
  55. BOOST_UNITS_PHYSICAL_CONSTANT(a_mu,quantity<dimensionless>,1.16592069e-3*dimensionless(),6.0e-10*dimensionless());
  56. /// muon g-factor
  57. BOOST_UNITS_PHYSICAL_CONSTANT(g_mu,quantity<dimensionless>,-2.0023318414*dimensionless(),1.2e-9*dimensionless());
  58. /// muon-proton magnetic moment ratio
  59. BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_p,quantity<dimensionless>,-3.183345137*dimensionless(),8.5e-8*dimensionless());
  60. } // namespace codata
  61. } // namespace constants
  62. } // namespace si
  63. } // namespace units
  64. } // namespace boost
  65. #endif // BOOST_UNITS_CODATA_MUON_CONSTANTS_HPP