Problem 2184

Summary: Runlux64 engine luxury in MT mode
Product: Geant4 Reporter: Alex Soloviev <salonf>
Component: runAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P4    
Version: 10.5   
Hardware: PC   
OS: All   

Description Alex Soloviev 2019-08-05 15:38:08 CEST
luxury in threads seems to be set into 1, no matter what was set in original application. 

In my application:
  CLHEP::Ranlux64Engine defaultEngine( 1234567, 4 ); 
  G4Random::setTheEngine( &defaultEngine ); 
  G4long seed;
  seed = time(NULL);
  G4Random::setTheSeed(seed);

In the RunAction::BeginOfRunAction
  CLHEP::HepRandom::showEngineStatus();

The output from master thread: luxury = 4
The output from child threads: luxury = 1
Comment 1 Gabriele Cosmo 2019-10-08 08:08:28 CEST
Thanks for reporting. This is now fixed in the current development branch and will be available in the next release/patch.