Dear Geant4 experts, We are using Gean4.8.1.p01 and hadronic package QGSP for our detectorsimulation. We find that for some muon- at rest, an infinite loop occurs in G4MuonMinusCaptureAtRest. We designed a simple program to confirm this program: The detector is a box filled with our gas (a mixture of He and propane C3H8), the event generator produce a mu- at rest in the center of box. After about 50000 event running, the program goes to infinite loop. We traced the event step and found the dead-loop in G4MuonMinusCaptureAtRest::DoMuCapture. Your help will be greatly appreciated. Huaimin Liu IHEP, Beijing
Please send a copy of your main() and any other necessary code to me at dwright@slac.stanford.edu along with the macro you used to run it. I will then try to reproduce the problem.
G4MuonMinusCaptureAtRest re-written by Vladimir Ivanchenko to address infinite loop problem. The fixed version is included in Geant4 V8.2.