[Gate-users] source definition

j.hartmann at dkfz-heidelberg.de j.hartmann at dkfz-heidelberg.de
Wed Jan 31 09:27:48 CET 2007

Hello Gate users,
I have a problem with my ion source. Until now, I used the 2gamma source and
everything worked fine.
But when I try to define my source as ion source, it seems that something
doesn`t work: I can`t see any gammas being emitted from the source during the
simulation and my coincidence file is empty. Could anybody tell me what`s wrong
with the following code:

/gate/source/addSource fluor18
/gate/source/fluor18/gps/particle ion
/gate/source/fluor18/gps/ion 9 18 0 0
/gate/source/fluor18/setActivity 500. becquerel
/gate/source/fluor18/gps/energytype Mono
/gate/source/fluor18/gps/monoenergy 0. eV
/gate/source/fluor18/setForcedUnstableFlag true
/gate/source/fluor18/setForcedHalfLife 6586 s
/gate/source/fluor18/gps/angtype iso
/gate/source/fluor18/gps/mintheta 0. deg
/gate/source/fluor18/gps/maxtheta 180. deg
/gate/source/fluor18/gps/minphi 0. deg
/gate/source/fluor18/gps/maxphi 360. deg
/gate/source/fluor18/gps/type Point
/gate/source/fluor18/gps/centre 0. 0. 0. cm
/gate/source/fluor18/gps/confine NULL

I have also tried to create a simple particle source, but that didn`t work
either. I could see that gammas were emitted from the source, but the program
crashed after few seconds. This is the code for the positron source:

/gate/source/addSource F18
/gate/source/F18/setActivity 500. becquerel
/gate/source/F18/gps/particle e+
/gate/source/F18/setForcedUnstableFlag true
/gate/source/F18/setForcedHalfLife 6586 s 
/gate/source/F18/gps/energytype Fluor18
/gate/source/F18/gps/type Point
/gate/source/F18/gps/angtype iso
/gate/source/F18/gps/centre 0. 0. 0. cm
/gate/source/F18/gps/confine NULL

It would be great if anyone could help me with that!

More information about the Gate-users mailing list