6 return ((pdgAbs % 100000 / 10000 == 9) || (pdgAbs % 10000 / 1000 == 9) ||
s_isRGlueball(
pdg));
11 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 1000 / 100 == 6));
16 return ((pdgAbs % 10000 / 1000 == 5) || (pdgAbs % 10000 / 100 == 5));
21 return (pdgAbs / 100 % 10000 == 0 && pdgAbs / 10 % 10 == 1);
26 return (pdgAbs % 100000 / 10000 == 9);
31 return (pdgAbs % 100000 / 10 == 99);
36 return (pdgAbs == 1072000) || (pdgAbs == 1023);
41 return (pdgAbs % 10000 / 1000 == 9);
46 return ((pdgAbs % 10000 / 100 == 6) || (pdgAbs % 10000 / 100 == 5));
51 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 10000 / 1000 == 5));
56 return (pdgAbs == 1000024);
61 return (pdgAbs == 9000006);
89 if ((quarks[1] % 2 == 0 && quarks[0] % 2 == 1) || (quarks[1] % 2 == 1 && quarks[0] % 2 == 0))
97 for (
int q = 1;
q < 1000;
q *= 10) {
98 if (baryon /
q % 2 == 0)
110 int squark =
abs(
pdg / 100 % 10);
111 if (squark % 2 == 0 && quark % 2 == 1)
113 if (squark % 2 == 1 && quark % 2 == 0)
123 for (
int q = 1;
q < 1000;
q *= 10) {
124 if (baryon /
q % 2 == 0)
151 std::vector<int> quarks;
153 quarks.push_back(
i % 10);
161 return pdgAbs / 10 % 1000;
164 return pdgAbs / 10 % 100;
167 return pdgAbs / 10 % 1000 % 10;
170 return pdgAbs / 10 % 1000 % 100;