[Gate-users] Timing window problems

David Guez davguez at free.fr
Thu Nov 9 22:29:00 CET 2006


Pedro Guerra a écrit :
> Hi,
> During the workshop held at the MIC conference San Diego, some of the 
> attendees
> raised the question of some problems with the timing window. I wonder 
> whether they
> could elaborate more on that...as this question ringed me some bells 
> ... and I seem to observe
> a similar problem. My event timing difference is ok on the negative 
> side (time1-time2 negative) but on the
> right side (time1-time2) I get coincidences with time differences 
> bigger than the coincidence window.
>
> I have a system with around 60ns timing resolution and 50ns timing 
> windows.
>
> Best regards,
>
>
>
> Pedro Guerra Gutierrez
> Laboratorio de Tecnologias en Imagen Medica
> Dto. Ingenieria Electronica
> Universidad Politecnica de Madrid
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.healthgrid.org
> http://lists.healthgrid.org/mailman/listinfo/gate-users
Hi,
Effectively, the coincidenceSorter code is assuming that the events are 
coming in ascending time order.
May be you can try to change the file src/GateCoincidencePulse.cc, line 
73-77
to somthing like
  return    ( size()==0 )|| (  
abs(newPulse->GetTime()-m_startTime)<m_coincidenceWindow)

note that, in this case, the offset parameter will no longer be taken 
into account.
I didn't try it, but it could works... please let me know if this is ok.

Cheers,

D. Guez
-------------- next part --------------
A non-text attachment was scrubbed...
Name: davguez.vcf
Type: text/x-vcard
Size: 173 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20061109/dda80658/attachment.vcf>


More information about the Gate-users mailing list