<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>Hello Nicolas and Sara,</div><div>I revised your code as follows,  TubeSource2 shouldn't to be used in your code.</div><div><br></div><div><br></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/world/daughters/name innerCylinder1</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/world/daughters/insert cylinder</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/placement/setTranslation 0.0 0.0 0.0 cm</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/geometry/setRmax 1.5 cm</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/geometry/setHeight 6.0 cm</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/setMaterial Water</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/vis/forceWireframe</span><br style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/vis/setColor blue</span></span><br></div><div><span><span style="font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><span><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">/gate/innerCylinder1/</span></span>attachPhantomSD</span><br></span></span></div><div><br></div><div><span><div>/gate/source/addSource TubeSource1</div><div>/gate/source/TubeSource1/gps/type Volume</div><div>/gate/source/TubeSource1/gps/shape Cylinder</div><div>/gate/source/TubeSource1/gps/radius 3.0 cm</div><div>/gate/source/TubeSource1/gps/halfz 3.0 cm</div><div>/gate/source/TubeSource1/setActivity 20000 becquerel   #### to be specified</div><div>/gate/source/TubeSource1/gps/particle e+</div><div>/gate/source/TubeSource1/setForcedUnstableFlag true</div><div>/gate/source/TubeSource1/gps/energytype Fluor18</div><div>/gate/source/TubeSource1/setForcedHalfLife 6586.2 s</div><div>/gate/source/TubeSource1/gps/angtype iso</div><div>/gate/source/TubeSource1/gps/centre 0. 0. 0 cm</div><div>/gate/source/TubeSource1/gps/Forbid innerCylinder1</div><div><br></div></span><br></div><div><br></div><div class="ydpb444b0d2signature"><div><div class="ydpb444b0d2MsoNormal" dir="RTL" style="text-align:right;direction:rtl;"><span style="font-family:'Courier New', courier, monaco, monospace, sans-serif;"><br></span></div></div><span style="font-family:'bookman old style', 'new york', times, serif;">Best Regards</span><br><div><span style="font-family:'Courier New', courier, monaco, monospace, sans-serif;">-------------------</span></div><div><br></div><div><p class="ydpb444b0d2ecxMsoSubtitle" style="font-family:Calibri, sans-serif;padding:0px !important;"><b><span style="line-height:17.1200008392334px;color:windowtext;font-style:italic;"><font size="3">Peyman Sheikhzadeh</font></span></b></p>PhD Candidate in Medical Physics<br>Medical Physics & Biomedical Engineering Department<br>Center for Molecular & Cellular Imaging <br>Institute for Advanced medical Technologies<br>Tehran University Of Medical Science<br>Tehran-Iran<br><p class="ydpb444b0d2ecxMsoSubtitle" style="font-family:Calibri, sans-serif;padding:0px !important;"><br></p><p class="ydpb444b0d2ecxMsoSubtitle" style="padding:0px !important;"><br></p></div><div class="ydpb444b0d2MsoNormal"><span style="font-style:italic;font-size:small;"> </span></div></div></div>
            <div><br></div><div><br></div>
            
            <div id="yahoo_quoted_6836148804" class="yahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Wednesday, May 9, 2018, 10:33:34 PM GMT+4:30, Nicolas Karakatsanis <nicolas.karakatsanis@gmail.com> wrote:
                    </div>
                    <div><br></div>
                    <div><br></div>
                    <div><div id="yiv1289204791"><div dir="ltr">Dear <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​GATE users</div>,<br><br><div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;">​On behalf of my colleague, Dr. Sara Zein, I am forwarding you her question below. </div><div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;">

