206 static const G4int nQHM=53;
241 if(!thePDGCode) theQCode = -2;
242 else theQCode = MakeQCode(thePDGCode);
248 if(!thePDGCode) theQCode = -2;
249 else theQCode = MakeQCode(thePDGCode);
255 if(!thePDGCode) theQCode = -2;
256 else theQCode = MakeQCode(thePDGCode);
262 if(!thePDGCode) theQCode = -2;
263 else theQCode = MakeQCode(thePDGCode);
269 if(!thePDGCode) theQCode = -2;
270 else theQCode = MakeQCode(thePDGCode);
276 if(!thePDGCode) theQCode = -2;
277 else theQCode = MakeQCode(thePDGCode);
286 G4int szn=PDG-90000000;
292 G4int ns_value=(-szn)/1000000+1;
293 szn+=ns_value*1000000;
298 G4int nz=(-szn)/1000+1;
321 G4int s_value =sz/1000-ds;
332 if(thePDGCode<80000000)
return thePDGCode%10;
342 thePDGCode=newPDGCode;
343 if(!thePDGCode) theQCode = -2;
344 else theQCode = MakeQCode(newPDGCode);
351 if(!thePDGCode) theQCode = -2;
352 else theQCode = MakeQCode(thePDGCode);
359 thePDGCode = MakePDGCode(QCode);
G4int operator-(const G4QPDGCode &lhs, const G4QPDGCode &rhs)
G4int operator+(const G4QPDGCode &lhs, const G4QPDGCode &rhs)
G4int operator%(const G4QPDGCode &lhs, const G4int &rhs)
std::ostream & operator<<(std::ostream &lhs, G4QPDGCode &rhs)
G4int operator*(const G4QPDGCode &lhs, const G4QPDGCode &rhs)
G4int operator/(const G4QPDGCode &lhs, const G4QPDGCode &rhs)
G4int GetBaryonNumber() const
G4int GetSPDGCode() const
G4QContent GetQuarkContent() const
G4QContent GetExQContent(G4int i, G4int o) const
G4QPDGCode operator+=(const G4int &rhs)
void InitByQCont(G4QContent QCont)
G4int GetNumOfComb(G4int i, G4int o) const
G4QPDGCode operator/=(const G4int &rhs)
void InitByQCode(G4int QCode)
G4bool operator==(const G4QPDGCode &rhs) const
G4QPDGCode operator*=(const G4int &rhs)
G4bool operator!=(const G4QPDGCode &rhs) const
G4QPDGCode operator-=(const G4int &rhs)
const G4QPDGCode & operator=(const G4QPDGCode &rhs)
G4double GetNuclMass(G4int Z, G4int N, G4int S)
void ConvertPDGToZNS(G4int PDG, G4int &z, G4int &n, G4int &s)
G4int GetRelCrossIndex(G4int i, G4int o) const
G4int GetTotNumOfComb(G4int i) const
std::pair< G4int, G4int > MakeTwoBaryons(G4int L1, G4int L2, G4int R1, G4int R2)
void SetPDGCode(G4int newPDGCode)