<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">Hi GATE users</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">I am trying to simulate the benchmark PET using the GATELAB, but I have a problem about event interval.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
The event interval was fixed by the acquisition time devided by total number of primaries. </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">For example, if acquisition time was 1 second and total number of primaries were 1000000, </div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">the events were occured at intervals of 1 micro second. Therefore, GATELAB output did not have random counts.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
I think that the reason is "setTotalNumberOfPrimaries" macro command which is essential command in GATELAB. Because, the output files executed in local computer using general GATE (without "setTotalNumberOfPrimaries") provide some random counts.</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
For this simulation, I modified some macro commands in benchmarkPET macros.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
in sources.mac</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">/gate/source/F18LineSource/setActivity 1000000. becquerel</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">in benchPET.mac</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
/gate/geometry/setMaterialDatabase data/GateMaterials.db</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">/gate/random/setEngineSeed auto</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">/gate/application/setTotalNumberOfPrimaries 10000000</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
/gate/application/setTimeSlice 1 s</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">/gate/application/setTimeStart 0. s</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
/gate/application/setTimeStop 1 s</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">
<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:14.44444465637207px;background-color:rgb(255,255,255)">Is there anything I missed ?</div>