Message: /random/setSeeds question Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question /random/setSeeds question 

Forum: Run Management
Date: 11 Jul, 2014
From: Stefan E. Mueller <Stefan E. Mueller>

OK,

maybe I misinterpreted the answers to a previous post of mine. I am trying to initialize the random number generator in Geant4 such that I can launch several jobs (or several runs) without simply reproducing the results.

I therefore submitted a job with a .mac-file with the line

/random/setSeeds 575841909 838392975

and another one with the line

/random/setSeeds 770353837 70597151

Contrary to what I expected, the output of the two runs is identical.

Apparently there is something I missed. However, in G4RunMessenger.cc I see that the seeds array is passed on to

CLHEP::HepRandom::setTheSeeds(seeds);

So why are my two runs identical?

Stefan

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Disagree: Re: /random/setSeeds question   (Gumplinger Peter - 11 Jul, 2014)
(_ More: Re: /random/setSeeds question   (Stefan E. Mueller - 14 Jul, 2014)
(_ Idea: Re: /random/setSeeds question   (C Mos - 14 Jul, 2014)
(_ More: Re: /random/setSeeds question   (Stefan E. Mueller - 15 Jul, 2014)
(_ News: Re: /random/setSeeds question   (Stefan E. Mueller - 17 Jul, 2014)
(_ Feedback: Re: /random/setSeeds question   (David - 15 Aug, 2014)
 Add Message Add Message
to: "/random/setSeeds question"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]