GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » Monte Carlo Engines » How to setup random seed?
Re: How to setup random seed? [message #14324 is a reply to message #14322] Fri, 11 January 2013 10:40 Go to previous messageGo to previous message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *gsi.de
It is quite easy:

gRandom->SetSeed(randomSeed);
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: Random seed in Geant4?
Next Topic: Different geometry treatment in Geant3 and Geant4
Goto Forum:
  


Current Time: Wed Dec 04 20:09:36 CET 2024

Total time taken to generate the page: 0.00841 seconds