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

Disagree Re: /random/setSeeds question 

Forum: Run Management
Re: Question /random/setSeeds question (Stefan E. Mueller)
Date: 11 Jul, 2014
From: Gumplinger Peter <Gumplinger Peter>

Stefan,

I can't reproduce your finding. When I change the two arguments of the command

/random/setSeeds

my executable produces different events. I tested this with a program that has:

  runManager->Initialize();

in the main() as well as one were this line is missing and instead the G4RunManager is initialized with the UI command:

/run/initialize

I can put the /random/setSeeds command before or after /run/initialize in the macro, the results are the same so long as the /random/setSeeds command precedes /run/beamOn

I suspect that you have hardcoded the initial seed in C++ somewhere in your source.

Peter

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

1 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: "Re: /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 ]