[Gate-users] /gate/output/root/setSaveRndmFlag

Daniel Woodsworth danieljw at phas.ubc.ca
Tue Jul 17 01:30:53 CEST 2007


Hi,

I am trying to set up a system to run statistically independent
runs/simulations of a single physical setup (phantom, activity, geometry,
scanner, electronics etc.) The way I am doing this, is I have a little
script that takes an old endOfRun.rndm file and edits one of the numbers,
which (I believe), when the simulation is run from a directory containing
an endOfRun.rndm file causes Gate to produce a new (independent) stream of
random numbers. So the script makes multiple, different, endOfRun.rndm
files and launches a simulation from distinct directories. This all seems
to work fine and yield independent simulations.

However, if I try and disable the ROOT output (/gate/output/root/disable),
then I no longer get independent runs. I am guessing this is since the
setSaveRndmFlag is part of the /root tree structure. Ie the command
/gate/output/root/disable kills any commands which start with
/gate/output/root, including setSaveRndmFlag.

At any rate, somehow disabling the ROOT output disrupts the GATE procedure
of using the endOfRun.rndm file as a starting point for the random number
generator.

I would like to be able to run simulations with just interfile output, as
sometimes I only need projection data, and the root output slows down the
simulation and tends to be very large data files.

Has anyone come across this? Does anyone know how to force GATE to use
endOfRun.rndm as the starting point for the random number stream, with the
ROOT output disabled?

Thanks for any help.

Daniel




More information about the Gate-users mailing list