<div dir="ltr">Hi all,<br><br><span><span dir="ltr">I cant simulate cold area in a hot source.<br></span></span><div><span><span dir="ltr">I created a cylinder phantom filled water. The water area have a sphere shell (</span></span>MHSsphere1<span><span dir="ltr">) what I would like to ignore. I copied the macro to bellow.<br>


</span></span></div><div><span><span dir="ltr">Could someone help me?<br></span></span></div><div><span><span dir="ltr"> <br></span></span></div><div><span><span dir="ltr">Best,<br><br></span></span></div><div>
<span><span dir="ltr">Imre<br><br><br></span></span></div><span><span dir="ltr">Here is the macro:<br><br></span></span><span><span dir="ltr"></span></span>control/alias MHSsphere1_x 12.5<br>/control/alias MHSsphere1_y 0<br>


/control/alias MHSsphere1_z 0<br><br>/control/alias MHSsphere2_x 0<br>/control/alias MHSsphere2_y 12.5<br>/control/alias MHSsphere2_z 0<br><br>/control/alias MHSsphere3_x -12.5<br>/control/alias MHSsphere3_y 0<br>/control/alias MHSsphere3_z 0<br>


<br>/control/alias MHSsphere4_x 0<br>/control/alias MHSsphere4_y -12.5<br>/control/alias MHSsphere4_z 0<br><br>/control/alias MHSrod1_z 24.5<br>/control/alias MHSrod2_z 24.15<br>/control/alias MHSrod3_z 23.67<br>/control/alias MHSrod4_z 23.5<br>


<br>#-------Phantom Body--------------------------<div dir="ltr">----------------------------------------<br><br>/gate/world/daughters/name MHSphantom<br>/gate/world/daughters/insert cylinder<br>/gate/MHSphantom/setMaterial Plexiglass<br>


/gate/MHSphantom/geometry/setRmin 0.0 mm<br>/gate/MHSphantom/geometry/setRmax 25.5 mm<br>/gate/MHSphantom/geometry/setHeight 114.0 mm<br>/gate/MHSphantom/placement/setTranslation 0.0 0.0 0.0 mm<br>/gate/MHSphantom/vis/setColor white<br>


/gate/MHSphantom/vis/forceWireframe<br>/gate/MHSphantom/attachPhantomSD<br><br>
/gate/MHSphantom/daughters/name MHSwater<br>/gate/MHSphantom/daughters/insert cylinder<br>/gate/MHSwater/setMaterial Water<br>/gate/MHSwater/geometry/setRmin 0.0 mm<br>/gate/MHSwater/geometry/setRmax 22.5 mm<br>/gate/MHSwater/geometry/setHeight 88.0 mm<br>


/gate/MHSwater/placement/setTranslation 0.0 0.0 0.0 mm<br>/gate/MHSwater/vis/setColor yellow<br>/gate/MHSwater/vis/forceWireframe<br>/gate/MHSwater/attachPhantomSD<br><br>/gate/MHSwater/daughters/name MHSsphere1<br>/gate/MHSwater/daughters/insert sphere<br>


/gate/MHSsphere1/setMaterial Plexiglass<br>/gate/MHSsphere1/geometry/setRmin 3.9 mm<br>/gate/MHSsphere1/geometry/setRmax 5.0 mm<br>/gate/MHSsphere1/placement/setTranslation {MHSsphere1_x} {MHSsphere1_y} {MHSsphere1_z} mm<br>


/gate/MHSsphere1/vis/setColor blue<br>/gate/MHSsphere1/vis/forceWireframe<br>/gate/MHSsphere1/attachPhantomSD<br><br>/gate/run/initialize<br><br>-----------------SOURCE------------<br><br>/gate/source/addSource MHSbg<br>

/gate/source/MHSbg/setActivity {MHSbgActivity}<br>
/gate/source/MHSbg/gps/particle e+<br>/gate/source/MHSbg/gps/energytype Fluor18<br>/gate/source/MHSbg/gps/type Volume<br>/gate/source/MHSbg/gps/shape Cylinder<br>/gate/source/MHSbg/gps/radius 22.5 mm<br>/gate/source/MHSbg/gps/halfz 44.0 mm<br>


/gate/source/MHSbg/gps/angtype iso<br>/gate/source/MHSbg/gps/centre 0.0 0.0 0.0 mm<br>/gate/source/MHSbg/gps/Forbid MHSsphere1<br><br>/gate/source/addSource MHSsphere1<br>/gate/source/MHSsphere1/setActivity {MHSsphere1Activity}<br>


/gate/source/MHSsphere1/gps/particle e+<br>/gate/source/MHSsphere1/gps/energytype Fluor18<br>/gate/source/MHSsphere1/gps/type Volume<br>/gate/source/MHSsphere1/gps/shape Sphere<br>/gate/source/MHSsphere1/gps/radius 3.9 mm<br>


/gate/source/MHSsphere1/gps/angtype iso<br>/gate/source/MHSsphere1/gps/centre {MHSsphere1_x} {MHSsphere1_y} {MHSsphere1_z} mm<br>/gate/source/MHSsphere1/attachTo MHSwater.<br>/gate/source/MHSsphere1/visualize green<br><br>


<br>/gate/source/list</div></div>