[Gate-users] Re: Gate-users Digest, Vol 5, Issue 9
Chen, Yu
Yu.Chen at umassmed.edu
Fri Oct 13 16:56:00 CEST 2006
I do not think "Transportation" process is only for the purpose
of transporting between different volumes for particles.
Actually, a hit is a step in Geant4. When a particle travels more than
a interaction range cut (defined as cut threshold) and if there is not
a interaction (processes as compton, photoelectric etc) happened for this
particle, then this step (hit) will be labled as "Transportation" process.
More accurate way to look for particles crossing a boundary is to find that
step associated with prepoint in pre-volume and postpoint in post-volume.
Does GATE hit class have those volume names written out?
Please correct me if I am wrong and misleading.
Yu Chen, Ph.D.
University of Massachusetts Medical School
Division of Nuclear Medicine
55 Lake Avenue North
Worcester, MA 01655-0243
Phone: (508) 856-6123
Fax: (508) 856-4572
-----Original Message-----
From: gate-users-bounces at lists.healthgrid.org on behalf of D.J. van der Laan
Sent: Fri 10/13/2006 9:15 AM
To: gate-users at lists.healthgrid.org
Subject: Re: [Gate-users] Re: Gate-users Digest, Vol 5, Issue 9
You could probably use the hits output of Gate for this. One of the
columns in this output is the process, and one of the possible processes
is 'Transportation', which indicates a particle leaving the sensitive
detector. (I think it is leaving, but you'll have to check to be sure.)
I hope this solves your problem.
Jan
PS Below you can find two bash scripts that run a Gate simulation and
extract the annihilation coordinates from the hits output, without
creating a huge hits file. Perhaps they are usefull.
======= run.sh ===========
#!/bin/bash
rm -f gateHits.dat
mkfifo gateHits.dat
./process.sh gateHits.dat > annihilations.dat &
Gate beamgeometry.mac > screenout
rm gateHits.dat
======= process.sh ===========
#!/bin/bash
cat $1 | grep 'annihil' | gawk '{print $14, $15, $16}'
Ben S McDonald wrote:
> Howdy Gaters,
>
> Does anyone know if it is possible to set a flag for a boundary crossing
> in Gate (e.g. did particles pass through volume without interacting)?
> I'm trying to quantify pinhole penetration other than by just
> ray-tracing between the sourcePos and globalPos stored variables.
>
> Thanks for any help,
>
> Ben McDonald
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
--
D.J. van der Laan
Delft University of Technology
Mekelweg 15, room 2.00.020
2629 JB Delft
The Netherlands
E: d.j.vanderlaan at tnw.tudelft.nl
T: +31 15 2783776
F: +31 15 2789011
_______________________________________________
Gate-users mailing list
Gate-users at lists.healthgrid.org
http://lists.healthgrid.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20061013/2ec8baaa/attachment.htm>
More information about the Gate-users
mailing list