[Gate-users] Kill actor (P. T.)
Boersma David
david.boersma at medaustron.at
Tue May 29 10:24:13 CEST 2018
Hi!
(see inline comment below)
> -----Original Message-----
> From: Gate-users [mailto:gate-users-
> bounces at lists.opengatecollaboration.org] On Behalf Of Moritz Schaar
> Sent: Monday, May 28, 2018 2:46 PM
> To: gate-users at lists.opengatecollaboration.org
> Subject: Re: [Gate-users] Kill actor (P. T.)
>
> Hi Pat,
>
> you can use the "KillActor" in combination with a "particleFilter". An example
> from the wiki would be:
> /gate/actor/addActor KillActor MyActor
> /gate/actor/MyActor/save MyOutputFile.txt
> /gate/actor/MyActor/attachTo MyVolume
> /gate/actor/MyActor/addFilter particleFilter
> /gate/actor/MyActor/particleFilter/addParticle e-
> /gate/actor/MyActor/particleFilter/addParticle e+
>
> 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.
> This will be used correctly in the digitizer afterwards.
> I used this setup for my PET application and successfully filtered gamma
> events.
> 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.
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.
Whenever Gate does things like this, please consider reporting this as an "issue" on GitHub (https://github.com/OpenGATE/Gate/issues).
(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!)
Thanks,
David
> I tried to solve the issue by playing with settings like "
> setResetDataAtEachRunFlag" and other options but did not manage to
> succeed.
> Maybe another GATE user can jump in and help at this point.
>
> Best,
> Moritz
>
>
> ----------------------------------------------------------------------
>
> Date: Sun, 27 May 2018 18:25:41 +0330
> From: "P. T." <ptpphysics at gmail.com>
> To: gate-users <gate-users at lists.opengatecollaboration.org>
> Subject: [Gate-users] Kill actor
> Message-ID:
> <CAJ9ZRTJQc4fzWut_jSi9X4QMW=L+4vg2ym5fFiYh_pELtJ8t8A at mail.
> gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Dear Gater,
> Is it possible to forced gamma rays or electrons to absorb in specific volume
> (detector)?
> 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?
>
> Regards,
> Pat
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.
> opengatecollaboration.org%2Fmailman%2Flistinfo%2Fgate-
> users&data=02%7C01%7Cdavid.boersma%40medaustron.at%7C38b9b8db7b
> 254beb687108d5c4992552%7Cadb749e06dfd4f6fbea8cd9f8e0c9b89%7C0%7C
> 0%7C636631084396594019&sdata=kUH6HugZO5DezyZ38R%2BG2Zhd3SVkWt
> QZbZVrYSlO1qQ%3D&reserved=0
Disclaimer:
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/
More information about the Gate-users
mailing list