[Gate-users] cannot get gaussian energy distribution
Andreas Tefre Samnøy
andreas.samnoy at gmail.com
Fri Nov 9 08:52:49 CET 2018
Thanks, this worked!
I thought that "/gps/ene/mono" was just used for mono energetic particles.
On Fri, Nov 9, 2018 at 4:18 AM Tho Nguyentran <tho.nguyentran at gmail.com>
wrote:
> If you want to use gps method, you should follow this guide
>
>
>
>
> http://hurel.hanyang.ac.kr/Geant4/Geant4_GPS/reat.space.qinetiq.com/gps/examples/ex31.html
>
>
>
> # the beam energy is in gaussian profile centered at 400 MeV
> /gps/ene/type Gauss
> /gps/ene/mono 400 MeV
> /gps/ene/sigma 50. MeV
>
>
>
>
>
> Nguyễn Trần Thọ
>
> www.pnt.edu.vn
>
>
>
>
>
> *From: *Andreas Tefre Samnøy <andreas.samnoy at gmail.com>
> *Sent: *Thursday, November 8, 2018 10:38 PM
> *To: *gate-users at lists.opengatecollaboration.org
> *Subject: *[Gate-users] cannot get gaussian energy distribution
>
>
>
> Hi everyone
>
>
>
> I am trying to make a simple proton beam where the energy distribution is
> Gaussian.
>
> 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.
>
> Can anybody tell me what is wrong in my code?
>
>
>
> /gate/source/addSource beam gps
> /gate/source/beam/gps/particle proton
> /gate/source/beam/gps/energytype Gauss
> /gate/source/beam/gps/energy 13 MeV
> /gate/source/beam/gps/sigmae 1 MeV
>
> /gate/source/beam/gps/type Beam
> /gate/source/beam/gps/shape Circle
> /gate/source/beam/gps/centre 0 0 900 mm
> /gate/source/beam/gps/radius 1 mm
>
> /gate/source/beam/gps/angtype iso
> /gate/source/beam/gps/mintheta 0 deg
> /gate/source/beam/gps/maxtheta 0 deg
> /gate/source/beam/gps/minphi 0 deg
> /gate/source/beam/gps/maxphi 360 deg
>
>
>
>
>
> Best Regards
>
> Andreas Tefre Samnøy
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20181109/059a32fd/attachment.html>
More information about the Gate-users
mailing list