[Gate-users] Cold Spot Phantom
Peter Bloomfield
peter.bloomfield at camhpet.ca
Wed Apr 14 20:42:36 CEST 2010
Deat Gaters,
In the previous release of openGATE I have been able to create a cold spot phantom using the following,
/gate/world/daughters/name phantom
/gate/world/daughters/insert cylinder
/gate/phantom/setMaterial Water
/gate/phantom/vis/setColor green
/gate/phantom/geometry/setRmax 100.0 mm
/gate/phantom/geometry/setHeight 200.0 mm
/gate/phantom/vis/forceSolid
/gate/phantom/daughters/name coldphantom
/gate/phantom/daughters/insert cylinder
/gate/coldphantom/setMaterial Water
/gate/coldphantom/geometry/setRmax 40.0 mm
/gate/coldphantom/geometry/setHeight 200.0 mm
/gate/coldphantom/placement/setTranslation 0.0 0.0 0.0 mm
and then defining the source as follows
/gate/source/addSource SourceAct
/gate/source/SourceAct/setActivity {TOTACTIVITY} becquerel
/gate/source/SourceAct/gps/particle e+
/gate/source/SourceAct/setForcedUnstableFlag true
/gate/source/SourceAct/setForcedHalfLife {HALFLIFE} s
/gate/source/SourceAct/gps/energytype {ISOTOPE}
/gate/source/SourceAct/gps/type Volume
/gate/source/SourceAct/gps/shape Cylinder
/gate/source/SourceAct/gps/radius 100.0 mm
/gate/source/SourceAct/gps/halfz 100.0 mm
/gate/source/SourceAct/gps/angtype iso
/gate/source/SourceAct/gps/centre 0.0 0.0 0.0 mm
/gate/source/SourceAct/gps/Forbid coldphantom
where {TOTACTIVITY}, {HALFLIFE} and {ISOTOPE} are passed arguments. The activity is then 'forbidden' from the coldphantom
With version gate_v6.0_p01 this setup causes a segmentation violation. If I remove reference to cooldphantom then all works
fine. Is there something I am missing with the new version that I need to add?
I do recall an earlier email that discussed this, but I can not find it in my saved mails.
Thanks in advance,
Peter
More information about the Gate-users
mailing list