14 : total(ftotal), projection(fprojection) {
15 mfunname(
"spin_def::spin_def(float ftotal, float fprojection)");
25particle_def
electron_def(
"electron",
"e-", electron_mass_c2 / c_squared,
26 electron_charge, 1, 0, 0.5, spin_def(0.0, 0.0));
29particle_def
muon_minus_def(
"muon_minus",
"mu-", 105.658367 * MeV / c_squared,
30 electron_charge, 1, 0, 0.5, spin_def(0.0, 0.0));
33particle_def
proton_def(
"proton",
"p+", proton_mass_c2 / c_squared, eplus, 0, 1,
34 0.5, spin_def(0.5, 0.5));
36particle_def
neutron_def(
"neutron",
"n", neutron_mass_c2 / c_squared, 0, 0, 1,
37 0.5, spin_def(0.5, -0.5));
40particle_def
P11_def(
"P11",
"P11", 1440.0 * MeV / c_squared, 1 * eplus, 0, 1,
41 0.5, spin_def(0.5, 0.5));
42particle_def
D13_def(
"D13",
"D13", 1520.0 * MeV / c_squared, 1 * eplus, 0, 1,
43 1.5, spin_def(0.5, 0.5));
44particle_def
S11_def(
"S11",
"S11", 1535.0 * MeV / c_squared, 1 * eplus, 0, 1,
45 0.5, spin_def(0.5, 0.5));
49 139.56755 * MeV / c_squared, eplus, 0, 0, 0.0,
52 139.56755 * MeV / c_squared, -eplus, 0, 0, 0.0,
54particle_def
pi_0_meson_def(
"pi_0_meson",
"pi0", 134.9734 * MeV / c_squared, 0,
55 0, 0, 0.0, spin_def(1.0, 0.0));
56particle_def
eta_meson_def(
"eta_meson_def",
"eta", 548.8 * MeV / c_squared, 0,
57 0, 0, 1.0, spin_def(0.0, 0.0));
59 493.677 * MeV / c_squared, 1, 0, 0, 0.0,
63particle_def
deuteron_def(
"deuteron",
"dtr", 1875.613 * MeV / c_squared, eplus,
64 0, 2, 0.0, spin_def(0.0, 0.0));
66 3727.417 * MeV / c_squared, 2 * eplus, 0, 4,
67 0.0, spin_def(0.0, 0.0));
70 139.56755 * MeV / c_squared, eplus, 0, 0, 0.0,
74 double fmass,
double fcharge,
int flepton_n,
75 int fbarion_n,
float fspin,
97 if (!(fname ==
"" || fname ==
" "))
name = fname;
98 if (!(fnotation ==
"" || fnotation ==
" "))
notation = fnotation;
122 if (an->el->notation == fnotation)
return an->el;
143 Ifile <<
"particle_def::printall:\n";
173 <<
" mass/(GeV/c_squared)=" << f.
mass / (GeV / c_squared)
174 <<
" charge=" << f.
charge <<
" charge/eplus=" << f.
charge / eplus
182 mfunname(
"particle_type::particle_type(const char* name, int s)");
188 if (name == an->el->notation) {
195 if (name == an->el->name) {
201 mcerr <<
"this type of particle is absent, name=" << name <<
'\n';
208 if (
pardef.get() == NULL) {
216 if (f.
pardef.get() == NULL) {
217 file <<
"type is not initialized";
#define check_econd11(a, signb, stream)
#define check_econd12(a, sign, b, stream)
AbsListNode< T > * get_next_node(AbsListNode< T > *an) const
static AbsList< particle_def * > & get_logbook(void)
void print(std::ostream &file, int l) const
static const AbsList< particle_def * > & get_const_logbook(void)
void set_mass(const double m)
particle_def anti_particle(const particle_def &p)
void set_charge(const double z)
static particle_def * get_particle_def(const String &fnotation)
static void printall(std::ostream &file)
void print_notation(std::ostream &file) const
PassivePtr< particle_def > pardef
particle_def pi_minus_meson_def("pi_minus_meson", "pi-", 139.56755 *MeV/c_squared, -eplus, 0, 0, 0.0, spin_def(1.0, -1.0))
particle_def pi_plus_meson_def("pi_plus_meson", "pi+", 139.56755 *MeV/c_squared, eplus, 0, 0, 0.0, spin_def(1.0, 1.0))
particle_def D13_def("D13", "D13", 1520.0 *MeV/c_squared, 1 *eplus, 0, 1, 1.5, spin_def(0.5, 0.5))
particle_def muon_minus_def("muon_minus", "mu-", 105.658367 *MeV/c_squared, electron_charge, 1, 0, 0.5, spin_def(0.0, 0.0))
particle_def alpha_particle_def("alpha_particle", "alpha", 3727.417 *MeV/c_squared, 2 *eplus, 0, 4, 0.0, spin_def(0.0, 0.0))
particle_def anti_proton_def("", "p-", proton_def)
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)
particle_def deuteron_def("deuteron", "dtr", 1875.613 *MeV/c_squared, eplus, 0, 2, 0.0, spin_def(0.0, 0.0))
particle_def proton_def("proton", "p+", proton_mass_c2/c_squared, eplus, 0, 1, 0.5, spin_def(0.5, 0.5))
particle_def pi_0_meson_def("pi_0_meson", "pi0", 134.9734 *MeV/c_squared, 0, 0, 0, 0.0, spin_def(1.0, 0.0))
particle_def neutron_def("neutron", "n", neutron_mass_c2/c_squared, 0, 0, 1, 0.5, spin_def(0.5, -0.5))
particle_def K_minus_meson_def("K_minus_meson_def", "K-", K_plus_meson_def)
particle_def eta_meson_def("eta_meson_def", "eta", 548.8 *MeV/c_squared, 0, 0, 0, 1.0, spin_def(0.0, 0.0))
particle_def K_plus_meson_def("K_plus_meson_def", "K+", 493.677 *MeV/c_squared, 1, 0, 0, 0.0, spin_def(0.5, -0.5))
particle_def P11_def("P11", "P11", 1440.0 *MeV/c_squared, 1 *eplus, 0, 1, 0.5, spin_def(0.5, 0.5))
particle_def user_particle_def("user_particle", "X", 139.56755 *MeV/c_squared, eplus, 0, 0, 0.0, spin_def(0.0, 0.0))
particle_def S11_def("S11", "S11", 1535.0 *MeV/c_squared, 1 *eplus, 0, 1, 0.5, spin_def(0.5, 0.5))
particle_def muon_plus_def("muon_plus", "mu+", muon_minus_def)
particle_def positron_def("positron", "e+", electron_def)
particle_def electron_def("electron", "e-", electron_mass_c2/c_squared, electron_charge, 1, 0, 0.5, spin_def(0.0, 0.0))
particle_def anti_neutron_def("", "", neutron_def)