[Gate-users] number of annihilation events

Simon Stute gate.stute at gmail.com
Wed Apr 4 11:18:36 CEST 2012


Hi,

If you use Gate_v6 at least, you can use the following command:

/gate/verbose Acquisition 1

It will print out on screen the number of primaries per source at the end
of the simulation.

Cheers,
Simon

On Wed, Apr 4, 2012 at 11:05 AM, Patay Gergely <patay.gergely at mediso.hu>wrote:

> Hi Imre,
>
> it might be an overkill, but you can dump _all_ the particle histories to
> stdout with the Geant command
> /tracking/verbose 2
>
> After that you can extract the annihilation events (or anything you want),
> e.g.
>
> Gate yourmacro.mac | grep "annihil" | wc -l
>
> (note that the massive I/O significantly slows down the simulation).
>
> cheers,
>
>  Gergely Patay
> -
>  Mediso Ltd, Hungary
>
>
>
>
>
> On 2012-03-30 12:37, Imre Lajtos wrote:
>
>> Hi, all
>>
>> I have simulated a PET system and a point source.
>> I would like to know the number of annihilation events in the phantom,
>> but the data outputs does not contain this information as I know.
>> Could anybody help me how can I reach this information from GATE?
>>
>> Regards,
>>
>> Imre Lajtos
>> Institute of Nuclear Medicine
>> University of Debrecen
>> 4032, Debrecen
>> Nagyerdei krt. 98
>> Hungary
>> ______________________________**_________________
>> Gate-users mailing list
>> Gate-users at lists.**opengatecollaboration.org<Gate-users at lists.opengatecollaboration.org>
>> http://lists.**opengatecollaboration.org/**mailman/listinfo/gate-users<http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>>
>>
> ______________________________**_________________
> Gate-users mailing list
> Gate-users at lists.**opengatecollaboration.org<Gate-users at lists.opengatecollaboration.org>
> http://lists.**opengatecollaboration.org/**mailman/listinfo/gate-users<http://lists.opengatecollaboration.org/mailman/listinfo/gate-users>
>


More information about the Gate-users mailing list