<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.hoenzb
{mso-style-name:hoenzb;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Just additional info.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Usually to simulate beam line transport, people use some analytical transport codes (turtle, or else) describing beam optics in quadrupoles, dipoles, etc. based
on matrices.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Monte Carlo is useful to simulate the end of the beam line and beam interactions in patients. Beam modeling usually starts (for active scanning delivery) either
from nozzle exit or from nozzle entrance, but there is no strong need to simulate scanning magnets, which are usually set-up much before the nozzle entrance (even if it is possible in Geant4 to simulate the scanning system).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="DE" style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#1F497D">Sincerely,<o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="DE-AT" style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#112359;mso-fareast-language:DE-AT"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><span lang="DE-AT" style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#112359;mso-fareast-language:DE-AT">Loïc</span><span lang="DE-AT" style="font-size:10.0pt;font-family:"Verdana","sans-serif";color:#112359;mso-fareast-language:DE-AT"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gate-users-bounces@lists.opengatecollaboration.org [mailto:gate-users-bounces@lists.opengatecollaboration.org]
<b>On Behalf Of </b>David Sarrut<br>
<b>Sent:</b> Mittwoch, 11. März 2015 08:53<br>
<b>To:</b> Erik Almhagen<br>
<b>Cc:</b> gate-users<br>
<b>Subject:</b> Re: [Gate-users] Quadrupoles and dipoles in GATE<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hello Erik,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I never used magnetic field in Gate, but it seems that some macros exist to define a global field (/gate/geometry/setMagField). <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">If it does not fit your need, you will need to create specific classes in Gate that Geant4 concepts (<a href="http://geant4.web.cern.ch/geant4/G4UsersDocuments/UsersGuides/ForApplicationDeveloper/html/Detector/electroMagneticField.html">http://geant4.web.cern.ch/geant4/G4UsersDocuments/UsersGuides/ForApplicationDeveloper/html/Detector/electroMagneticField.html</a>).
It should not be too difficult. Just think to start from the last version of the Gate source code in the git repository, and start by creating a new branch. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">(To my knowledge, no current plan to implement magnetic field attached to a specific volume in Gate)<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Sincerely, <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">David<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Fri, Mar 6, 2015 at 1:56 PM, Erik Almhagen <<a href="mailto:ealmhagen@gmail.com" target="_blank">ealmhagen@gmail.com</a>> wrote:<o:p></o:p></p>
<div>
<p class="MsoNormal">Hello<br>
<br>
I am a new GATE user, predominantly interested in its radiotherapy applications. My longer term goals are to simulate dose distributions using CT-images, especially with an eye to paediatric patients. Before all that I want to implement a beamline/nozzle. In
the 7.0 User's guide, it says:<br>
<br>
"A magnetic field can be defined. It will be attached and thus active in the whole world volume. It is currently not possible to confine the field to another volume."<br>
<br>
Since I want to model quadrupoles and dipoles, I do not want to have a homogeneous, world-wide magnetic field, but rather a number of fields confined to certain volumes. Am I perhaps looking in the wrong place, or is that not possible to model at the moment
in GATE?<br>
<br>
If it is not possible at the moment, is there anyone with plans to implement it?<br>
<br>
With regards<span style="color:#888888"><br>
<span class="hoenzb">/Erik Almhagen</span></span><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
_______________________________________________<br>
Gate-users mailing list<br>
<a 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><o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal">David Sarrut, Phd<br>
Directeur de recherche CNRS<br>
CREATIS, UMR CNRS 5220, Inserm U 1044<o:p></o:p></p>
<div>
<p class="MsoNormal">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>
_________________________________<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> "2 + 2 = 5, for extremely large values of 2"<br>
_________________________________<o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<div class="WordSection1">
<p class="MsoNormal"><small><span style=""><o:p></o:p></span><b><span style="font-family: "Verdana","sans-serif"; color: rgb(17, 35, 89);" lang="EN-GB">Disclaimer:</span></b><br>
<span style="font-family: "Verdana","sans-serif"; color: rgb(17, 35, 89);" lang="EN-GB">Please notice our E-Mail Disclaimer <a href="http://www.medaustron.at/email-disclaimer/"><span style="color: rgb(17, 35, 89);">http://www.medaustron.at/email-disclaimer/</span></a></span></small><span style=""><o:p></o:p></span><o:p> </o:p></p>
</div>
<br>
</body>
</html>