[Gate-users] problem with random number seed?

Grevillot Loic loic.grevillot at medaustron.at
Mon Feb 1 09:20:41 CET 2016


In my experience the command"/gate/random/setEngineSeed auto" works.
In your example you are looking at histograms, but to verify that issue I was thinking about something different:

-          If the seed did not change as you suspect, the physical properties from every single particle stored in your Phase Space one after the other shall be exactly the same (position, direction, energy, etc.) for 2 simulations.

-          Could you check that on a particle basis for 10 or 20 particles?
You could even try a very simple example where you could randomly sample 10 particles and look if they are the same for 2 simulations.

Let us know!

                                                       GATE is a research community,  please contribute!

You just started? You found some errors in the examples and the documentation?

§   You can correct the documentation<http://wiki.opengatecollaboration.org/index.php/Main_Page> on the wiki web site

§   You can share your experience on the user mailing-list<http://www.opengatecollaboration.org/mailinglist>

You have a few months of experience or more?

§   You can correct or even propose new examples<http://www.opengatecollaboration.org/Examples>

§   You can propose a new gate actor, it is as easy as a plug-in!<http://wiki.opengatecollaboration.org/index.php/GateActor>

You are now an official Gate addict and you need more?

§   You can participate in Gate C++ source code development: debugging, propose new classes, etc.

ð  For new developments, use git<http://www.opengatecollaboration.org/Git> and contact the gate-devel-mailing-list<http://www.opengatecollaboration.org/mailinglist> to be guided.

                                             Thanks for your contribution, the OpenGate collaboration!

From: gate-users-bounces at lists.opengatecollaboration.org [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of hediye acun
Sent: Friday, January 29, 2016 3:46 PM
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] problem with random number seed?

Hello All,

I have Gate "develop" version and at the same time geant4.10.1.0 and root_v5.34.32 on the GPU. My operating system is Linux Mint 17.2 .

I am triying to simulate a linac head to get Phase Space of photons. Just for an example I run Gate for a basic geometry which include only electron beam, target filter and Phase space plane inside a linac geometry. When I run Gate two or more times for same "number of primaries" I got the exactly the same Phase Space distributions (histogram of Ekine completely identical). But I am using "/gate/random/setEngineSeed auto" command and according to the documentation that should give me the different seed every time when I run it. I would expect some random differences between PhS's from different runs.

Does anyone have any idea about this issue? Thank you in advance.

Hediye Acun
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160201/9b7f8e98/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 16312 bytes
Desc: image001.jpg
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160201/9b7f8e98/attachment-0004.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 12857 bytes
Desc: image002.jpg
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160201/9b7f8e98/attachment-0005.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.jpg
Type: image/jpeg
Size: 13062 bytes
Desc: image003.jpg
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160201/9b7f8e98/attachment-0006.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.jpg
Type: image/jpeg
Size: 11086 bytes
Desc: image004.jpg
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160201/9b7f8e98/attachment-0007.jpg>

More information about the Gate-users mailing list