GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » Random seed in Geant4?
Re: Random seed in Geant4? [message #13192 is a reply to message #13189] Tue, 13 March 2012 16:01 Go to previous message
Ivana Hrivnacova
Messages: 6
Registered: March 2012
occasional visitor
From: 134.158.93*
Hi Stefano,

The allowed application states for this command were changed in Geant4 9.5, you can now call it only in Idle state, what means after initialization of MC.
So if you want to keep this command in your configuration file, you have to call it after
yourApplication->InitMC();

See geant4_vmc/example/E06 and g4config2.in macro, which is called at Idle state of Geant4.

Best regards,

Ivana
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: dipole field in Geant4
Next Topic: How to setup random seed?
Goto Forum:
  


Current Time: Sun Mar 24 20:34:25 CET 2019

Total time taken to generate the page: 0.03082 seconds