16 spin_def(
float ftotal,
float fprojection);
57 particle_def(
const std::string& fname,
const std::string& fnotation,
58 double fmass,
double fcharge,
int flepton_n,
int fbarion_n,
59 float fspin,
const spin_def& fisospin);
60 particle_def(
const std::string& fname,
const std::string& fnotation,
61 double fmass,
double fcharge,
int flepton_n,
int fbarion_n,
62 float fspin,
float fisospin_total,
float fisospin_proj) {
63 *
this =
particle_def(fname, fnotation, fmass, fcharge, flepton_n, fbarion_n,
64 fspin,
spin_def(fisospin_total, fisospin_proj));
76 particle_def(
const std::string& fname,
const std::string& fnotation,
80 void print(std::ostream& file,
int l)
const;
81 static void printall(std::ostream& file);
97std::ostream&
operator<<(std::ostream& file,
const particle_def& f);
156std::ostream&
operator<<(std::ostream& file,
const particle_type& f);
static particle_def * get_particle_def(const std::string &fnotation)
void verify()
Check that there is no particle with the same name in the container.
static const std::list< particle_def * > & get_const_logbook()
void print(std::ostream &file, int l) const
particle_def(const particle_def &f)
void set_mass(const double m)
static std::list< particle_def * > & get_logbook()
particle_def anti_particle(const particle_def &p)
Function for making an anti-particle.
particle_def(const std::string &fname, const std::string &fnotation, double fmass, double fcharge, int flepton_n, int fbarion_n, float fspin, float fisospin_total, float fisospin_proj)
void set_charge(const double z)
static void printall(std::ostream &file)
std::string notation
Short name to make data summary files short.
int operator==(const particle_type &f)
void print_notation(std::ostream &file) const
int operator!=(const particle_type &f)
particle_type(particle_def *f)
Helper class for definition of spin.
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)