<html 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 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:0in;
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:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>If you want to use gps method, you should follow this guide</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><a href="http://hurel.hanyang.ac.kr/Geant4/Geant4_GPS/reat.space.qinetiq.com/gps/examples/ex31.html">http://hurel.hanyang.ac.kr/Geant4/Geant4_GPS/reat.space.qinetiq.com/gps/examples/ex31.html</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># the beam energy is in gaussian profile centered at 400 MeV<br>/gps/ene/type Gauss<br>/gps/ene/mono 400 MeV<br>/gps/ene/sigma 50. MeV<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Nguyễn Trần Thọ <br><br><a href="http://www.pnt.edu.vn">www.pnt.edu.vn</a></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:andreas.samnoy@gmail.com">Andreas Tefre Samnøy</a><br><b>Sent: </b>Thursday, November 8, 2018 10:38 PM<br><b>To: </b><a href="mailto:gate-users@lists.opengatecollaboration.org">gate-users@lists.opengatecollaboration.org</a><br><b>Subject: </b>[Gate-users] cannot get gaussian energy distribution</p></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>Hi everyone</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I am trying to make a simple proton beam where the energy distribution is Gaussian. </p></div><div><p class=MsoNormal>The mean energy should be 13 MeV and the standard deviation should be 1 MeV. When I run the code under, and shoot it directly into a senstive volume, all the recorded hits are 13 MeV. So i conclude that the beam is actually mono energetic.</p></div><div><p class=MsoNormal>Can anybody tell me what is wrong in my code?</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>/gate/source/addSource beam gps<br>/gate/source/beam/gps/particle proton<br>/gate/source/beam/gps/energytype Gauss<br>/gate/source/beam/gps/energy 13 MeV<br>/gate/source/beam/gps/sigmae 1 MeV <br><br>/gate/source/beam/gps/type Beam<br>/gate/source/beam/gps/shape Circle<br>/gate/source/beam/gps/centre 0 0 900 mm<br>/gate/source/beam/gps/radius 1 mm<br><br>/gate/source/beam/gps/angtype iso <br>/gate/source/beam/gps/mintheta 0 deg <br>/gate/source/beam/gps/maxtheta 0 deg<br>/gate/source/beam/gps/minphi 0 deg <br>/gate/source/beam/gps/maxphi 360 deg </p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Best Regards</p></div></div></div><p class=MsoNormal>Andreas Tefre Samnøy</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>