114 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
115 G4cout <<
" meson has three quark ";
123 if (std::abs(tempPDGcode)%10000 == 3122)
127 }
else if (std::abs(tempPDGcode)%10000 == 3124) {
130 }
else if (std::abs(tempPDGcode)%10000 == 3126) {
133 }
else if (std::abs(tempPDGcode)%10000 == 3128) {
136 }
else if (std::abs(tempPDGcode)%10000 == 4122) {
139 }
else if (std::abs(tempPDGcode)%10000 == 5122) {
142 }
else if (std::abs(tempPDGcode)%10000 == 4132) {
145 }
else if (std::abs(tempPDGcode)%10000 == 4232) {
148 }
else if (std::abs(tempPDGcode)%10000 == 5132) {
151 }
else if (std::abs(tempPDGcode)%10000 == 5232) {
154 }
else if (std::abs(tempPDGcode)%10000 == 2122) {
157 }
else if (std::abs(tempPDGcode)%10000 == 1212) {
160 }
else if (std::abs(tempPDGcode)%10000 == 2126) {
163 }
else if (std::abs(tempPDGcode)%10000 == 1216) {
166 }
else if (std::abs(tempPDGcode)%10000 == 2128) {
169 }
else if (std::abs(tempPDGcode)%10000 == 1218) {
172 }
else if (std::abs(tempPDGcode)%10000 == 2124) {
175 }
else if (std::abs(tempPDGcode)%10000 == 1214) {
186 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
187 G4cout <<
" illegal code for baryon ";
198 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
199 G4cout <<
" ??? unknown quark ";
229 if (tempPDGcode == 310)
spin = 0;
230 if (tempPDGcode == 130)
242 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
243 G4cout <<
" meson has only quark and anti-quark pair";
254 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
255 G4cout <<
" illegal code for meson ";
268 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
269 G4cout <<
" ??? unknown quark ";
329 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
330 G4cout <<
" ??? unknown quark ";
362 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
363 G4cout <<
" ??? unknown quark ";
396 if (std::fabs(totalCharge-thePDGCharge)>0.1*
eplus)
401 G4cout <<
" G4PDGCodeChecker::CheckCharge : ";
402 G4cout <<
" illegal electric charge " << thePDGCharge/
eplus;
415 if (pcode < 1000000000)
423 pcode -= 10000000*
LL;
430 if (A < 2 || Z >
A-
LL ||
LL>
A )
435 G4cout <<
" G4PDGCodeChecker::CheckPDGCode : ";
436 G4cout <<
" ??? Illegal PDG encoding for nucleus ";
467 G4int temp = std::abs(PDGcode);
static const G4int LL[nN]
static constexpr double eplus
G4GLOB_DLL std::ostream G4cout
G4int CheckPDGCode(G4int code, const G4String &type)
G4bool CheckCharge(G4double charge) const
void GetDigits(G4int code)
G4int theAntiQuarkContent[NumberOfQuarkFlavor]
G4int theQuarkContent[NumberOfQuarkFlavor]