9using CLHEP::electron_mass_c2;
10using CLHEP::proton_mass_c2;
11using CLHEP::neutron_mass_c2;
12using CLHEP::c_squared;
13using CLHEP::electron_charge;
19 electron_charge, 0.5);
23 electron_charge, 0.5);
31 139.56755 * MeV / c_squared, eplus, 0.0);
33 139.56755 * MeV / c_squared, -eplus, 0.0);
35 493.677 * MeV / c_squared, 1, 0.0);
41 3727.417 * MeV / c_squared, 2 * eplus, 0.);
44 const std::string& fnotation,
double fmass,
45 double fcharge,
float fspin) :
54 if (!(fname ==
"" || fname ==
" "))
name = fname;
55 if (!(fnotation ==
"" || fnotation ==
" "))
notation = fnotation;
59 std::string aname =
"anti-" + p.
name;
60 std::string anot =
"anti-" + p.
notation;
69 if (l > 0) file << (*this);
76 <<
" mass/(GeV/c_squared)=" << f.
mass / (GeV / c_squared)
77 <<
" charge=" << f.
charge <<
" charge/eplus=" << f.
charge / eplus
void print(std::ostream &file, int l) const
void set_mass(const double m)
particle_def()=default
Default constructor.
particle_def anti_particle(const particle_def &p)
Function for making an anti-particle.
void set_charge(const double z)
std::string notation
Short name to make data summary files short.
particle_def K_plus_meson_def("K_plus", "K+", 493.677 *MeV/c_squared, 1, 0.0)
particle_def alpha_particle_def("alpha_particle", "alpha", 3727.417 *MeV/c_squared, 2 *eplus, 0.)
particle_def anti_proton_def("", "p-", proton_def)
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
particle_def deuteron_def("deuteron", "d", 1875.613 *MeV/c_squared, eplus, 0.0)
particle_def electron_def("electron", "e-", electron_mass_c2/c_squared, electron_charge, 0.5)
particle_def muon_minus_def("muon_minus", "mu-", 105.658367 *MeV/c_squared, electron_charge, 0.5)
particle_def pi_plus_meson_def("pi_plus", "pi+", 139.56755 *MeV/c_squared, eplus, 0.0)
particle_def muon_plus_def("muon_plus", "mu+", muon_minus_def)
particle_def positron_def("positron", "e+", electron_def)
particle_def K_minus_meson_def("K_minus", "K-", K_plus_meson_def)
particle_def pi_minus_meson_def("pi_minus", "pi-", 139.56755 *MeV/c_squared, -eplus, 0.0)
particle_def proton_def("proton", "p+", proton_mass_c2/c_squared, eplus, 0.5)