12 int pdgAbs =
abs(pdg);
13 return ((pdgAbs % 100000 / 10000 == 9) || (pdgAbs % 10000 / 1000 == 9) ||
s_isRGlueball(pdg));
17 int pdgAbs =
abs(pdg);
18 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 1000 / 100 == 6));
22 int pdgAbs =
abs(pdg);
23 return ((pdgAbs % 10000 / 1000 == 5) || (pdgAbs % 10000 / 100 == 5));
27 int pdgAbs =
abs(pdg);
28 return (pdgAbs / 100 % 10000 == 0 && pdgAbs / 10 % 10 == 1);
32 int pdgAbs =
abs(pdg);
33 return (pdgAbs % 100000 / 10000 == 9);
37 int pdgAbs =
abs(pdg);
38 return (pdgAbs % 100000 / 10 == 99);
42 int pdgAbs =
abs(pdg);
43 return (pdgAbs == 1072000) || (pdgAbs == 1023);
47 int pdgAbs =
abs(pdg);
48 return (pdgAbs % 10000 / 1000 == 9);
52 int pdgAbs =
abs(pdg);
53 return ((pdgAbs % 10000 / 100 == 6) || (pdgAbs % 10000 / 100 == 5));
57 int pdgAbs =
abs(pdg);
58 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 10000 / 1000 == 5));
62 int pdgAbs =
abs(pdg);
63 return (pdgAbs == 1000024);
68 int pdgAbs =
abs(pdg);
88 if ((quarks[1] % 2 == 0 && quarks[0] % 2 == 1) || (quarks[1] % 2 == 1 && quarks[0] % 2 == 0))
96 for (
int q = 1;
q < 1000;
q *= 10) {
97 if (baryon /
q % 2 == 0)
109 int squark =
abs(pdg / 100 % 10);
110 if (squark % 2 == 0 && quark % 2 == 1)
112 if (squark % 2 == 1 && quark % 2 == 0)
122 for (
int q = 1;
q < 1000;
q *= 10) {
123 if (baryon /
q % 2 == 0)
145 int pdgAbs =
abs(pdg);
150 std::vector<int> quarks;
152 quarks.push_back(
i % 10);
158 int pdgAbs =
abs(pdg);
160 return pdgAbs / 10 % 1000;
163 return pdgAbs / 10 % 100;
166 return pdgAbs / 10 % 1000 % 10;
169 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_isgluinoHadron(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_issbottomHadron(int pdg)
static bool s_isstopHadron(int pdg)