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.