[Gate-users] How to extract scatter fraction from the ROOT output?
SL H
hsl1196997465 at gmail.com
Tue Sep 22 10:48:23 CEST 2020
Hi, Xinjie.
I have followed your suggestion and converted the ROOT file to a text (it
is so large for MATLAB to read) using the code on this page:
http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=16590.
After that I got something like the attached picture1. I used TBrowser to
check my ROOT file and found there are two Singles and two
Hits( attached picture2), which one should I convert to text for filtering
scatter data?
And in the Gate user doc, I can not find the look up table which you said,
there is not much information about the ROOT output, could you please give
me some instructions or an example to filter the scatter data?
Thank you!
Xinjie Cao <xinjie.cao at stonybrook.edu> 于2020年9月22日周二 上午1:58写道:
> My suggestion is to convert the ROOT output file into the txt file and
> filter all scatters you need by MATLAB (with the look up table for ROOT
> output file format in the GATE instruction file). Then if you still need
> the ROOT output file you can convert the filtered txt data into ROOT file
> reversely. We achieved this before, but I am wondering if anyone else has a
> better solution, like filtering the scatter in ROOT command line work.
> Good luck!
>
> Best,
> Xinjie
>
> On Mon, Sep 21, 2020 at 6:35 AM SL H <hsl1196997465 at gmail.com> wrote:
>
>> Dear gate users. I am learning to use GATE for CT simulation, I know
>> that primray+scatter=total (.dat projection). But how can I get the
>> Compton, Rayleigh scatter fraction from the ROOT output file?
>> _______________________________________________
>> 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/pipermail/gate-users/attachments/20200922/585705f9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: picture1.png
Type: image/png
Size: 133327 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200922/585705f9/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: picture2.png
Type: image/png
Size: 45184 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20200922/585705f9/attachment-0003.png>
More information about the Gate-users
mailing list