Problem 2176 - G4LENDorBERTModel
Summary: G4LENDorBERTModel
Status: RESOLVED WORKSFORME
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models/lend (show other problems)
Version: 10.5
Hardware: PC Linux
: P4 critical
Assignee: dennis.herbert.wright
URL:
Depends on:
Blocks:
 
Reported: 2019-07-16 15:23 CEST by Sergey
Modified: 2020-02-20 00:42 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Sergey 2019-07-16 15:23:31 CEST
When I set fix value of energy of particle gun in PrimaryGeneratorAction.cc for example 8MeV there is no problem with running. But when I set the value of primary particle equals to 8+G4UniformRand() after three million events there appears the next message

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : had012
      issued by : G4HadronicProcess:CheckResult()
Warning: Bad energy non-conservation detected, will re-sample the interaction
 Process / Model: photonNuclear / LENDorBERTModel
 Primary: gamma (22),  E= 8.19248, target nucleus (83, 209)
 E(initial - final) = -190892 MeV.

*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

and after fifteenth miliion event running is aborted. But when I use G4CascadeInterface model instead of G4LENDorBertini model anything is right in both cases of fix and randomize values of energy.
Comment 1 dennis.herbert.wright 2019-08-09 23:11:41 CEST
Which physics list do you use when you see this problem?  If it is your own, please send it to me so I can try to reproduce the problem.
Comment 2 dennis.herbert.wright 2020-02-20 00:42:36 CET
I tested this as an isolated process and cannot reproduce your results using Geant4 10.6.