[Gate-users] Can't use IAEA phase space

Grevillot Loic loic.grevillot at medaustron.at
Mon Oct 27 09:15:16 CET 2014


Hi David,

For phase spaces, I would suggest to use root format instead of IAEA (just change the output to .root).
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!

Sincerely,
Loïc




From: gate-users-bounces at lists.opengatecollaboration.org [mailto:gate-users-bounces at lists.opengatecollaboration.org] On Behalf Of David Watts
Sent: Mittwoch, 22. Oktober 2014 11:53
To: gate-users at lists.opengatecollaboration.org
Subject: [Gate-users] Can't use IAEA phase space

Hi Gate community,

I'm doing some tests recently with Phase Spaces. In particular, I'm trying to generate a IAEA Phase Space.

I've just had the error, "src/GatePhaseSpaceActor.cc (l.267): Actor phase space: particle not available in IAEA format."

This is odd because I am generating a beam of protons using the gps source... like this:
                /gate/source/addSource PBS-source gps
                /gate/source/PBS-source/gps/particle proton
                /gate/source/PBS-source/gps/pos/type Beam
                /gate/source/PBS-source/gps/pos/rot1 0 1 0
                /gate/source/PBS-source/gps/pos/rot2 1 0 0
                /gate/source/PBS-source/gps/pos/shape Circle
                /gate/source/PBS-source/gps/pos/centre 0 0 0 mm
                /gate/source/PBS-source/gps/pos/sigma_x 0.5 mm
                /gate/source/PBS-source/gps/pos/sigma_y 0.5 mm
                /gate/source/PBS-source/gps/ene/mono 70 MeV
                /gate/source/PBS-source/gps/ene/sigma 0 MeV
                /gate/source/PBS-source/gps/ene/type Gauss
                /gate/source/PBS-source/gps/direction 0 0 1
                /gate/application/setTotalNumberOfPrimaries 10000

If I change the second line to 'e-' , the simulation runs fine, and the output IAEA PS is generated (along with the header file).

Can someone help please? I'm running the GATE virtual image "vGATE_2.0.vdi" on Virtual Box

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!


Cheers,
Dave.
Disclaimer:
Please notice our E-Mail Disclaimer http://www.medaustron.at/email-disclaimer/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141027/b0d9215a/attachment.html>
-------------- next part --------------
An embedded message was scrubbed...
From: Stathis Kamperis <ekamperi at gmail.com>
Subject: Re: [Gate-users] Unable to use phase space file from IAEA with Gate	6.2
Date: Sun, 9 Mar 2014 12:17:45 +0000
Size: 10481
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20141027/b0d9215a/attachment.mht>


More information about the Gate-users mailing list