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: *
If you update your R3BRoot/dev, you will find the following at line 375 of macros/r3b/r3ball.C

  // -----   Initialize simulation run   ------------------------------------
  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 Jun 25 14:27:47 CEST 2021

Total time taken to generate the page: 0.02448 seconds