<div dir="ltr"><div>Hi Moritz,</div><div>Thanks for your response.</div><div>As you mentioned, the KillActor work correctly with digitizer module, but because of the limitation in the number of primary definition in Actor modules, the KillActor in the imaging system, which we define source activity and imaging time, has some limitation in high-count rate logging.</div><div><br></div><div>Best Regards,</div><div>Pat<br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 29, 2018 at 2:30 PM,  <span dir="ltr"><<a href="mailto:gate-users-request@lists.opengatecollaboration.org" target="_blank">gate-users-request@lists.opengatecollaboration.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Gate-users mailing list submissions to<br>
        <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:gate-users-request@lists.opengatecollaboration.org">gate-users-request@lists.<wbr>opengatecollaboration.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:gate-users-owner@lists.opengatecollaboration.org">gate-users-owner@lists.<wbr>opengatecollaboration.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Gate-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Kill actor (P. T.) (Moritz Schaar)<br>
   2. Extract data of .root file (Maikol Salas Ramirez)<br>
   3. Re: Kill actor (P. T.) (Boersma David)<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Message: 1<br>
Date: Mon, 28 May 2018 12:45:35 +0000<br>
From: Moritz Schaar <<a href="mailto:schaar@imt.uni-luebeck.de">schaar@imt.uni-luebeck.de</a>><br>
To: "<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>"<br>
        <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
Subject: Re: [Gate-users] Kill actor (P. T.)<br>
Message-ID:<br>
        <<a href="mailto:11252fb6ac4c4ae2b90f061c6401d186@mail2013.imt.uni-luebeck.de">11252fb6ac4c4ae2b90f061c6401d<wbr>186@mail2013.imt.uni-luebeck.<wbr>de</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Pat,<br>
<br>
you can use the "KillActor" in combination with a "particleFilter". An example from the wiki would be:<br>
/gate/actor/addActor     KillActor                    MyActor<br>
/gate/actor/MyActor/save                              MyOutputFile.txt<br>
/gate/actor/MyActor/attachTo                          MyVolume<br>
/gate/actor/MyActor/addFilter                         particleFilter<br>
/gate/actor/MyActor/<wbr>particleFilter/addParticle        e-<br>
/gate/actor/MyActor/<wbr>particleFilter/addParticle        e+<br>
<br>
>From my experience, this stops the track whenever a given particle type (here e- or e+) enters the volume labeled "MyVolume" and generates a hit at the entrance positon.<br>
This will be used correctly in the digitizer afterwards.<br>
I used this setup for my PET application and successfully filtered gamma events.<br>
But be aware, that at least for Gate v7.2 this results in significant increase of memory consumption while simulating. This gets worse the longer you simulate.<br>
I tried to solve the issue by playing with settings like " setResetDataAtEachRunFlag" and other options but did not manage to succeed.<br>
Maybe another GATE user can jump in and help at this point.<br>
<br>
Best,<br>
Moritz<br>
<br>
<br>
------------------------------<wbr>------------------------------<wbr>----------<br>
<br>
Date: Sun, 27 May 2018 18:25:41 +0330<br>
From: "P. T." <<a href="mailto:ptpphysics@gmail.com">ptpphysics@gmail.com</a>><br>
To: gate-users <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
Subject: [Gate-users] Kill actor<br>
Message-ID:<br>
        <CAJ9ZRTJQc4fzWut_jSi9X4QMW=<a href="mailto:L%2B4vg2ym5fFiYh_pELtJ8t8A@mail.gmail.com">L+<wbr>4vg2ym5fFiYh_pELtJ8t8A@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear Gater,<br>
