13 return ( (pdgAbs % 100000 / 10000 == 9) || (pdgAbs % 10000 / 1000 == 9) ||
s_isRGlueball(pdg) );
19 return ( (pdgAbs % 10000 / 1000 == 6) || (pdgAbs % 1000 / 100 == 6) );
26 return (pdgAbs / 100 % 10000 == 0 && pdgAbs / 10 % 10 == 1);
32 return (pdgAbs % 100000 / 10000 == 9);
39 return (pdgAbs % 100000 / 10 == 99);
46 return (pdgAbs % 10000 / 1000 == 9);
53 return (pdgAbs % 10000 / 100 == 6);
60 return (pdgAbs % 10000 / 1000 == 6);
82 if((quarks[1] % 2 == 0 && quarks[0] % 2 == 1)||(quarks[1] % 2 == 1 && quarks[0] % 2 == 0 )) charge=1;
90 for(
int q=1;
q< 1000;
q*=10)
92 if(baryon /
q % 2 == 0) charge+=2;
else charge -=1;
102 int squark =
abs(pdg/100%10);
103 if (squark % 2 == 0 && quark % 2 == 1) charge = 1;
104 if (squark % 2 == 1 && quark % 2 == 0) charge = 1;
112 for(
int q=1;
q< 1000;
q*=10)
114 if(baryon /
q % 2 == 0) charge+=2;
else charge -=1;
132 std::vector<int> quarks;
135 quarks.push_back(
i % 10);
144 return pdgAbs / 10 % 1000;
147 return pdgAbs / 10 % 100;
150 return pdgAbs / 10 % 1000 % 10;
153 return pdgAbs / 10 % 1000 % 100;
static int s_containedQuarksCode(int pdg)
static bool s_isRGlueball(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)
static double s_spin(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_isstopHadron(int pdg)