<html><head></head><body><div class="ydpfdc44bcdyahoo-style-wrap" style="font-family: courier new, courier, monaco, monospace, sans-serif; font-size: 13px;"><div><div dir="ltr" data-setdir="false">Dear Musa,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">In general, spherical coordinates use only numbers >0 (I think theta 0-180 and phi 0-360). Thus, using: "<span>/gate/Filmactive2/geometry/setPhiStart -45 deg", probably produces an error. </span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>I would recommend to start phi from zero and then rotate the volume 315 degrees. You could also try to set the Phi start at 315 degrees. </span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span><br></span></div><div dir="ltr" data-setdir="false"><span>Kind Regards,</span></div><div dir="ltr" data-setdir="false"><span>Konstantinos</span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><br></div><div><br></div><div class="ydpfdc44bcdsignature"><div style="font-family:courier, monaco, monospace, sans-serif;font-size:13px;"><div style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><span style="font-style:italic;">-----------------------------------------------------</span></div><span style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;"> Konstantinos Chatzipapas<br>    Medical Physicist, </span><span style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-style:italic;">PhD<br></span><div style="color:rgb(0, 0, 0);font-family:Arial;font-size:16px;font-style:normal;font-weight:normal;letter-spacing:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;"><div><span style="font-style:italic;">       <span style="font-weight:bold;">University of Patras</span></span></div><div><span style="font-style:italic;"><span style="font-weight:bold;"><br></span></span></div><div dir="ltr"><span style="font-style:italic;"><span style="font-weight:bold;"> web: <a href="http://physicsfeed.blogspot.com/" rel="nofollow" target="_blank">Physics Magazine</a></span></span></div></div></div></div></div>
        <div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_3893245520" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Στις Κυριακή, 10 Οκτωβρίου 2021, 12:58:26 μ.μ. EEST, ο χρήστης Musajoya Joya <musajoyajoya@gmail.com> έγραψε:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv2258221560"><div dir="ltr"><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;">Dear GATE users, </div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;">I have defined a semi-cylinder dose detector as the following; </div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><font style="background-color:rgb(243,243,243);" color="#0000ff">/gate/phantom/daughters/name                      Filmactive2<br>/gate/phantom/daughters/insert                    cylinder<br>/gate/Filmactive2/geometry/setRmin                 2.2403 cm<br>/gate/Filmactive2/geometry/setRmax                 2.2431 cm<br>/gate/Filmactive2/geometry/setPhiStart          </font><font style="background-color:rgb(243,243,243);" color="#ff9900"> </font><font style="background-color:rgb(243,243,243);"><font color="#ff9900"> -45 deg</font><br><font color="#0000ff">/gate/Filmactive2/geometry/setDeltaPhi           </font><font color="#ff00ff">  </font><font color="#ff9900">75 deg</font><br><font color="#0000ff">/gate/Filmactive2/geometry/setHeight               1 cm</font><br><font color="#0000ff">/gate/Filmactive2/placement/setTranslation        0.0 0 11 cm</font><br><font color="#0000ff">/gate/Filmactive2/placement/setRotationAxis       0 0 1</font><br><font color="#0000ff">/gate/Filmactive2/setMaterial                     Filmactivelayer</font></font><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;">I attached a DoseActor to that volume, </div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><font color="#0000ff">/gate/actor/addActor                           DoseActor  targetdose2<br>/gate/actor/targetdose2/attachTo                   Filmactive2<br>/gate/actor/targetdose2/stepHitType                random<br>/gate/actor/targetdose2/setPosition                0 0 0 cm<br>/gate/actor/targetdose2/save                       output/target/targetdose2.txt<br>/gate/actor/targetdose2/saveEveryNSeconds          60<br>/gate/actor/targetdose2/enableDose                 true<br>/gate/actor/targetdose2/enableUncertaintyDose      true</font><br><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;">Unfortunately, the problem is that this combination does not record any dose and the output is always zero. But, When I change the detector to a complete cylinder (as below) it calculates the dose. </div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><font color="#0000ff">/gate/phantom/daughters/name                      Filmactive2<br>/gate/phantom/daughters/insert                    cylinder<br>/gate/Filmactive2/geometry/setRmin                 2.2403 cm<br>/gate/Filmactive2/geometry/setRmax                 2.2431 cm<br>/gate/Filmactive2/geometry/setPhiStart           </font><font color="#ff9900"> 0 deg</font><br><font color="#0000ff">/gate/Filmactive2/geometry/setDeltaPhi         </font><font color="#ff9900">   360 deg</font><br><font color="#0000ff">/gate/Filmactive2/geometry/setHeight               1 cm</font><br><font color="#0000ff">/gate/Filmactive2/placement/setTranslation        0.0 0 11 cm</font><br><font color="#0000ff">/gate/Filmactive2/placement/setRotationAxis       0 0 1</font><br><font color="#0000ff">/gate/Filmactive2/setMaterial                     Filmactivelayer</font><br></div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;">I marked the difference between two codes in <font color="#ff9900">orange color</font>, dose any one knows the problem what is wrong? </div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;">please help it is vital for my work. </div><div class="yiv2258221560gmail_default" style="font-family:arial, sans-serif;font-size:large;"><br></div><div><div dir="ltr" class="yiv2258221560gmail_signature"><div dir="ltr"><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Best Wishes</em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Musa Joya</em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Ph.D. candidate in Medical Physics </em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Tehran University of Medical Sciences</em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Tehran, Iran &</em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Lecturer of Medical Physics </em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Kabul University of Medical Sciences</em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Kabul, Afghanistan</em></p><p style="color:rgb(0,0,0);font-family:Verdana, Geneva, sans-serif;font-size:16px;"><em>Mobile and Telegram & WhatsApp: +989381560693</em></p></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></body></html>