[Gate-users] "/gate/random/setEngineSeed auto" always generates the same results

Franck P. Vidal franck.p.vidal at gmail.com
Thu Aug 19 19:13:38 CEST 2010


Hi Uwe,

I disabled the imageCT output, and yes, it works...
Thanks for the suggestion!

Best regards,

Franck

--
Dr Franck P. Vidal
Postdoctoral Research Fellow

Department of Radiation Oncology
University of California, San Diego
Moores Cancer Center, Rm 1410
3855 Health Sciences Dr. #0843
La Jolla, CA 92093-0843
Tel: (858)822-7499
Fax: (858)822-6078
Homepage: http://pagesperso-orange.fr/f-p.v/


On 08/19/2010 07:16 AM, Uwe Pietrzyk wrote:
>
> Hi Franck,
>
> I could reproduce your results, but also found a kind of temporary
> solution:
> It seems to be related to the "imageCT" option, since when I
> disable this option by issuing : " /gate/output/imageCT/disable"
> and only use the "/gate/random/setEngineSeed auto"
> the files are different!
> I am sure, that you can get the same information of imageCT by
> writing the data out of a root-programm, although I haven't done so yet
> by myself.
>
> Hope this helps.
>
> Kind regards,
>
> Uwe
> -----
> On 19.08.2010, at 00:47, Franck P. Vidal wrote:
>
>> Hi there,
>>
>> I set the random number generator as follows:
>>    /gate/random/setEngineName MersenneTwister
>>    /gate/random/setEngineSeed auto
>>    /gate/random/verbose 1
>>
>> Every time I run my simulation, the output is always identical (e.g.
>> when I enable the ASCII output in "example_CT/fast"
>> benchmarkFastCTHits.dat, or the raw data benchmarkFastCT_000.dat),
>> whereas the initial seeds are different.
>>
>> Even with   /gate/random/setEngineSeed   567489   I get the same output.
>>
>> Is there any reason for that?
>> I was expecting the results to be different.
>>
>> Best Regards,
>>
>> Franck
>>
>> --
>> Dr Franck P. Vidal
>> Postdoctoral Research Fellow
>>
>> Department of Radiation Oncology
>> University of California, San Diego
>> Moores Cancer Center, Rm 1410
>> 3855 Health Sciences Dr. #0843
>> La Jolla, CA 92093-0843
>> Tel: (858)822-7499
>> Fax: (858)822-6078
>> Homepage: http://pagesperso-orange.fr/f-p.v/
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org 
>> <mailto:Gate-users at lists.opengatecollaboration.org>
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> /----------------------------------------------------------------------
> Prof. Dr. Uwe Pietrzyk
> Diplom-Physiker
> Institut für Neurowissenschaften und Medizin / INM-1
> Forschungszentrum Jülich GmbH
> 52425 Jülich
> Tel: +49-2461-61 4763
> Fax: +49-2461-61 2820 + 8229
> Mobil: +49-162-103-4871
> eMail: U.Pietrzyk at fz-juelich.de <mailto:U.Pietrzyk at fz-juelich.de>
> http://www.fz-juelich.de/inm <http://www.fz-juelich.de/inb/inb-3/>
> &
> Bergische Universität Wuppertal
> Fachbereich C - Physik / D.08.01
> Gaußstr. 20
> 42097 Wuppertal
> Tel: +49-(0)202-439-3523
> Fax: +49-(0)202-439-2811
> eMail: Uwe.Pietrzyk at physik.uni-wuppertal.de 
> <mailto:Uwe.Pietrzyk at physik.uni-wuppertal.de>
> http://www.medizinphysik.uni-wuppertal.de 
> <http://www.medizinphysik.uni-wuppertal.de/>
> ----------------------------------------------------------------------/
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDirig Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
> Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
> ------------------------------------------------------------------------------------------------
> ------------------------------------------------------------------------------------------------


More information about the Gate-users mailing list