GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » NUSTAR » NUSTAR PRESPEC » prespec git updates (Post here if you pushed your changes to the agatagsi@lx-pool.gsi.de:git/prespec repository and you want to make everybody aware of the new features you added)
Re: prespec git updates [message #17194 is a reply to message #17158] Tue, 19 August 2014 17:18 Go to previous messageGo to previous message
miree is currently offline  miree
Messages: 71
Registered: June 2014
continuous participant
From: *gsi.de
Added two small programs to the repository.
They extract the first and last GTS timestamp in an lmd file (written by MBS system) or from the set of all psa_*.adf files in a NARVAL run folder. These tools can be used to verify if you're pairing the correct lmd file with a given NARVAL run.

they are located in the prespec/tools subdirectory and are installed when typing "make install" together with the preplay program.

use like this (for lmd files)
gts_timestamps_mbs /d/rising02/feb_14/data/Fe56_coulex_ar3_0106.lmd > /dev/null

outputs:
/d/.../Fe56_coulex_ar3_0106.lmd    < Mon Feb 24 07:12:56 2014>        23270254723987       23375015876804


use like this (for adf files)
gts_timestamps_adf /SAT/hera/gamma/AGATAdata/040414_bentley/run_0011_46Ti_coulex/Data/

outputs:
/SAT/../Data/                       <Sat Apr  5 03:50:07 2014 >        5630037697086        7425940419075



The first/last number is the first/last GTS timestamp in the file/folder.
Yes, these numbers are large! They count the number of 10ns GTS time-ticks since the start of the GTS system.
By looking at them you can see if time ranges of two event sources do overlap or not.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multihit TDCs in the PreSPEC setup (CAENv1290)
Next Topic: LYCCA ToF scintillators
Goto Forum:
  


Current Time: Wed Apr 24 18:24:21 CEST 2024

Total time taken to generate the page: 0.00751 seconds