tau_constants.hpp 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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_TAU_CONSTANTS_HPP
  11. #define BOOST_UNITS_CODATA_TAU_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. /// tau mass
  35. BOOST_UNITS_PHYSICAL_CONSTANT(m_tau,quantity<mass>,3.16777e-27*kilograms,5.2e-31*kilograms);
  36. /// tau-electron mass ratio
  37. BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_e,quantity<dimensionless>,3477.48*dimensionless(),5.7e-1*dimensionless());
  38. /// tau-muon mass ratio
  39. BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_mu,quantity<dimensionless>,16.8183*dimensionless(),2.7e-3*dimensionless());
  40. /// tau-proton mass ratio
  41. BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_p,quantity<dimensionless>,1.89390*dimensionless(),3.1e-4*dimensionless());
  42. /// tau-neutron mass ratio
  43. BOOST_UNITS_PHYSICAL_CONSTANT(m_tau_over_m_n,quantity<dimensionless>,1.89129*dimensionless(),3.1e-4*dimensionless());
  44. /// tau molar mass
  45. BOOST_UNITS_PHYSICAL_CONSTANT(M_tau,quantity<mass_over_amount>,1.90768e-3*kilograms/mole,3.1e-7*kilograms/mole);
  46. /// tau Compton wavelength
  47. BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_tau,quantity<length>,0.69772e-15*meters,1.1e-19*meters);
  48. } // namespace codata
  49. } // namespace constants
  50. } // namespace si
  51. } // namespace units
  52. } // namespace boost
  53. #endif // BOOST_UNITS_CODATA_TAU_CONSTANTS_HPP