[Gate-users] source definition

Susana Silva susana.silva at fc.ul.pt
Wed Jan 31 12:36:25 CET 2007


Hi Julia,

You could test this patch:

In GateDecayPhysics, after line #72, insert the following line:

theIonTable->GetParticle(i)->SetAtomicMass(1);     // GEANT4 Bug Fix #846

Cheers,

Susana


-----Original Message-----
From: gate-users-bounces at lists.healthgrid.org on behalf of j.hartmann at dkfz-heidelberg.de
Sent: Wed 1/31/2007 8:27
To: Gate users
Subject: [Gate-users] source definition
 
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!
Julia
_______________________________________________
Gate-users mailing list
Gate-users at lists.healthgrid.org
http://lists.healthgrid.org/mailman/listinfo/gate-users




More information about the Gate-users mailing list