Problem 1006 - Behavior of NeutronInelastic changed since Gean4.8.2p01
Summary: Behavior of NeutronInelastic changed since Gean4.8.2p01
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic (show other problems)
Version: 9.1
Hardware: PC Linux
: P5 normal
Assignee: dennis.herbert.wright
URL:
Depends on:
Blocks:
 
Reported: 2008-03-17 11:39 CET by Gonchar Maxim
Modified: 2011-03-07 16:48 CET (History)
0 users

See Also:


Attachments
example application (5.31 KB, application/x-gzip)
2008-03-17 11:41 CET, Gonchar Maxim
Details
script for comparison (1.60 KB, application/octet-stream)
2008-04-02 10:25 CEST, Gonchar Maxim
Details

Note You need to log in before you can comment on or make changes to this problem.
Description Gonchar Maxim 2008-03-17 11:39:38 CET
Geant versions:
4.8.2p01
4.9.0
4.9.1
4.9.1p01

OS:Linux Debian/testing.

Behavior of NeutronInelastic changed since Geant4.8.2p01. On an older versions (4.9.*) it gives another result.

The example application is attached (it needs ROOT installed). It simulates neutron propagation in cube, filled with oxygen. It simply saves delta Energy for neutron on each step and plot histogram for energy loss due to inelastic scattering. 

The effect is seen only when initial neutron energy is more than 20 MeV (21 in example). Energy loss per step distribution have a large peak on low energy for g4.8.2p01, when g4.9* doesn't have it.

Step-by-step:
- Compile example with G4.8.2 and with G4.9.1.
- Run them separately with test.mac (be sure that initial energy is 21 MeV)
- Compare result files with root macros compare.C
- Look at energy loss per step distribution.

I'm not sure if it is an error, but I can not find anything about it in Release Notes.

Thank you.

regards, Maxim Gonchar.
Comment 1 Gonchar Maxim 2008-03-17 11:41:28 CET
Created attachment 21 [details]
example application
Comment 2 Gonchar Maxim 2008-04-02 10:25:18 CEST
Created attachment 25 [details]
script for comparison

Script that compares output of example application.
Sorry, I forgot to attach it.
Comment 3 dennis.herbert.wright 2011-03-07 16:48:44 CET
The correct behavior is that there should not be a large peak at low energy.
This problem was actually fixed in Geant4 9.0, according to the 9.0 Release Notes.  Please see under  
Hadronic Physics
  Bug fixes in LEP models.