13 return ( (pdgAbs % 100000 / 10000 == 9) || (pdgAbs % 10000 / 1000 == 9) ||
s_isRGlueball(pdg) );
19 return ( (pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 1000 / 100 == 6) );
25 return ( (pdgAbs % 10000 / 1000 == 5) || (pdgAbs % 10000 / 100 == 5) );
31 return (pdgAbs / 100 % 10000 == 0 && pdgAbs / 10 % 10 == 1);
37 return (pdgAbs % 100000 / 10000 == 9);
44 return (pdgAbs % 100000 / 10 == 99);
51 return (pdgAbs == 1072000);
58 return (pdgAbs % 10000 / 1000 == 9);
65 return ((pdgAbs % 10000 / 100 == 6 ) || (pdgAbs % 10000 / 100 == 5));
73 return ((pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 10000 / 1000 == 5));
79 int pdgAbs =
abs(pdg);
80 return (pdgAbs == 1000024);
107 if((quarks[1] % 2 == 0 && quarks[0] % 2 == 1)||(quarks[1] % 2 == 1 && quarks[0] % 2 == 0 )) charge=1;
115 for(
int q=1;
q< 1000;
q*=10)
117 if(baryon /
q % 2 == 0) charge+=2;
else charge -=1;
127 int squark =
abs(pdg/100%10);
128 if (squark % 2 == 0 && quark % 2 == 1) charge = 1;
129 if (squark % 2 == 1 && quark % 2 == 0) charge = 1;
138 for(
int q=1;
q< 1000;
q*=10)
140 if(baryon /
q % 2 == 0) charge+=2;
else charge -=1;
165 std::vector<int> quarks;
168 quarks.push_back(
i % 10);
177 return pdgAbs / 10 % 1000;
180 return pdgAbs / 10 % 100;
183 return pdgAbs / 10 % 1000 % 10;
186 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)