<div dir="ltr"><div>I do not understand exactly your issues, but what I know is that if you run one simulation for one spot, you have the dose for this spot.</div><div>I you do so for each spot, you will have a different output for each spot, which is I think answer your first questions.</div>
<div>You can then sum-up all doses for all spots together if you like.</div><div>If you wish to obtain directly one output per spot in a single simulation, you have to modify the source code I guess.</div><div> </div><div>
Hope this help,</div><div> </div><div>Loïc</div><div> </div></div><div class="gmail_extra"><br clear="all"><div>Loïc<br></div>
<br><br><div class="gmail_quote">2013/5/7 Joulaeizadeh,  (L) , Mrs <span dir="ltr"><<a href="mailto:LJoulaeizadeh@vsl.nl" target="_blank">LJoulaeizadeh@vsl.nl</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="NL" vlink="purple" link="blue"><div><p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US">Hi Loic,<u></u><u></u></span></p><p class="MsoNormal">
<span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US">I need to run the simulation of all the spots once since I need to use different output files of one simulation to later calculate the heat transport by time in a water phantom.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US">Any other idea to solve the problem?<u></u><u></u></span></p><div class="im"><p class="MsoNormal">
<span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US">Leila<u></u><u></u></span></p><p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:"Calibri","sans-serif";font-size:11pt" lang="EN-US"><u></u> <u></u></span></p>

<p style="margin:0cm 0cm 0pt"><span><font color="#808080" face="Arial"><a title="Holand Metrology" href="http://www.hollandmetrology.nl" target="_blank"></a></font></span></p>
<p style="margin:0cm 0cm 0pt"><span></span><font face="Arial"> </font></p>
<p style="margin:0cm 0cm 0pt"><font face="Arial">
</font></p><font face="Arial"><table style="width:958px;min-height:211px" border="0" cellspacing="0" cellpadding="0"><tbody>
  <tr>
    <td width="94"><a title="" href="http://www.vsl.nl/" target="_blank"></a><a title="" href="http://www.vsl.nl" target="_blank"><img style="width: 68px; min-height: 160px;" border="0" hspace="0" alt="" src="cid:vsl_logo_rgba7fad.jpg" width="68" height="160"></a></td>

    <td>
      <p style="margin:0cm 0cm 0pt"><span><font face="Verdana"> VSL</font></span><span></span></p>
      <p style="margin:0cm 0cm 0pt"><span><font face="Verdana"> Mrs (L) Joulaeizadeh 
      PhD</font></span></p>
      <p style="margin:0cm 0cm 0pt"><span></span><font face="Verdana"> Research Scientist - Ionizing Radiation Standards</font></p><span>
      <p style="margin:0cm 0cm 0pt"><span><font face="Verdana"> D 
      <a href="tel:%2B31%2015%202691681" target="_blank" value="+31152691681">+31 15 2691681</a><span></span></font><span style="font-family:"Calibri","sans-serif";font-size:11pt"><span style="font-family:"Calibri","sans-serif";font-size:11pt"><font face="Verdana"><br>
</font></span></span></span></p></span>
      <p style="margin:0cm 0cm 0pt"><font face="Verdana"><font><span><span> T <span style="font-family:"Calibri","sans-serif";font-size:11pt"><font face="Verdana">+</font><span style="font-family:"Calibri","sans-serif";font-size:11pt"><font face="Verdana">31 15 
      2691500</font></span></span></span></span> </font></font></p>
      <p style="margin:0cm 0cm 0pt"> </p>
      <p style="margin:0cm 0cm 0pt"> <a title="" href="http://www.vsl.nl/" target="_blank"><font face="Verdana">www.vsl.nl</font></a></p>
      <p style="margin:0cm 0cm 0pt"><font face="Verdana"> </font></p>
      <p style="margin:0cm 0cm 0pt"><font face="Verdana"> </font><a title="Disclaimer VSL" href="http://www.vsl.nl/disclaimer" target="_blank"><font face="Verdana">DISCLAIMER</font></a></p></td></tr></tbody></table></font><p>
