Hello Saeed,<br><br>Yes you can disable the optical photons data in the root output file with the following command:<br><pre> /gate/output/root/setRootOpticalFlag 0 or 1
</pre><a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Generating_and_tracking_optical_photons">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V6.2:Generating_and_tracking_optical_photons</a><br>
<br>You need to update your gate code with the latest version of the tarball from <a href="http://www.opengatecollaboration.org/releasedownload">http://www.opengatecollaboration.org/releasedownload</a>.<br><br>vesna<br><br>
<br><div class="gmail_quote">On Sun, Dec 9, 2012 at 3:31 PM, Saeed Heidary <span dir="ltr"><<a href="mailto:saeedheidary79@gmail.com" target="_blank">saeedheidary79@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear GATE users <br>Is there any resolution to stop producing optical photons in root outputs!<br>It causes producing a huge volume of a root file! <br>things like what is done for Singles or Hit (/gate/output/root/setRootHitFlag 0<br>

/gate/output/root/setRootSinglesFlag 0).<br>Many thanks <br><br><br>
</blockquote></div>