Problem 2096

Summary: In the Bertini cascade there is a problem in interface to pre-compound
Product: Geant4 Reporter: Vladimir.Ivantchenko
Component: processes/hadronic/modelsAssignee: dennis.herbert.wright
Status: RESOLVED FIXED    
Severity: minor    
Priority: P4    
Version: 10.4   
Hardware: All   
OS: All   
Attachments: Proton spectra in n+Bi reaction at 63 MeV (test30)

Description Vladimir.Ivantchenko 2018-10-19 12:33:41 CEST
Created attachment 515 [details]
Proton spectra in n+Bi reaction at 63 MeV (test30)

If an interface to the Geant4 native pre-compound de-excitation is used by the Bertini cascade there is a problem of energy balance check. In the case of internal conversion an electron may be emitted instead of gamma. Electron mass is not taken into account in the balance computation and as a result re-sampling is forced several times. This increases CPU and damage de-excitation spectra. One of the plots demonstrating the problem is attached.
Comment 1 dennis.herbert.wright 2018-11-19 23:38:36 CET
Many problems found and fixed in interface to native G4PreCompound de-excitation. 
1) unit problems in going from MeV in G4Fragment to GeV in Bertini
2) electron charge and mass subtracted 
3) used a copy of G4Fragment from G4PreCompound instead of const ref because precompound can change the fragment
4) for momentum only, increased allowed non-conservation from 1 keV to 10 keV