</p>
<p style="margin:0cm 0cm 0pt"><font face="Arial"></font> </p>
<p style="margin:0cm 0cm 0pt"><font face="Arial"></font></p>
<p style="margin:0cm 0cm 0pt"> </p><br></div><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) currentColor currentColor;padding:3pt 0cm 0cm"><p class="MsoNormal"><b><span style="font-family:"Tahoma","sans-serif";font-size:10pt" lang="EN-US">From:</span></b><span style="font-family:"Tahoma","sans-serif";font-size:10pt" lang="EN-US"> Loic Grevillot [mailto:<a href="mailto:loic.grevillot@gmail.com" target="_blank">loic.grevillot@gmail.com</a>] <br>
<b>Sent:</b> dinsdag 7 mei 2013 11:51<br><b>To:</b> Joulaeizadeh, (L) , Mrs<br><b>Cc:</b> <a href="mailto:gate-users@lists.opengatecollaboration.org" target="_blank">gate-users@lists.opengatecollaboration.org</a><br><b>Subject:</b> Re: [Gate-users] Spot scanning using Pencil beam<u></u><u></u></span></p>
</div><div class="im"><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">You may try to run one simulation for the first spot and another for the second spot, or to separate them per field, using this command:<u></u><u></u></p>
</div><div><p>#/gate/source/PBS/setNotAllowedFieldID 1<u></u><u></u></p></div></div></div><div><p class="MsoNormal"><br clear="all"><u></u><u></u></p><div><p class="MsoNormal">Loïc<u></u><u></u></p></div><p style="margin-bottom:12pt" class="MsoNormal">
<u></u> <u></u></p><div><div class="im"><p class="MsoNormal">2013/5/7 Joulaeizadeh, (L) , Mrs <<a href="mailto:LJoulaeizadeh@vsl.nl" target="_blank">LJoulaeizadeh@vsl.nl</a>><u></u><u></u></p></div><div><div class="im">
<div><p class="MsoNormal"><span lang="EN-US">Dear Gate-Users,</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">I would like to scan two separate spots using a proton pencil beam. I would like to scan the first spot, write the dose in a first output file (can be root file), then scan the second spot and write the dose in the second output file.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">The problem is that one dose file is not specified to one spot and in every dose file I see the information of two spots.</span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Does anyone know how can I have separate output per separate spot?</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">My planning file and main macro are attached to this email in case you would like to have a look.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">Any help would be appreciated.</span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US"> </span><u></u><u></u></p><p class="MsoNormal"><span lang="EN-US">Leila</span><u></u><u></u></p>
</div><p style="margin:0cm 0cm 0pt"><span style="font-family:"Arial","sans-serif""> </span><u></u><u></u></p></div><table style="width:718.5pt;min-height:211px" border="0" cellspacing="0" cellpadding="0" width="958">
<tbody><tr><td style="padding:0cm;width:70.5pt" width="94"><p class="MsoNormal"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u><u></u></span></a></p></td><td style="padding:0cm">
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> VSL</span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u></u><u></u></span></a></span></p>
<div class="im"><p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> Mrs (L) Joulaeizadeh PhD</span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u></u><u></u></span></a></span></p>
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> Research Scientist - Ionizing Radiation Standards</span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u></u><u></u></span></a></span></p>
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> D <u><span style="color:blue">+31 15 2691681</span></u></span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u></u><u></u></span></a></span></p>
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> T </span><span style="color:windowtext;font-size:11pt;text-decoration:none">+31 15 2691500</span><span style="color:windowtext;text-decoration:none"> </span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u></u><u></u></span></a></span></p>
<p style="margin:0cm 0cm 0pt"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> <u></u><u></u></span></a></p><p style="margin:0cm 0cm 0pt"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> <u><span style="color:blue;font-family:"Verdana","sans-serif"">www.vsl.nl</span></u><u></u><u></u></span></a></p>
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> </span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u></u><u></u></span></a></span></p>
<p style="margin:0cm 0cm 0pt"><span style="font-family:"Verdana","sans-serif""><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> </span><span style="color:windowtext;font-family:"Times New Roman","serif";text-decoration:none"><u><span style="color:blue;font-family:"Verdana","sans-serif"">DISCLAIMER</span></u><u></u><u></u></span></a></span></p>
</div></td></tr></tbody></table><p style="margin:0cm 0cm 0pt"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> <u></u><u></u></span></a></p><p style="margin:0cm 0cm 0pt">
<a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"> <u></u><u></u></span></a></p><p class="MsoNormal"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u> <u></u></span></a></p>
</div><div class="im"><p class="MsoNormal"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"><br>_______________________________________________<br>Gate-users mailing list<br>
<u><span style="color:blue">Gate-users@lists.opengatecollaboration.org</span></u><br><u><span style="color:blue">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</span></u><u></u><u></u></span></a></p></div>
</div><p class="MsoNormal"><a title="" href="http://www.vsl.nl" target="_blank"><span style="color:windowtext;text-decoration:none"><u></u> <u></u></span></a></p></div></div></div></blockquote></div><br></div>