Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-19 09:48:52

0001 // Boost.Units - A C++ library for zero-overhead dimensional analysis and 
0002 // unit/quantity manipulation and conversion
0003 //
0004 // Copyright (C) 2003-2008 Matthias Christian Schabel
0005 // Copyright (C) 2008 Steven Watanabe
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. (See
0008 // accompanying file LICENSE_1_0.txt or copy at
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 
0011 #ifndef BOOST_UNITS_CODATA_MUON_CONSTANTS_HPP
0012 #define BOOST_UNITS_CODATA_MUON_CONSTANTS_HPP
0013 
0014 #include <boost/units/quantity.hpp>
0015 #include <boost/units/static_constant.hpp>
0016 
0017 #include <boost/units/systems/detail/constants.hpp>
0018 #include <boost/units/systems/si/amount.hpp>
0019 #include <boost/units/systems/si/area.hpp>
0020 #include <boost/units/systems/si/electric_charge.hpp>
0021 #include <boost/units/systems/si/energy.hpp>
0022 #include <boost/units/systems/si/frequency.hpp>
0023 #include <boost/units/systems/si/length.hpp>
0024 #include <boost/units/systems/si/mass.hpp>
0025 #include <boost/units/systems/si/magnetic_flux_density.hpp>
0026 #include <boost/units/systems/si/time.hpp>
0027 #include <boost/units/systems/si/wavenumber.hpp>
0028 
0029 #include <boost/units/systems/si/codata/typedefs.hpp>
0030 
0031 /// \file
0032 /// CODATA recommended values of fundamental atomic and nuclear constants
0033 /// CODATA 2006 values as of 2007/03/30
0034 
0035 namespace boost {
0036 
0037 namespace units { 
0038 
0039 namespace si {
0040                             
0041 namespace constants {
0042 
0043 namespace codata {
0044 
0045 /// CODATA recommended values of the fundamental physical constants: NIST SP 961
0046 
0047 /// muon mass
0048 BOOST_UNITS_PHYSICAL_CONSTANT(m_mu,quantity<mass>,1.88353130e-28*kilograms,1.1e-35*kilograms);
0049 /// muon-electron mass ratio
0050 BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_e,quantity<dimensionless>,206.7682823*dimensionless(),5.2e-6*dimensionless());
0051 /// muon-tau mass ratio
0052 BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_tau,quantity<dimensionless>,5.94592e-2*dimensionless(),9.7e-6*dimensionless());
0053 /// muon-proton mass ratio
0054 BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_p,quantity<dimensionless>,0.1126095261*dimensionless(),2.9e-9*dimensionless());
0055 /// muon-neutron mass ratio
0056 BOOST_UNITS_PHYSICAL_CONSTANT(m_mu_over_m_n,quantity<dimensionless>,0.1124545167*dimensionless(),2.9e-9*dimensionless());
0057 /// muon molar mass
0058 BOOST_UNITS_PHYSICAL_CONSTANT(M_mu,quantity<mass_over_amount>,0.1134289256e-3*kilograms/mole,2.9e-12*kilograms/mole);
0059 /// muon Compton wavelength
0060 BOOST_UNITS_PHYSICAL_CONSTANT(lambda_C_mu,quantity<length>,11.73444104e-15*meters,3.0e-22*meters);
0061 /// muon magnetic moment
0062 BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu,quantity<energy_over_magnetic_flux_density>,-4.49044786e-26*joules/tesla,1.6e-33*joules/tesla);
0063 /// muon-Bohr magneton ratio
0064 BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_B,quantity<dimensionless>,-4.84197049e-3*dimensionless(),1.2e-10*dimensionless());
0065 /// muon-nuclear magneton ratio
0066 BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_N,quantity<dimensionless>,-8.89059705*dimensionless(),2.3e-7*dimensionless());
0067 /// muon magnetic moment anomaly
0068 BOOST_UNITS_PHYSICAL_CONSTANT(a_mu,quantity<dimensionless>,1.16592069e-3*dimensionless(),6.0e-10*dimensionless());
0069 /// muon g-factor
0070 BOOST_UNITS_PHYSICAL_CONSTANT(g_mu,quantity<dimensionless>,-2.0023318414*dimensionless(),1.2e-9*dimensionless());
0071 /// muon-proton magnetic moment ratio
0072 BOOST_UNITS_PHYSICAL_CONSTANT(mu_mu_over_mu_p,quantity<dimensionless>,-3.183345137*dimensionless(),8.5e-8*dimensionless());
0073 
0074 } // namespace codata
0075 
0076 } // namespace constants    
0077 
0078 } // namespace si
0079 
0080 } // namespace units
0081 
0082 } // namespace boost
0083 
0084 #endif // BOOST_UNITS_CODATA_MUON_CONSTANTS_HPP