<div class="yiv1289204791gmail_default" style="color:rgb(34,34,34);font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;font-family:tahoma, sans-serif;display:inline;">We</div><span style="color:rgb(34,34,34);font-family:arial, sans-serif;font-size:small;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-color:initial;float:none;display:inline;"> would appreciate any help from the GATE community.</span>

 ​</div><br><div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​We would like</div> to simulate a cylindrical radioactive source having a hollow center without activity. <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​We are</div> using the cold source command "Forbid" on the region <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​we wish</div> to exclude from <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​our</div> source. However the background activity from the larger source still persists. <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​</div><div>Below you <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​may​</div> find <div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​our​</div> code.<br><br>/gate/source/addSource TubeSource1<br>/gate/source/TubeSource1/gps/type Volume<br>/gate/source/TubeSource1/gps/shape Cylinder<br>/gate/source/TubeSource1/gps/radius 3.0 cm<br>/gate/source/TubeSource1/gps/halfz 3.0 cm<br>/gate/source/TubeSource1/setActivity 2000000 becquerel   #### to be specified<br>/gate/source/TubeSource1/gps/particle e+<br>/gate/source/TubeSource1/setForcedUnstableFlag true<br>/gate/source/TubeSource1/gps/energytype Fluor18<br>/gate/source/TubeSource1/setForcedHalfLife 6586.2 s<br>/gate/source/TubeSource1/gps/angtype iso<br>/gate/source/TubeSource1/gps/centre 0. 0. 0 cm<br><br>/gate/world/daughters/name innerCylinder1<br>/gate/world/daughters/insert cylinder<br>/gate/innerCylinder1/placement/setTranslation 0.0 0.0 0.0 cm<br>/gate/innerCylinder1/geometry/setRmax 1.5 cm<br>/gate/innerCylinder1/geometry/setHeight 6.0 cm<br>/gate/innerCylinder1/setMaterial Water<br>/gate/innerCylinder1/vis/forceWireframe<br>/gate/innerCylinder1/vis/setColor blue<br><br>/gate/source/addSource TubeSource2<br>/gate/source/TubeSource2/gps/type Volume<br>/gate/source/TubeSource2/gps/shape Cylinder<br>/gate/source/TubeSource2/gps/radius 1.5 cm<br>/gate/source/TubeSource2/gps/halfz 3 cm<br>/gate/source/TubeSource2/setActivity 2000000 becquerel   #### to be specified<br>/gate/source/TubeSource2/gps/particle gamma<br>/gate/source/TubeSource2/gps/monoenergy 511. keV<br>/gate/source/TubeSource2/gps/angtype iso<br>/gate/source/TubeSource2/gps/centre 0. 0. 0 cm<br>/gate/source/TubeSource2/gps/Forbid innerCylinder1<br>/gate/source/TubeSource2/dump 1<br>/gate/source/list<br> <br><br>Thank you<div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;display:inline;">​ in advance​</div>,<br>Regards</div><div><div class="yiv1289204791gmail_default" style="font-family:tahoma, sans-serif;">​Sara Zein​</div><br><div><br><div><div class="yiv1289204791gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><p><a rel="nofollow" name="UNIQUE_ID_SafeHtmlFilter_UNIQUE_ID_SafeHtmlFilter__MailAutoSig"><b><span style="font-size:10.0pt;font-family:sans-serif;color:#e87722;">Nikolaos (Nicolas) A.</span></b></a><span style="font-size:10pt;font-family:Helvetica, sans-serif;color:black;"> </span><b><span style="font-size:10.0pt;font-family:sans-serif;color:#e87722;">Karakatsanis, PhD, DABSNM</span></b><span style="font-size:9pt;font-family:Helvetica, sans-serif;color:black;"> </span><span style="font-size:9.0pt;font-family:sans-serif;color:black;"><br>
</span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;">Assistant Professor
of Biomedical Engineering in Radiology</span><span style="font-size:9pt;font-family:Helvetica, sans-serif;color:black;"> </span><span style="font-size:9.0pt;font-family:sans-serif;color:black;"><br>
</span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;">Weill
Cornell Medical College<br>
</span><span style="font-size:9.0pt;font-family:sans-serif;color:black;"><br>
</span><b><span style="font-size:10.0pt;font-family:sans-serif;color:#cf4520;">Weill Cornell Medicine</span></b><span style="font-size:9pt;font-family:Arial, sans-serif;color:black;"> </span><span style="font-size:9.0pt;font-family:sans-serif;color:black;"><br>
</span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;">Division
of Radiopharmaceutical Sciences, Department of Radiology</span><span style="font-size:9pt;font-family:Arial, sans-serif;color:black;"> </span><span style="font-size:9.0pt;font-family:sans-serif;color:black;"><br>
</span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;">515 East
71st Street, S-120</span><span style="font-size:9pt;font-family:Arial, sans-serif;color:black;">, </span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;">New York, NY</span><span style="font-size:9pt;font-family:Arial, sans-serif;color:black;"> </span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;">10021</span><span style="font-size:9.0pt;font-family:sans-serif;color:black;"><br>
</span><span style="font-size:9.0pt;font-family:sans-serif;color:#0563c1;"><a rel="nofollow" ymailto="mailto:nak2032@med.cornell.edu" target="_blank" href="mailto:nak2032@med.cornell.edu">nak2032@med.cornell.edu</a> </span><span style="font-size:9.0pt;font-family:sans-serif;color:#777777;"></span></p></div><div dir="ltr"><span style="font-size:12px;color:rgb(119,119,119);font-family:Arial;"></span></div></div></div></div></div></div></div></div></div>
</div></div></div></div>_______________________________________________<br>Gate-users mailing list<br><a ymailto="mailto:Gate-users@lists.opengatecollaboration.org" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br><a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
                </div>
            </div></div></body></html>