134 const G4int itry_max = 100;
139 G4cout <<
" InuclCollider -> particle on particle collision" <<
G4endl;
152 G4cerr <<
" InuclCollider -> no collision possible " <<
G4endl;
161 G4cerr <<
" InuclCollider -> ERROR target is not a nucleus " <<
G4endl;
176 G4cerr <<
" InuclCollider -> ERROR bullet is not a hadron " <<
G4endl;
182 G4cerr <<
" InuclCollider -> ERROR can not collide with "
188 btype = pbullet->
type();
193 G4cerr <<
" InuclCollider -> ERROR bullet is not a nucleus " <<
G4endl;
198 ab = nbullet->
getA();
199 zb = nbullet->
getZ();
209 G4cout <<
" InuclCollider -> inelastic interaction is impossible\n"
210 <<
" due to the coulomb barirer " <<
G4endl;
219 G4cout <<
" degenerated? " << convertToTargetRestFrame.
trivial()
234 while (itry < itry_max) {
238 globalOutput.
reset();
249 if (std::getenv(
"G4CASCADE_CHECK_PHOTONUCLEAR"))
253 G4cout <<
" itry " << itry <<
" finished, moving to lab frame" <<
G4endl;
265 G4cout <<
" InuclCollider output after trials " << itry <<
G4endl;
270 G4cerr <<
" InuclCollider setOnShell failed." <<
G4endl;
275 G4cout <<
" InuclCollider -> can not generate acceptable inter. after "
276 << itry_max <<
" attempts " <<
G4endl;
297 globalOutput.
reset();
311 G4cout <<
" InuclCollider output after trials " << itry <<
G4endl;
322 const G4int itry_max = 10;
346 G4cout <<
" >>> G4InuclCollider::photonuclearOkay" <<
G4endl;
352 G4cout <<
" comparing final nucleus with initial target:\n"
356 G4cout <<
" no final nucleus remains when target was "
366 if (mfinalNuc != mtargetNuc)
return true;
369 G4cout <<
" photonuclear produced only gammas. Try again." <<
G4endl;