[Gate-users] Unable to use phase space file from IAEA with Gate 6.2
Stathis Kamperis
ekamperi at gmail.com
Fri Mar 7 22:26:42 CET 2014
Greetings everyone,
I downloaded it from here:
https://www-nds.iaea.org/phsp/photon1/
ELEKTA_PRECISE_6mv_part1.IAEAphsp and its associated header
ELEKTA_PRECISE_6mv_part1.IAEAheader
When I try to use it from within Gate with:
/gate/source/addSource mybeam phaseSpace
/gate/source/mybeam/addPhaseSpaceFile
/home/stathis/Downloads/ELEKTA_PRECISE_6mv_part1.IAEAphsp
I get the following error:
/home/stathis/Downloads/gate_v6.2/source/physics/src/GateSourcePhaseSpace.cc
(l.252): Source phase space: particle not available in IAEA phase
space format.
I checked the source code:
http://www.opengatecollaboration.org/lxr/source/6.2.0/source/physics/src/GateSourcePhaseSpace.cc#L231
and it appears as if Gate can't recognize some particle type that the
header file is including. But,
https://www-nds.iaea.org/phsp/photon1/ELEKTA_PRECISE_6mv_part1.IAEAheader
has only photons, electrons, positrons that Gate should recognize.
Any thoughts?
Best regards,
Stathis
More information about the Gate-users
mailing list