<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hi Daniela,<br>
<br>
I'm not 100% sure if this is your problem, but I noticed you
didn't attach a sensitive detector to your phantom - I think that
may be necessary. It should just be this line:<br>
</p>
<pre style="overflow: auto hidden; font-family: Consolas, Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace; font-size: 0.9em; background: rgb(238, 238, 238); padding: 7px 30px; margin: 15px 0px; line-height: 19.125px; color: rgb(62, 67, 73); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">/gate/PMMA/<span class="o" style="color: rgb(88, 40, 0);"></span><span class="n" style="color: rgb(0, 0, 0);">attachPhantomSD</span>
</pre>
More info here:<br>
<br>
<a class="moz-txt-link-freetext" href="https://opengate.readthedocs.io/en/latest/sensitive_detector_concept.html#the-phantomsd">https://opengate.readthedocs.io/en/latest/sensitive_detector_concept.html#the-phantomsd</a><br>
<p>Let me know if this works!<br>
</p>
Best,<br>
Cassandra<br class="Apple-interchange-newline">
<br>
<pre class="moz-signature" cols="72">--
Cassandra Miller
PhD Student, Physics
Quantitative Radiomolecular Imaging and Therapy Lab
Department of Physics and Astronomy, University of British Columbia</pre>
<div class="moz-cite-prefix">On 2020-12-09 1:07 p.m., Botnariuc,
Daniela wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM6PR0102MB33686DB6B851410C5300D2AC85CC0@AM6PR0102MB3368.eurprd01.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear Gate users, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am simulating a proton pencil beam and I
am trying to score the depth-dose curve in a cylindrical
geometry. When I attach the dose actor to the cylindrical
geometry, it appears that the dose is being calculated in a
box as opposed to a cylinder. I ran the same simulation but
scoring dose in a cuboid geometry whose X and Y lengths were
the same as the diameter (for the same depth resolution) of
the cylindrical volume and I get the exact same curve. How
would I define the dose actor in order to score dose in the
cylinder?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#GEOMETRY<o:p></o:p></p>
<p class="MsoNormal">/gate/world/daughters/name PMMA<o:p></o:p></p>
<p class="MsoNormal">/gate/world/daughters/insert cylinder<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/geometry/setRmax 4.08 cm<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/geometry/setRmin 0. mm<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/geometry/setHeight 20 cm<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/placement/setTranslation 0 0
0.10 m<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/setMaterial Water<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/vis/setColor cyan<o:p></o:p></p>
<p class="MsoNormal">/gate/PMMA/describe<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">#DOSE ACTOR<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/addActor DoseActor
depthdose<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/attachTo PMMA<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/stepHitType random<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/setPosition 0 0 0
mm<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/setResolution 1 1
1000 mm<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/saveEveryNSeconds
60<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/enableDose true<o:p></o:p></p>
<p class="MsoNormal">/gate/actor/depthdose/enableUncertaintyDose
true<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you in advance for your time. <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best wishes, <o:p></o:p></p>
<p class="MsoNormal">Daniela <o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Gate-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></pre>
</blockquote>
</body>
</html>