Problem 1963 - G4ParticleHPEnAngCorrelation why argument anEnergy is regenerated?
Summary: G4ParticleHPEnAngCorrelation why argument anEnergy is regenerated?
Status: RESOLVED WONTFIX
Alias: None
Product: Geant4
Classification: Unclassified
Component: processes/hadronic/models/neutron_hp (show other problems)
Version: 10.3
Hardware: All All
: P4 minor
Assignee: dennis.herbert.wright
URL:
Depends on:
Blocks:
 
Reported: 2017-04-04 17:56 CEST by osipenko
Modified: 2018-10-31 01:11 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 osipenko 2017-04-04 17:56:49 CEST
Hi,

in line 105 of G4ParticleHPEnAngCorrelation.cc anEnergy argument is regenerated. Why is it done? I tried to comment it out and it is running just fine. Is there any special case when it is called with wrong argument?
Comment 1 dennis.herbert.wright 2018-10-31 01:11:05 CET
This is a redundant generation of energy for use in multithreaded operation.  The main reason we do it is to prevent non-reproducibility of random seeds in long runs.  It is possible that it actually does nothing, but we keep it for safety.