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

Feedback Re: Default value for /random/setSeeds 

Forum: Run Management
Re: Question Default value for /random/setSeeds (Stefan E. Mueller)
Re: Feedback Re: Default value for /random/setSeeds (Gumplinger Peter)
Re: None Re: Default value for /random/setSeeds (Stefan E. Mueller)
Date: 17 Mar, 2014
From: Gumplinger Peter <Gumplinger Peter>

Hi Stefan,

I am not the expert .....

> G4Random::setTheSeed(myseed);

The method is not defined with a default. I have set 'myseed' to a random number generated with my brain.

> at the moment I have /random/setSeeds 0 1), but if there are some "official"
> defaults, I'd like to put those.

I am not aware that there is.

> By the way, what is the range of the values /random/setSeeds takes?

http://www-geant4.kek.jp/lxr/source//run/src/G4RunMessenger.cc#L386

static void setTheSeeds(const long* seeds, int aux=-1);

Peter

 Add Message Add Message
to: "Re: Default value for /random/setSeeds"

 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 ]