<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-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.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{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]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi David,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For phase spaces, I would suggest to use root format instead of IAEA (just change the output to .root).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">If you still need IAEA, from what I remember there is an issue with the IAEA format (corrupted Phase space or else). Sometimes ago, “Stahis” (look on the mailing-list exchanges) made a lot of posts about that
and proposed a solution. I attached one e-mail if that can help. In future someone should implement correctly a patch for IAEA PhS in Gate – if you can do it that would be a very good contribution!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Sincerely,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Loïc<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<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 Watts<br>
<b>Sent:</b> Mittwoch, 22. Oktober 2014 11:53<br>
<b>To:</b> gate-users@lists.opengatecollaboration.org<br>
<b>Subject:</b> [Gate-users] Can't use IAEA phase space<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB">Hi Gate community, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m doing some tests recently with Phase Spaces. In particular, I’m trying to generate a IAEA Phase Space.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’ve just had the error, “src/GatePhaseSpaceActor.cc (l.267): Actor phase space: particle not available in IAEA format.”
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">This is odd because I am generating a beam of protons using the gps source… like this:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/addSource PBS-source gps<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/particle proton<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/type Beam<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/rot1 0 1 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/rot2 1 0 0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/shape Circle<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/centre 0 0 0 mm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/sigma_x 0.5 mm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/pos/sigma_y 0.5 mm<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/ene/mono 70 MeV<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/ene/sigma 0 MeV<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/ene/type Gauss<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/source/PBS-source/gps/direction 0 0 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"> /gate/application/setTotalNumberOfPrimaries 10000<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">If I change the second line to ‘e-‘ , the simulation runs fine, and the output IAEA PS is generated (along with the header file).
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Can someone help please? I’m running the GATE virtual image “vGATE_2.0.vdi” on Virtual Box<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">In order to avoid starting a new thread on a similar topic, I will include another question. What I’m trying to do is develop a method for importing particle distributions from beam dynamics codes (such as LINAC… Parmela
format) as a PS source in GATE. If someone has already done this and is willing to share the solution that would be great!
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers, <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Dave. <o:p></o:p></span></p>
</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>