I simulated a PET scanner in which I placed two point sources.
In my macro file, I created now two different sources: one FDG source and one Na source:
/gps/ion 9 18 0 0 # F-18
/gps/energy 0
/gps/pos/type Volume
/gps/pos/shape Cylinder
/gps/pos/centre 6 10 0
/gps/pos/radius 1 mm
/gps/pos/halfz 0 mm
/gps/ang/type iso
/gps/source/add 5
/gps/particle ion
/gps/ion 11 22 0 0 # Na22
/gps/energy 0 keV
/gps/pos/type Volume
/gps/pos/shape Cylinder
/gps/pos/centre 0 0 0
/gps/pos/radius 1 mm
/gps/ang/type iso
When I run my program with this macro, I get correct results (I can reconstruct my image and obtain the sources at the right position).
However, in my event action file I would need to know which source is at the moment ‘active’. So from each source the current event is coming from. Is there a possibility to do so?
Thanks in advance,
Elisabeth