[Gate-users] Source not confined properly, spills outside confinement volume
Marc Chamberland
MarcChamberland at cmail.carleton.ca
Mon Mar 10 18:34:27 CET 2014
Hi Ida,
Did you try a short simulation with your macro and did you confirm that the source is not properly confined? (For example, by looking at the source position distribution in the Root output.)
The reason I'm asking is that, in the past, I've found limitations in the Geant4 visualization code. For example, see this thread from the mailing list: http://article.gmane.org/gmane.comp.science.opengate.user/3109/match=source+visualize
My first instinct is that this may be related.
Marc
__________________________
Marc Chamberland, MSc
PhD candidate
Department of Physics
Carleton University
Ottawa (ON)
On Mar 10, 2014, at 11:34, Ida Häggström <ida.haggstrom at radfys.umu.se<mailto:ida.haggstrom at radfys.umu.se>> wrote:
Hello!
I'm trying to confine a source to a particular phantom geometry, but cannot get it to work properly. Part of the source spills out outside the confinement volume. Below are codes for the phantom + source and a visualization image where you can see the issue.
Any ideas how to solve this?
Thank you in advance! Sincerely,
Ida
# P H A N T O M
/gate/world/daughters/name upperinterior
/gate/world/daughters/insert cylinder
/gate/upperinterior/placement/setTranslation 0.0 -3.5 -3.7 cm
/gate/upperinterior/geometry/setRmax 14.7 cm
/gate/upperinterior/geometry/setRmin 0.0 cm
/gate/upperinterior/geometry/setHeight 21.4 cm
/gate/upperinterior/geometry/setPhiStart 0. deg
/gate/upperinterior/geometry/setDeltaPhi 180. deg
/gate/upperinterior/setMaterial Water
/gate/upperinterior/vis/forceWireframe
/gate/upperinterior/vis/setColor blue
# S O U R C E
/gate/source/addSource F18_upper
/gate/source/F18_upper/setActivity 1 becquerel
/gate/source/F18_upper/gps/particle e+
/gate/source/F18_upper/setForcedUnstableFlag true
/gate/source/F18_upper/setForcedHalfLife 6586.2 s
/gate/source/F18_upper/gps/energytype Fluor18
/gate/source/F18_upper/gps/type Volume
/gate/source/F18_upper/gps/shape Cylinder
/gate/source/F18_upper/gps/radius 14.7 cm
/gate/source/F18_upper/gps/halfz 10.7 cm
/gate/source/F18_upper/gps/angtype iso
/gate/source/F18_upper/gps/centre 0.0 -3.5 -3.7 cm
/gate/source/F18_upper/gps/confine upperinterior_P
/gate/source/F18_upper/visualize 1000 cyan 2
<source_confinement.PNG>_______________________________________________
Gate-users mailing list
Gate-users at lists.opengatecollaboration.org<mailto: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/mailman/private/gate-users/attachments/20140310/a82b2b6f/attachment-0001.html>
More information about the Gate-users
mailing list