Is it possible to forced gamma rays or electrons to absorb in specific volume (detector)?<br>
And so, I know that Kill actor could kill tracks entering the volume, but is it possible to kill tracks entering the volume, in digitizer mode (imaging system?<br>
<br>
Regards,<br>
Pat<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 29 May 2018 09:51:06 +0200<br>
From: Maikol Salas Ramirez <<a href="mailto:mmsalas@gmail.com">mmsalas@gmail.com</a>><br>
To: gate-users <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
Subject: [Gate-users] Extract data of .root file<br>
Message-ID:<br>
        <CAAGVOVkPEM=<a href="mailto:Feu8boXsNdEBgXiN_AC1q%2B_ntoS1mQRr5aDGYyw@mail.gmail.com">Feu8boXsNdEBgXiN_<wbr>AC1q+_ntoS1mQRr5aDGYyw@mail.<wbr>gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear Gate users,<br>
<br>
I would like to extract the info of the .root file generated during the<br>
simulation. The problem that I have is that this .root file store the<br>
energy deposited in many histograms (one for each position of the source),<br>
for example I have:<br>
edep Histo,1<br>
edep Histo,2<br>
edep Histo,3<br>
edep Histo,4<br>
edep Histo,5<br>
edep Histo,6<br>
<br>
I can not find the way to access the tree and extract the info for an<br>
specific Histo.<br>
<br>
If some one has some experience I appreciate any help.<br>
<br>
Best regards.<br>
Maikol<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180529/b6edafc6/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>pipermail/gate-users/<wbr>attachments/20180529/b6edafc6/<wbr>attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 29 May 2018 08:24:13 +0000<br>
From: Boersma David <<a href="mailto:david.boersma@medaustron.at">david.boersma@medaustron.at</a>><br>
To: Moritz Schaar <<a href="mailto:schaar@imt.uni-luebeck.de">schaar@imt.uni-luebeck.de</a>>,<br>
        "<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>"<br>
        <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
Subject: Re: [Gate-users] Kill actor (P. T.)<br>
Message-ID:<br>
        <<a href="mailto:AM6PR04MB4582B6C49FB561AE8EEB1598F86D0@AM6PR04MB4582.eurprd04.prod.outlook.com">AM6PR04MB4582B6C49FB561AE8EEB<wbr>1598F86D0@AM6PR04MB4582.<wbr>eurprd04.prod.outlook.com</a>><br>
<br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi!<br>
<br>
(see inline comment below)<br>
<br>
> -----Original Message-----<br>
> From: Gate-users [mailto:<a href="mailto:gate-users-">gate-users-</a><br>
> <a href="mailto:bounces@lists.opengatecollaboration.org">bounces@lists.<wbr>opengatecollaboration.org</a>] On Behalf Of Moritz Schaar<br>
> Sent: Monday, May 28, 2018 2:46 PM<br>
> To: <a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a><br>
> Subject: Re: [Gate-users] Kill actor (P. T.)<br>
><br>
> Hi Pat,<br>
><br>
> you can use the "KillActor" in combination with a "particleFilter". An example<br>
> from the wiki would be:<br>
> /gate/actor/addActor     KillActor                    MyActor<br>
> /gate/actor/MyActor/save                              MyOutputFile.txt<br>
> /gate/actor/MyActor/attachTo                          MyVolume<br>
> /gate/actor/MyActor/addFilter                         particleFilter<br>
> /gate/actor/MyActor/<wbr>particleFilter/addParticle        e-<br>
> /gate/actor/MyActor/<wbr>particleFilter/addParticle        e+<br>
><br>
> From my experience, this stops the track whenever a given particle type<br>
> (here e- or e+) enters the volume labeled "MyVolume" and generates a hit<br>
> at the entrance positon.<br>
> This will be used correctly in the digitizer afterwards.<br>
> I used this setup for my PET application and successfully filtered gamma<br>
> events.<br>
> But be aware, that at least for Gate v7.2 this results in significant increase of<br>
> memory consumption while simulating. This gets worse the longer you<br>
> simulate.<br>
<br>
This description (RAM usage increases during Gate run to problematic levels) actually sounds to me very much like a bug, like a typical memory leak.<br>
<br>
Whenever Gate does things like this, please consider reporting this as an "issue" on GitHub (<a href="https://github.com/OpenGATE/Gate/issues" rel="noreferrer" target="_blank">https://github.com/OpenGATE/<wbr>Gate/issues</a>).<br>
(And if you would like to be really helpful: verify that the problems you observe are reproducible with the latest release, or even better, with the develop version from GitHub!)<br>
<br>
Thanks,<br>
David<br>
<br>
> I tried to solve the issue by playing with settings like "<br>
> setResetDataAtEachRunFlag" and other options but did not manage to<br>
> succeed.<br>
> Maybe another GATE user can jump in and help at this point.<br>
><br>
> Best,<br>
> Moritz<br>
><br>
><br>
> ------------------------------<wbr>------------------------------<wbr>----------<br>
><br>
> Date: Sun, 27 May 2018 18:25:41 +0330<br>
> From: "P. T." <<a href="mailto:ptpphysics@gmail.com">ptpphysics@gmail.com</a>><br>
> To: gate-users <<a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.<wbr>opengatecollaboration.org</a>><br>
> Subject: [Gate-users] Kill actor<br>
> Message-ID:<br>
> <CAJ9ZRTJQc4fzWut_jSi9X4QMW=L+<wbr>4vg2ym5fFiYh_pELtJ8t8A@mail.<br>
> <a href="http://gmail.com" rel="noreferrer" target="_blank">gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
><br>
> Dear Gater,<br>
> Is it possible to forced gamma rays or electrons to absorb in specific volume<br>
> (detector)?<br>
> And so, I know that Kill actor could kill tracks entering the volume, but is it<br>
> possible to kill tracks entering the volume, in digitizer mode (imaging system?<br>
><br>
> Regards,<br>
> Pat<br>
> ______________________________<wbr>_________________<br>
> Gate-users mailing list<br>
> <a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
> <a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists" rel="noreferrer" target="_blank">https://emea01.safelinks.<wbr>protection.outlook.com/?url=<wbr>http%3A%2F%2Flists</a>.<br>
> <a href="http://opengatecollaboration.org" rel="noreferrer" target="_blank">opengatecollaboration.org</a>%<wbr>2Fmailman%2Flistinfo%2Fgate-<br>
> users&data=02%7C01%7Cdavid.<wbr>boersma%<a href="http://40medaustron.at" rel="noreferrer" target="_blank">40medaustron.at</a>%<wbr>7C38b9b8db7b<br>
> 254beb687108d5c4992552%<wbr>7Cadb749e06dfd4f6fbea8cd9f8e0c<wbr>9b89%7C0%7C<br>
> 0%7C636631084396594019&sdata=<wbr>kUH6HugZO5DezyZ38R%<wbr>2BG2Zhd3SVkWt<br>
> QZbZVrYSlO1qQ%3D&reserved=0<br>
Disclaimer:<br>
Please notice our E-Mail Disclaimer <a href="http://www.medaustron.at/email-disclaimer/" rel="noreferrer" target="_blank">http://www.medaustron.at/<wbr>email-disclaimer/</a><br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
______________________________<wbr>_________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.<wbr>opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" rel="noreferrer" target="_blank">http://lists.<wbr>opengatecollaboration.org/<wbr>mailman/listinfo/gate-users</a><br>
<br>
------------------------------<br>
<br>
End of Gate-users Digest, Vol 144, Issue 28<br>
******************************<wbr>*************<br>
</blockquote></div><br></div>