[Gate-users] Output from phase space actor
Simon Rit
simon.rit at creatis.insa-lyon.fr
Thu Aug 28 20:22:29 CEST 2014
Hi,
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
root -l -q -b 'RootTTreeToCSV.C("interactions.root", "toto.csv")'
Simon
On Thu, Aug 28, 2014 at 9:38 AM, David Sarrut <
David.Sarrut at creatis.insa-lyon.fr> wrote:
> Hello,
>
> 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).
>
> Sincerely,
> David
>
>
> On Tue, Aug 26, 2014 at 2:08 PM, 정숙영 <syjung419 at skku.edu> wrote:
>
>> Dear Gate users,
>>
>>
>>
>>
>>
>> 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).
>>
>> 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.
>>
>>
>>
>> Thank you in advance.
>>
>>
>>
>> Best regards,
>>
>> Sookyoung
>>
>> _______________________________________________
>> Gate-users mailing list
>> Gate-users at lists.opengatecollaboration.org
>> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>>
>
>
>
> --
> David Sarrut, Phd
> Directeur de recherche CNRS
> CREATIS, UMR CNRS 5220, Inserm U 1044
> Centre de lutte contre le cancer Léon Bérard
> 28 rue Laënnec, 69373 Lyon cedex 08
> Tel : 04 78 78 51 51 / 06 74 72 05 42
> http://www.creatis.insa-lyon.fr/~dsarrut
> _________________________________
> "2 + 2 = 5, for extremely large values of 2"
> _________________________________
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140828/c4fb19d4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RootTTreeToCSV.C
Type: text/x-csrc
Size: 902 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140828/c4fb19d4/attachment.c>
More information about the Gate-users
mailing list