Problem 1808 - TestEm0 outputs wrong values for stopping ranges of helium ions
Summary: TestEm0 outputs wrong values for stopping ranges of helium ions
Status: RESOLVED FIXED
Alias: None
Product: Examples/Extended
Classification: Unclassified
Component: electromagnetic/TestEM5 (show other problems)
Version: 10.1
Hardware: PC Linux
: P5 minor
Assignee: Vladimir.Ivantchenko
URL:
Depends on:
Blocks:
 
Reported: 2015-12-18 17:06 CET by Oliver
Modified: 2016-02-01 09:58 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Oliver 2015-12-18 17:06:47 CET
When running TestEm0 with the macro

/run/initialize
/testem/det/setMat Water
/gun/particle alpha
/gun/energy 0.5 MeV
/run/beamOn
/run/beamOn
/run/beamOn

I obtain inconsistent values for the stopping range:

  range from full dE/dx    :     1.90254 um  (0.190254 mg/cm2)
  range from full dE/dx    :     3.78707 um  (0.378707 mg/cm2)
  range from full dE/dx    :     5.24298 um  (0.524298 mg/cm2)

All other outputs look sensible.

The problem only appears for He ions and not for any other element.

Issuing the command "/testem/phys/setCuts 100 um" before each beamOn call appears to "fix" the problem.
Comment 1 Vladimir.Ivantchenko 2016-01-22 17:54:28 CET
Hello,

thank you for the report of the problem. It has been understood and the fix will be available with the next public patch Geant4 10.2. The problem was in G4EmCalculator, so run time simulation is not affected by this bug.

VI
Comment 2 Oliver 2016-02-01 09:58:20 CET
Great. Thanks for fixing the problem. When (roughly) will the next public patch be made available?