11 int pdgAbs =
abs(pdg);
12 return ((pdgAbs % 100000 / 10000 == 9) || (pdgAbs % 10000 / 1000 == 9) ||
s_isRGlueball(pdg));
16 int pdgAbs =
abs(pdg);
17 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 1000 / 100 == 6));
21 int pdgAbs =
abs(pdg);
22 return ((pdgAbs % 10000 / 1000 == 5) || (pdgAbs % 10000 / 100 == 5));
26 int pdgAbs =
abs(pdg);
27 return (pdgAbs / 100 % 10000 == 0 && pdgAbs / 10 % 10 == 1);
31 int pdgAbs =
abs(pdg);
32 return (pdgAbs % 100000 / 10000 == 9);
36 int pdgAbs =
abs(pdg);
37 return (pdgAbs % 100000 / 10 == 99);
41 int pdgAbs =
abs(pdg);
42 return (pdgAbs == 1072000);
46 int pdgAbs =
abs(pdg);
47 return (pdgAbs % 10000 / 1000 == 9);
51 int pdgAbs =
abs(pdg);
52 return ((pdgAbs % 10000 / 100 == 6) || (pdgAbs % 10000 / 100 == 5));
56 int pdgAbs =
abs(pdg);
57 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 10000 / 1000 == 5));
61 int pdgAbs =
abs(pdg);
62 return (pdgAbs == 1000024);
67 int pdgAbs =
abs(pdg);
87 if ((quarks[1] % 2 == 0 && quarks[0] % 2 == 1) || (quarks[1] % 2 == 1 && quarks[0] % 2 == 0))
95 for (
int q = 1;
q < 1000;
q *= 10) {
96 if (baryon /
q % 2 == 0)
108 int squark =
abs(pdg / 100 % 10);
109 if (squark % 2 == 0 && quark % 2 == 1)
111 if (squark % 2 == 1 && quark % 2 == 0)
121 for (
int q = 1;
q < 1000;
q *= 10) {
122 if (baryon /
q % 2 == 0)
144 int pdgAbs =
abs(pdg);
149 std::vector<int> quarks;
151 quarks.push_back(
i % 10);
157 int pdgAbs =
abs(pdg);
159 return pdgAbs / 10 % 1000;
162 return pdgAbs / 10 % 100;
165 return pdgAbs / 10 % 1000 % 10;
168 return pdgAbs / 10 % 1000 % 100;
static int s_containedQuarksCode(int pdg)
static bool s_isRGlueball(int pdg)
static bool s_isDphoton(int pdg)
static double s_charge(int pdg)
static bool s_isSbaryon(int pdg)
static bool s_isRMeson(int pdg)
static bool s_isMesonino(int pdg)
static bool s_isSLepton(int pdg)
Abs< T >::type abs(const T &t)
static double s_spin(int pdg)
static bool s_isChargino(int pdg)
static bool s_isRBaryon(int pdg)
static std::vector< int > s_containedQuarks(int pdg)
static bool s_isRHadron(int pdg)
static bool s_issbottomHadron(int pdg)
static bool s_isstopHadron(int pdg)