<div dir="ltr"><div><div>If you do not use actors, then how exactly is that Root file generated? You just add code to Gate somewhere?<br><br></div>The idea of the PhaseSpace is to take a snapshot of your simulation and then resume at some later time. This requires you to record all their relevant properties, which is why many (at least me) use it to get info on particles. See the code of the actor or the option-descriptions for what it stores, and if you need more, you can just adapt the output (look how for instance the energy is stored for an idea of where you might start for your quantity).<br><br></div>Brent<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-05-30 21:30 GMT+02:00 Pawe Kowalski <span dir="ltr"><<a href="mailto:pawkowalski@yahoo.com" target="_blank">pawkowalski@yahoo.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><span>Hi Brent, </span></div><div><span><br clear="none"></span></div><div><span>Thank you very much for your answer.</span></div><div><span><br clear="none"></span></div><div dir="ltr"><span>In fact, I am not using any actors in my analysis. I save all hits to ROOT file and after that I make offline analysis using code developed in c++.</span></div><div dir="ltr"><span><br clear="none"></span></div><div dir="ltr"><span>As far as I understand, actors may be used to store some additional information but it is something 'parallel' to output enabled using command /gate/output/root/enable. So in fact when I use actor I have two outputs. Am I right?</span></div><div dir="ltr"><br clear="none"></div><div dir="ltr">In the wiki, I have found this website: <a href="http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.2:Phase_space_concept" target="_blank">http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.2:Phase_space_concept</a></div><div dir="ltr">Does it contain full list of information that may be stored?</div><div dir="ltr">I would also like to save in my output file information about energy deposited and time of interaction. Is this possible using this actor?</div><div dir="ltr">How does the 'EnableCompact' option work? I haven't found any information about it in the documentation.</div><div><br></div><div>Thank you once again.</div><div><br></div><div>Best regards,</div><div>Paweł Kowalski</div><div><br clear="none"><br clear="none"></div></div></div></div><div> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div class="h5"> <div dir="ltr"><font face="Arial" size="2"> 15:29 niedziela, 2016-5-29, Brent Huisman <<a href="mailto:brent.huisman@insa-lyon.fr" target="_blank">brent.huisman@insa-lyon.fr</a>> napisał(a):<br clear="none"></font></div> <br clear="none"><br clear="none"> </div></div><div><div><div class="h5"><div><br><br></div><div><div><div dir="ltr"><div><div><div>Hello Pawel,<br clear="none"><br clear="none"></div>Which actor are you using? Assuming it's the PhaseSpaceActor, there is an option called EnableCompact that reduces the number of saved fields. It reduces to the ones I care about, so it may not be what you need. I suppose per-field switches could be better. Storage space taken up is quite little though, so the easiest solution is to simply ignore the fields you don't use. Alternatively, you can adapt the actor to suit your needs. Perhaps using filters will help you with some of the things you need, but for coincidence selection you either record time and do some post-processing or dig down into the actor that you use to record.<br clear="none"><br clear="none"></div>Cheers,<br clear="none"></div>Brent<br clear="none"><div><div><br clear="none"><br clear="none"><div><div><div>
----------------------------------------------------------------------<br clear="none">
<br clear="none">
Date: Fri, 27 May 2016 12:04:51 +0000 (UTC)<br clear="none">
From: Pawe Kowalski <<a rel="nofollow" shape="rect" href="mailto:pawkowalski@yahoo.com" target="_blank">pawkowalski@yahoo.com</a>><br clear="none">
To: GATE-mailingList <<a rel="nofollow" shape="rect" href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a>>,<br clear="none">
"<a rel="nofollow" shape="rect" href="mailto:gate-devel@lists.opengatecollaboration.org" target="_blank">gate-devel@lists.opengatecollaboration.org</a>"<br clear="none">
<<a rel="nofollow" shape="rect" href="mailto:gate-devel@lists.opengatecollaboration.org" target="_blank">gate-devel@lists.opengatecollaboration.org</a>><br clear="none">
Subject: [Gate-users] Modification of GATE output<br clear="none">
Message-ID:<br clear="none">
<<a rel="nofollow" shape="rect" href="mailto:828474961.263737.1464350691463.JavaMail.yahoo@mail.yahoo.com" target="_blank">828474961.263737.1464350691463.JavaMail.yahoo@mail.yahoo.com</a>><br clear="none">
Content-Type: text/plain; charset="utf-8"<br clear="none">
<br clear="none">
Hi,<br clear="none">
I have few questions about modifying Root output from GATE simulations.<br clear="none">
1. Is this possible to disable some branches in root file? For example I don't need branches called baseID or levelXID. What part of the code should I modify to disable them??<br clear="none">
2. On the other side, I would like to save to file information about components of four-momentum of gamma quanta in the moment of interaction with matter (for example Compton scattering). Is this possible??<br clear="none">
3. Is this possible to simulate and save optical photons only when there was a coincidence?<br clear="none">
Best regards,Pawe? Kowalski<br clear="none">
-------------- next part --------------<br clear="none">
An HTML attachment was scrubbed...<br clear="none">
URL: <<a rel="nofollow" shape="rect" href="http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160527/f41a59df/attachment-0001.html" target="_blank">http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20160527/f41a59df/attachment-0001.html</a>><br clear="none">
<br clear="none">
------------------------------<br clear="none"><br clear="none"></div></div></div></div></div></div></div></div><br clear="none"></div></div>_______________________________________________<br clear="none">Gate-users mailing list<br clear="none"><a rel="nofollow" shape="rect" href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br clear="none"><a rel="nofollow" shape="rect" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br clear="none"><br clear="none"></div> </div> </div> </div></div></div></blockquote></div><br></div>