<div dir="ltr"><div>Hi,<br></div>I agree with David but I still use Matlab from time-to-time to plot root the content of phase space files. I used the enclosed script for conversion to csv. An example of command line is<br>
<span class=""> root</span> -l -q -b 'RootTTreeToCSV.C("interactions.<span class="">root</span>", "toto.csv")'<br>Simon<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 28, 2014 at 9:38 AM, David Sarrut <span dir="ltr"><<a href="mailto:David.Sarrut@creatis.insa-lyon.fr" target="_blank">David.Sarrut@creatis.insa-lyon.fr</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, <div><br></div><div>no other way : phase space are stored in root file because root was made for that type of data. Storing in ascii would be cumbersome (how to structure it ?). The best approach to analyse/visualize such root phase space is to develop your own root program (look at the root documentation).</div>
<div><br></div><div>Sincerely, </div><div>David</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Aug 26, 2014 at 2:08 PM, 정숙영 <span dir="ltr"><<a href="mailto:syjung419@skku.edu" target="_blank">syjung419@skku.edu</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div link="blue" vlink="purple" lang="KO"><div><p class="MsoNormal"><span lang="EN-US">Dear Gate users,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">I was wondering there is any other way to analyze my output from phase space actor Gate v6.2 without correction of source code linked to store it as a Root file. Ultimately, I want to obtain my result as an ascii file to use another plotting application (ex. Origin, Matlab). <u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I will be appreciate if you tell me the way to convert this root file to ascii formatted file or directly correct the source code about storing the result of phase space actor (.cc file) included in Gate source.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US">Thank you in advance.<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal">
<span lang="EN-US">Best regards,<u></u><u></u></span></p><p class="MsoNormal"><span lang="EN-US">Sookyoung<u></u><u></u></span></p></div>
<img src="http://mail.skku.edu:80/historySent.ds?act=confirm&sender=c3lqdW5nNDE5QHNra3UuZWR1&receiver=PGdhdGUtdXNlcnNAbGlzdHMub3BlbmdhdGVjb2xsYWJvcmF0aW9uLm9yZz4%3d&subject=T3V0cHV0IGZyb20gcGhhc2Ugc3BhY2UgYWN0b3I%3d&msgid=NjA1MTg0NDg0NjkzMDM4OTEyOA%3d%3d" height="0" width="0">
</div><br></div></div>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote>
</div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>
-- <br><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br>
<a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div>
</div>
</font></span></div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br></div>