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

Question About /random/setSeeds 

Forum: Run Management
Date: 20 Nov, 2017
From: Ibrahim <Ibrahim>

Dear all,

I want to run the same simulation many times and getting each time different results. To do so I just issue the following command in my macro files (run0x.mac):

---run01.mac:

...

/run/initialize

/random/setSeeds 575841912 838392977

/run/beamOn 2000000

...

----run02.mac

...

/run/initialize

/random/setSeeds 575841915 838392979

/run/beamOn 2000000

...

but when I score the number of particles reaching the detector, the results are always the same. That means /random/setSeeds is not working!. What is wrong? thanks in advance ...

Cheers

A.H.

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

1 Idea: Re: About /random/setSeeds   (Stefan E. Mueller - 16 Mar, 2018)
 Add Message Add Message
to: "About /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 ]