[Gate-users] Total hit or singles for all crystals

Priegnitz, Marlen m.priegnitz at fzd.de
Sat Mar 20 12:21:24 CET 2010


Hi,

I don't know, if there is another way to find the solution you want.
Maybe anybody else has an idea?
I suppose, that also in the root-files the information about volume IDs are 
stored. Thus it also should be possible to "count" the hits or singles there. 
These files are not so huge. But I'm not so familiar with root-programming, so 
I cannot help you with this.
Of course, with "count" I don't mean counting by hand, but automated with some 
self-written routine in any programming language you know.
And this should be also possible with ASCII-files.
But maybe another GATE-user has a better idea.

Kind regards,
Marlen



Am Fri, 19 Mar 2010 16:02:21 +0500 schrieb sujoy at veccal.ernet.in:
> Thank you Marlen for your suggestion. But if the run is huge, then the ascii 
>file becomes very large and in such a case, it can be erroneous to find each 
>pixel with no of hits. Is there a way atleast to find the total energy energy 
>dep after the run completes.  
> 
> With Regards,
> S. Chatterjee
> Scientific Officer,
> TLD Unit, BARC
> Variable Energy Cyclotron Centre,
> 1/AF, Bidhannagar,Kolkata-64
> Off:+91-33-23184207
>Fax:+91-33-23346871
> 
> ----- Original Message -----
>From: Marlen Priegnitz <m.priegnitz at fzd.de>
> Date: Friday, March 19, 2010 4:12 pm
> Subject: Re: [Gate-users] Total hit or singles for all crystals
> 
>> 
>> Dear S. Chatterjee,
>> 
>> as far as I know, in the ASCII-output you get the volume-IDs. They 
>> identify, in which crystal the hit or single occurred. Thus, you 
>> "only" 
>> need to count the hits/singles for each crystal, i.e. for each 
>> possible 
>> volume-ID-combination.
>> 
>> Hope I understood your question correct and this is a little helpful.
>> Marlen
>> 
>> 
>> sujoy at veccal.ernet.in wrote:
>> > Dear Gate experts,
>> > I am a new Gate user. I have installed Gate v 5. I have made the 
>> geometry and all for my SPECT system, which is having pixel crystal 
>> of 16 x 16 array. Each crystal is of dimension 2.7 x 2.7 x 10 mm. 
>> Now I want to collect the total no of hits or singles (even energy 
>> dep will do) for all the crystals for a period of run. I have read 
>> the manual, but all I can get in my ascii output is only the energy 
>> dep due to each gamma photon interaction in each pixels. I am 
>> attaching the macros and the ascii output file for reference. But I 
>> think, I am able to get it in my root output. The same thing I want 
>> for my ascii output. 
>> > 
>> > With Regards,
>> > S. Chatterjee
>> > Scientific Officer,
>> > TLD Unit, BARC
>> > Variable Energy Cyclotron Centre,
>> > 1/AF, Bidhannagar,Kolkata-64
>> > Off:+91-33-23184207
>> > Fax:+91-33-23346871
>> > 
>> > 
>> > ------------------------------------------------------------------
>> ------
>> > 
>> > _______________________________________________
>> > Gate-users mailing list
>> > Gate-users at lists.opengatecollaboration.org
>> > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>> 
>> -- 
>> Marlen Priegnitz                    |  Forschungszentrum
>> Tel. : 0351/260 3307                |    Dresden-Rossendorf e.V.
>> Fax  : 0351/260 3700                |  Postfach 510119
>> Email: m.priegnitz at fzd.de           |  D-01314 Dresden
>> --------------------------------------------------------------------
>> ----
>> 
>> 
> 



More information about the Gate-users mailing list