Message: How to Randomize each Run? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None How to Randomize each Run? 

Keywords: randomize
Forum: Event and Track Management
Date: 24 Feb, 2003
From: Jeremy <acehigh@sbcglobal.net>

This is probably an extremely simple question but I couldn't find an answer in the documentation.

I have a macro file that runs my experiment changes the apparatus and runs again several times:

/run/beamOn 1000000 /mydet/ChangeAngle 10 /run/beamOn 1000000 /mydet/ChangeAngle 10 ... etc etc

If I start my project and run the macro file right away I will always get the exact same results from the experiment. Later on if I run the experiment again from a specific angle the results will be slightly different (though still within the range of expectation). Is there some Randomize; method that I need to use to make sure the random numbers geant4 generates each time I run the experiment are different? Thank you!

Jeremy

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

1 Idea: Re: How to Randomize each Run?   (Domingo Granero - 25 Feb, 2003)
1 None: Re: How to Randomize each Run?   (Jeremy - 26 Feb, 2003)
2 None: Re: How to Randomize each Run?   (michel maire - 27 Feb, 2003)
 Add Message Add Message
to: "How to Randomize each Run?"

 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 ]