Binary to dump TSA file using flestool TS and MS formatters
Add a new binary to dump a tsa file to the console.
This makes use of existing dumpers/formatters and revives/replaces the old dumper which was lost at some point between the first DPB beamtimes and the mCBM analysis with CRI
Usage:
<path to CbmRoot bin>/tsadump -f <Full path to the TSA file> [-n <number of timeslices>]
The default number of timeslices is 0
which dumps the full file.
Example:
~/pal_tests$ ./cbmroot_master/build/bin/tsadump -f 3231_node10_00_0000.tsa -n2
[INFO] Calling string constructor with
[INFO] 3231_node10_00_0000.tsa
[INFO] =====================================
Timeslice 0 with 1 components x 100 core microslices (+ 1 overlap) = 101
microslice size min/avg/max: 8 / 8 / 8 bytes
Core Microslices for component 0
hi hv eqid flag si sv idx/start crc size offset
dd 01 3001 0000 30 03 180c1ce455788000 00000000 00000008 0000000000000000
Microslice buffer content:
0xe41c0c18 0x00807855
----------------------------------------------
hi hv eqid flag si sv idx/start crc size offset
dd 01 3001 0000 30 03 180c1ce4558c0800 00000000 00000008 0000000000000080
Microslice buffer content:
0xe41c0c18 0x00088c55
----------------------------------------------
[...]
----------------------------------------------
hi hv eqid flag si sv idx/start crc size offset
dd 01 3001 0000 30 03 180c1ce45d061800 00000000 00000008 0000000000003180
Microslice buffer content:
0xe41c0c18 0x0018065d
----------------------------------------------
Overlap Microslices for component 0
hi hv eqid flag si sv idx/start crc size offset
dd 01 3001 0000 30 03 180c1ce45d19a000 00000000 00000008 0000000000003200
Microslice buffer content:
0xe41c0c18 0x00a0195d
----------------------------------------------
**********************************************
[INFO] =====================================
Timeslice 1 with 1 components x 100 core microslices (+ 1 overlap) = 101
microslice size min/avg/max: 8 / 8 / 8 bytes
Core Microslices for component 0
hi hv eqid flag si sv idx/start crc size offset
dd 01 3001 0000 30 03 180c1ce45d19a000 00000000 00000008 0000000000003200
Microslice buffer content:
0xe41c0c18 0x00a0195d
----------------------------------------------
[...]
[INFO] Requested number of TS reached; stopping there. Dumped 2 TS
~/pal_tests$
~/pal_tests$
~/pal_tests$
~/pal_tests$ ./cbmroot_master/build/bin/tsadump -f 3231_node10_00_0000.tsa
[INFO] Calling string constructor with
[INFO] 3231_node10_00_0000.tsa
[...]
[INFO] End of archive reached; stopping there. Dumped 128 TS
Of interest to @d.emschermann