Problem 482

Summary: Infinite loop with Binary Cascade
Product: Geant4 Reporter: ersmark
Component: processes/hadronic/modelsAssignee: Hans-Peter.Wellisch
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: other   
Hardware: PC   
OS: Linux   
URL: http://www.particle.kth.se/desire/tmp/bicbug.tgz

Description ersmark 2003-04-29 11:51:09 CEST
Hi Hans-Peter,

Using the LHEP_BIC physics list Geant4 gets stuck in an infinite loop. A program demonstrating the problem
(after a few thousand events) can be found at the URL below.  The loop that does not get broken starts at
line 255 in the referenced file.

Short simulation description:
Protons @ 449MeV incident along axis on a water cylinder with length 20cm and radius 10cm. The world
volume is "vacuum" at 3.e-18 Pa (as in some examples).

System info:
Geant 4.5.0 + patch 1; Packaging 2.1 ; patch to "scattering" provided by you 16/4
RedHat 8.0 (gcc-2.95.3 (non native)) and Gentoo 1.2 (gcc-2.95.3 (native))
Comment 1 Gabriele Cosmo 2003-05-08 04:59:59 CEST
*** Bug 483 has been marked as a duplicate of this bug. ***
*** 'Hans-Peter.Wellisch@cern.ch' will be responsible for bug 483. ***
Comment 2 Hans-Peter.Wellisch 2003-05-25 12:15:59 CEST
Was due to a problem with a delta0 created below threshold.
Fixed in 5.1. More fixes for binary cascade will be released with 5.2.
Now the code is stable. We performed a set of complete calorimeter
test-beqam simulations - energy scan 5-300 GeV without fault.

Many greetings,

Hans-Peter.