[Gate-users] Track length within a volume
Nils Krah
nils.krah at creatis.insa-lyon.fr
Wed Dec 11 15:19:46 CET 2019
Hi Andreas,
I cannot share any first hand experience with the examples you provided. Maybe these publications help:
https://hal.archives-ouvertes.fr/hal-01015846
https://hal.archives-ouvertes.fr/hal-01912041
(if you do not know them already anyhow).
Some of the authors are part of the Gate collaboration, so maybe they can provide more insight.
Cheers,
Nils
On 11 Dec 2019 at 14:46 +0100, Andreas Tefre Samnøy <andreas.samnoy at gmail.com>, wrote:
> I have not gotten any replies on this, are there currently no good way of measuring the track length through a volume?
>
> Best Regards
> Andreas Samnøy
>
> > On Mon, Dec 2, 2019 at 12:19 PM Andreas Tefre Samnøy <andreas.samnoy at gmail.com> wrote:
> > > Hi Everyone
> > >
> > > I was wondering if it is possible to use the TrackLengthActor to find the track length inside a specific volume, and not the track length in the entire simulation. I tried to attach the actor to the volume I want to measure the track length within (pixel), and then I add a particle filter for protons since I only want to know the track length of protons within the pixel volume. The script I have used below does not seem to give me the track length of protons inside the pixel volume, it seems to give the entire track lengths of protons in the simulation. Is it possible to do what I want?
> > >
> > > /gate/actor/addActor TrackLengthActor protonTrackActor
> > > /gate/actor/protonTrackActor/attachTo pixel
> > > /gate/actor/protonTrackActor/addFilter particleFilter
> > > /gate/actor/protonTrackActor/particleFilter/addParticle proton
> > >
> > > /gate/actor/protonTrackActor/save protonTrack_{absorberThickness}.root
> > > /gate/actor/protonTrackActor/setLmin 0 mm
> > > /gate/actor/protonTrackActor/setLmax 1 mm
> > > /gate/actor/protonTrackActor/setNumberOfBins 100
> > >
> > >
> > > Best Regards
> > > Andreas
> _______________________________________________
> 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/20191211/4e9971fc/attachment.html>
More information about the Gate-users
mailing list