GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » MVD » Timestamp devlopment
Timestamp devlopment [message #11166] Fri, 05 November 2010 13:19
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *pool.mediaWays.net
Hello all,

Recently there were changes to the timestamp handling in the SDS code.

First of all I'd like to say that I appreciate the Idea of a common time stamp generation.

However the technical solution is chosen unlucky since it affects other parts of the code.

For my understanding the timestamp is an integer counting the numbers of clock cycles. Via the clock frequency we should be able to calculate the actual time in ns. This gives the advantage to digidize in time bins and add another coordinate to the strip & col/row information. For the strip part we hope to be able to reduce ghost hits furter by clusterfinding also in time.
Technically SdsDigi now switched to a double time information, causig warnings when passing this to integers. The conversion to integer also just chops the time to some integer in ns.

I think it is better to add a parametrizable clock to FairTimeStamp (or inherit from there) and the conversion forth and back. SdsDigi should then only know of the stamp, not the time.

Any opinions?

Regards.
Ralf
 
Read Message
Previous Topic: Operation of MVD at interaction point
Next Topic: Segmentation Fault - MVD digitization
Goto Forum:
  


Current Time: Mon Oct 14 20:19:07 CEST 2024

Total time taken to generate the page: 0.00809 seconds