<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>Hello GATE users, </DIV><DIV> </DIV><DIV>We are having trouble with the random seed in GATE. We are developing a PET system with two different detectors, and we therefore&nbsp;run GATE twice with the same seed. The first time we attach detector type #1 as crystalSD, and detector type #2 as phantomSD, and in the second run -&nbsp;with the same seed -&nbsp;we switch the crystalSD and phantomSD for the detectors. This produces two&nbsp;output (singles) files which we later sort into sinograms. </DIV><DIV> </DIV><DIV>    This approach is working with the exception of producing original data in different runs. If we subtract sinograms from two different runs (with different seeds) from each other, it turns out that all events, except for a few hundred, are identical. </DIV><DIV>&nbsp;</DIV><DIV>We have tried several different approaches to getting original data.&nbsp;One approach is running a short dummy program, and copying the endOfRun.rndm file onto our random-file and then running GATE (both times) with : </DIV><DIV>/gate/output/root/setSaveRndmFlag 0 <BR>/random/resetEngineFrom beginOfRunDummy.rndm </DIV><DIV>  <BR>We have also tried setting "/gate/output/root/setSaveRndmFlag 1" for the first run, and copying&nbsp;beginOfRun.rndm onto our random file for the second simulation, but that doesn't produce correlated data. </DIV><DIV> </DIV><DIV>Does anybody have an idea of how to&nbsp;solve this problem? </DIV><DIV> </DIV><DIV>Sincerely, </DIV><DIV> </DIV><DIV>Martin Janecek </DIV></FONT></FONT>