Running amsEcal geantino.mac I get zero/zero in RunAction.cc:231 because in resEvis = 100*rmsEvis/meanEvis; rmsEvis and meanEvis are both zero. This is in beta test 10.00.b01.
Thanks for the report. The bug has been fixed
I just downloaded geant4.10.00 but I still have the same bug at the same location, changed /run/beamOn 4000 (from 40000) to make it faster. Can you please double check?
Yes, Geant4 10.0 is still affected. I have fixed the bug only recently, so the fix will be available in the first available patch of 10.0. My apologies for the misunderstanding.
Now I have a division by zero at line 240 of RunAction.cc "resEtot = 100*rmsEtot/meanEtot;" because rmsEtot and meanEtot are both zero. Perhaps fix is "resEtot = meanEtot ? 100*rmsEtot/meanEtot : 0.;"?
Also I have divisions by zero at lines 269 and 277.
Ok, thanks for your report. I will have a closer look ASAP.
The problem has been fixed by M. Maire. Likely, it will not be in time to be released in the 10.1.beta, but it will surely be released in the next available patch to 10.0. Also, it is likely that the example will go under strong re-design and upgrade before the 10.1 release. Thanks for your report.