GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Simulation Issues » Geant4 seeds in R3BRoot (How to change the Geant4 seeds in R3BRoot)
Re: Geant4 seeds in R3BRoot [message #19912 is a reply to message #19909] Fri, 18 November 2016 13:18 Go to previous message
Dmytro Kresan is currently offline  Dmytro Kresan
Messages: 166
Registered: June 2004
first-grade participant
From: *gsi.de
If you update your R3BRoot/dev, you will find the following at line 375 of macros/r3b/r3ball.C

  // -----   Initialize simulation run   ------------------------------------
  run->Init();
  gMC->SetRandom(new TRandom3(randomSeed));


in case you use 0 as the randomSeed parameter - seed will be automatically generated every time you start your simulation - depending on machine, date and time.
 
Read Message
Read Message
Previous Topic: Definiton of Glad center of Glad magnetic field map center
Next Topic: Data Structure of GeoTracks/MCTracks
Goto Forum:
  


Current Time: Fri Mar 29 11:38:58 CET 2024

Total time taken to generate the page: 0.01079 seconds