32 G4int absPDGcode = std::abs(PDGcode);
33 if (absPDGcode >= 1000)
return false;
43 G4int heavy = absPDGcode/100;
44 G4int light = (absPDGcode%100)/10;
46 if (PDGcode < 0 ) anti = -anti;
void G4SwapObj(T *a, T *b)
T max(const T t1, const T t2)
brief Return the largest of the two arguments
G4bool SplitMeson(G4int PDGcode, G4int *aEnd, G4int *bEnd)