[Gate-users] cold region

Imre Lajtos lajti00 at gmail.com
Wed Apr 17 12:11:03 CEST 2013


Hi all,

I cant simulate cold area in a hot source.
I created a cylinder phantom filled water. The water area have a sphere
shell (MHSsphere1) what I would like to ignore. I copied the macro to
bellow.
Could someone help me?

Best,

Imre


Here is the macro:

control/alias MHSsphere1_x 12.5
/control/alias MHSsphere1_y 0
/control/alias MHSsphere1_z 0

/control/alias MHSsphere2_x 0
/control/alias MHSsphere2_y 12.5
/control/alias MHSsphere2_z 0

/control/alias MHSsphere3_x -12.5
/control/alias MHSsphere3_y 0
/control/alias MHSsphere3_z 0

/control/alias MHSsphere4_x 0
/control/alias MHSsphere4_y -12.5
/control/alias MHSsphere4_z 0

/control/alias MHSrod1_z 24.5
/control/alias MHSrod2_z 24.15
/control/alias MHSrod3_z 23.67
/control/alias MHSrod4_z 23.5

#-------Phantom Body--------------------------
----------------------------------------

/gate/world/daughters/name MHSphantom
/gate/world/daughters/insert cylinder
/gate/MHSphantom/setMaterial Plexiglass
/gate/MHSphantom/geometry/setRmin 0.0 mm
/gate/MHSphantom/geometry/setRmax 25.5 mm
/gate/MHSphantom/geometry/setHeight 114.0 mm
/gate/MHSphantom/placement/setTranslation 0.0 0.0 0.0 mm
/gate/MHSphantom/vis/setColor white
/gate/MHSphantom/vis/forceWireframe
/gate/MHSphantom/attachPhantomSD

/gate/MHSphantom/daughters/name MHSwater
/gate/MHSphantom/daughters/insert cylinder
/gate/MHSwater/setMaterial Water
/gate/MHSwater/geometry/setRmin 0.0 mm
/gate/MHSwater/geometry/setRmax 22.5 mm
/gate/MHSwater/geometry/setHeight 88.0 mm
/gate/MHSwater/placement/setTranslation 0.0 0.0 0.0 mm
/gate/MHSwater/vis/setColor yellow
/gate/MHSwater/vis/forceWireframe
/gate/MHSwater/attachPhantomSD

/gate/MHSwater/daughters/name MHSsphere1
/gate/MHSwater/daughters/insert sphere
/gate/MHSsphere1/setMaterial Plexiglass
/gate/MHSsphere1/geometry/setRmin 3.9 mm
/gate/MHSsphere1/geometry/setRmax 5.0 mm
/gate/MHSsphere1/placement/setTranslation {MHSsphere1_x} {MHSsphere1_y}
{MHSsphere1_z} mm
/gate/MHSsphere1/vis/setColor blue
/gate/MHSsphere1/vis/forceWireframe
/gate/MHSsphere1/attachPhantomSD

/gate/run/initialize

-----------------SOURCE------------

/gate/source/addSource MHSbg
/gate/source/MHSbg/setActivity {MHSbgActivity}
/gate/source/MHSbg/gps/particle e+
/gate/source/MHSbg/gps/energytype Fluor18
/gate/source/MHSbg/gps/type Volume
/gate/source/MHSbg/gps/shape Cylinder
/gate/source/MHSbg/gps/radius 22.5 mm
/gate/source/MHSbg/gps/halfz 44.0 mm
/gate/source/MHSbg/gps/angtype iso
/gate/source/MHSbg/gps/centre 0.0 0.0 0.0 mm
/gate/source/MHSbg/gps/Forbid MHSsphere1

/gate/source/addSource MHSsphere1
/gate/source/MHSsphere1/setActivity {MHSsphere1Activity}
/gate/source/MHSsphere1/gps/particle e+
/gate/source/MHSsphere1/gps/energytype Fluor18
/gate/source/MHSsphere1/gps/type Volume
/gate/source/MHSsphere1/gps/shape Sphere
/gate/source/MHSsphere1/gps/radius 3.9 mm
/gate/source/MHSsphere1/gps/angtype iso
/gate/source/MHSsphere1/gps/centre {MHSsphere1_x} {MHSsphere1_y}
{MHSsphere1_z} mm
/gate/source/MHSsphere1/attachTo MHSwater.
/gate/source/MHSsphere1/visualize green


/gate/source/list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20130417/4f56a58f/attachment.html>


More information about the Gate-users mailing list