[gate-users] Using local efficiency coomand
Schmidtlein, Ross/Sloan-Kettering Institute
schmidtr at mskcc.org
Mon Mar 6 17:40:20 CET 2006
Hi Sophie,
Thanks for the help. I have tried one number per line and I am still
getting the error. Here is what my input looks like:
/gate/distributions/name efficiency
/gate/distributions/insert yourFile
/gate/distributions/efficiency/autoX true
/gate/distributions/efficiency/setFileName yourfile.dat
/gate/distributions/efficiency/read
/gate/digitizer/Singles/insert localEfficiency
/gate/digitizer/Singles/localEfficiency/disableLevel 1
/gate/digitizer/Singles/localEfficiency/enableLevel 2
/gate/digitizer/Singles/localEfficiency/setEfficiency efficiency
My file is then entered as (this gets me the smallest number of
warnings):
0.8044 1
0.8271 2
And so on from 1 to 36.
I've tried this and several other variations and error I am getting is:
[GateLocalEfficiency::ProcessOnePulse]Warning : vector size is modified
(from 0 to 6) and set all entries to 0
I tried to look at the source code to see why this Warning was being
called but I'm still not sure what's going on.
Thanks,
ross
-----Original Message-----
From: gate-users-bounces at lphe1pet1.epfl.ch
[mailto:gate-users-bounces at lphe1pet1.epfl.ch] On Behalf Of Sophie
Kerhoas
Sent: Monday, March 06, 2006 4:41 AM
To: GATE feedback and helpline for Users
Subject: Re: [gate-users] Using local efficiency coomand
Hi Ross,
The format of this ascii file is always one number per line and if you
want to enter individual crystal efficiency for each block, you enter
the numbers, block after block: For example: 4 crystal per block and 2
blocks: 0.98 block 1 crystal 1 0.95 block 1 crystal 2 0.92 block 1
crystal 3 0.97 block 1 crystal 4 0.93 block 2 crystal 1 0.96 block 2
crystal 2 0.97 block 2 crystal 3 0.98 block 2 crystal 4
and in the digitizer, you must specify at which level of your system you
will define local efficiency. Here I suppose that blocks are attached to
the level 1 and crystals are attacehd to the level 2.
/gate/distributions/name efficiency
/gate/distributions/insert yourFile /gate/distributions/efficiency/autoX
true /gate/distributions/efficiency/setFileName yourfile.dat
/gate/distributions/efficiency/read
/gate/digitizer/Singles/insert localEfficiency
/gate/digitizer/Singles/localEfficiency/enableLevel 1
/gate/digitizer/Singles/localEfficiency/enableLevel 2
/gate/digitizer/Singles/localEfficiency/setEfficiency efficiency
a bientot,
perhaps in Delft...
Sophie
On Fri, 2006-03-03 at 16:57 -0500, Schmidtlein, Ross/Sloan-Kettering
Institute wrote:
> What is the format for that file for a
> block of detectors that has 36 crystals?
>
--
Sophie Kerhoas <skerhoas at cea.fr>
_______________________________________________
gate-users mailing list
gate-users at lphe1pet1.epfl.ch
http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
More information about the Gate-users
mailing list