<div dir="ltr"><div dir="ltr">Hello,<div><br></div></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 28, 2020 at 7:27 PM Lana Beck <<a href="mailto:lana.beck@bristol.ac.uk">lana.beck@bristol.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Dear Dr Sarrut,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I have a question about the example in your gitbook:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<a href="https://dsarrut.gitbooks.io/gate-exercises/content/exercise4-linac.html" target="_blank">https://dsarrut.gitbooks.io/gate-exercises/content/exercise4-linac.html</a><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt">and the associated code here:</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<a href="https://gitlab.in2p3.fr/davidsarrut/gate-exercices/blob/master/linac/mac/main-write-PhS.mac" id="gmail-m_4533070286742111829LPlnk417946" target="_blank">https://gitlab.in2p3.fr/davidsarrut/gate-exercices/blob/master/linac/mac/main-write-PhS.mac</a></div></div></blockquote><div><br></div><div>the gitbook link is no more maintained, please use: <a href="https://davidsarrut.pages.in2p3.fr/gate-exercices-site/">https://davidsarrut.pages.in2p3.fr/gate-exercices-site/</a> (for the moment it is essentially the same). </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><span style="font-size:12pt">If you prefer I can send my question to the gate-users list but as it pertained to your gitbook particularly I thought I should email you first.</span></div></div></blockquote><div> </div><div>yes I prefer to copy the gate-user list please. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><span style="font-size:12pt">I was wondering about the line (110) in the example:</span><br></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<code><span style="font-family:"Courier New",monospace">/process/em/setSecBiasing eBrem target 100 100 MeV</span></code><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<code><br>
</code></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<code></code></div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif">
However, in the Section 5.2.1.1 in the gate manual it says to use:</div>
<div style="margin:0px;font-size:12pt;font-family:Calibri,Arial,Helvetica,sans-serif">
<span style="font-family:"Courier New",monospace">/gate/physics/processes/Bremsstrahlung/activateSplitting e- 100</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<a href="https://opengate.readthedocs.io/en/latest/cut_and_variance_reduction_technics.html" id="gmail-m_4533070286742111829LPNoLP185647" target="_blank">https://opengate.readthedocs.io/en/latest/cut_and_variance_reduction_technics.html</a><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
and then I guess filters could be used for volume and energy.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Is there a difference in these two methods? Of course the latter one requires using:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span style="font-family:"Courier New",monospace">/gate/physics/addProcess Bremsstrahlung</span><span><br>
</span>
<div><span style="font-family:"Courier New",monospace">/gate/physics/processes/Bremsstrahlung/setModel StandardModel e-</span><br>
</div>
<span style="font-family:"Courier New",monospace">/gate/physics/processes/Bremsstrahlung/setModel StandardModel e+</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span>in order for activateSplitting to work. However I'm not really sure what happens when adding the Bremsstrahlung process since eBrem is already included in the initialised methods of emstandard_opt3.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<span><br></span></div></div></blockquote><div><br></div><div>the opengate doc is wrong here and should be updated. Please use the first macro "setSecBiasing". The second sets of macros are now deprecated and should not be used. </div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><span>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
I am interested in the electron contamination from the linac head and I need a large sample. Hence, I wanted to do something similar for Compton Scattering and I'm not sure which method to use.</div></div></blockquote><div><br></div><div>For Compton Scattering, use the same setSecBiasing command but with the Compton process name. You should find the name of the Compton somewhere in the Geant4 document, sorry, dont know where ...</div><div><br></div><div>David</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Any advice would be greatly appreciated.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Kind regards,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Lana</div>
<div id="gmail-m_4533070286742111829Signature">
<div id="gmail-m_4533070286742111829divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif">
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt"><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">-------------------<br>
<b>Dr Lana Beck</b></span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">Research Associate in Particle Physics Group</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt">University of Bristol</span></p>
<p style="margin-top:0px;margin-bottom:0px"><span style="font-size:10pt"><br>
</span></p>
<p style="margin-top:0px;margin-bottom:0px"></p>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px">
<div style="font-size:small">
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><span style="font-size:9pt">HH Wills Physics Laboratory</span></div>
</div>
<span style="font-size:9pt">School of Physics</span><br style="font-size:12.8px">
<span style="font-size:9pt">University of Bristol</span><br style="font-size:12.8px">
</div>
<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span style="font-size:9pt">Tyndall Avenue</span><br style="font-size:12.8px">
<span style="font-size:9pt">Bristol</span><br style="font-size:12.8px">
<span style="font-size:9pt">BS8 1TL</span></div>
<br>
<p style="margin-top:0px;margin-bottom:0px"></p>
</div>
</div>
</div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U1206<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div></div></div></div></div></div>