Trigger match problems
Contents
Missing trailer word[edit | edit source]
File:SubRUN 449 GEMROC 6 TM.datout.txt
Packets mismatch[edit | edit source]
TIGER 4-5-6-7 (3rd and 4th FEB for each GEMROC) suffers from packets mismatch: at certain point during acquisition data coming from these TIGER is sent in the next packet w.r.t. data coming from TIGER 0-1-2-3; this offset is present until the acquisition is reset and a new run or subrun is started. A temporary fix has been implemented in "decode.py" to address this mismatch and restore the correct packets content.
Patch description[edit | edit source]
The program checks if the difference of the hit tcoarse with respect to the L1 timestamp is within the interval [1300-1570] or lower than -64240 or larger than -63960 (to take into account counters roll-over) clock hits. If the hit is within the interval, it is accepted. If not, the L1 count is set to previous value and the difference with respect to the precedent L1 timestamp. Then the check is performed again.
Moreover, a correction for the roll-over is applied, by adding 2^16 to the difference previously calculated if it is negative.
Several runs have been checked after the application of this patch and data seems to be always stored with the correct time reference (l1ts_min_tcoarse).
"Spurious" test-pulses[edit | edit source]
During the tests for the measurement of the Trigger-Matched rate we sent digital TPs to channel 62 of all TIGERs. The number of TP was set to one per frameword (i.e. 2 TP per Tcoarse cycle, 2^16 TIGER clocks).
Plotting the Tcoarse distribution we observe 2 peaks corresponding to the 2 TPs per Tcoarse cycle plus other small peaks. If we take only the entries from the 2 peaks the measured rate is compatible with the expected one. But if we consider all registered TPs, also the ones from the other peaks, this provides a measured rate higher than expected.
Hits with all zeros[edit | edit source]
1100010000000000000000000000000100010110100000011111110110110000 HEADER : STATUS BIT[2:0]: 1: LOCAL L1 COUNT: 00000056 HitCount: 81 LOCAL L1 TIMESTAMP: FDB0; Diff w.r.t. previous L1_TS: 396.543750 us 0000111111110001111110000010000100000011101100100101100101011000 DATA : TIGER: 1 L1_TS - TIGERCOARSE_TS: 1423 LAST TIGER FRAME NUM[2:0]: 7 TIGER DATA: ChID [base10]: 60 tacID: 1 Tcoarse: F821 Ecoarse: 03B Tfine: 0150 Efine: 344 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 0000000000000000000000000000000000000000000000000000000000000000 DATA : TIGER: 0 L1_TS - TIGERCOARSE_TS: 64944 LAST TIGER FRAME NUM[2:0]: 0 TIGER DATA: ChID [base10]: 0 tacID: 0 Tcoarse: 0000 Ecoarse: 000 Tfine: 0000 Efine: 0 1110000011010011000110000000110000111101000000000000000000000000 TRAILER: LOCAL L1 FRAMENUM [23:0]: 0698C0: GEMROC_ID: 0C TIGER_ID: 7 LOCAL L1 COUNT[2:0]: 5 LAST COUNT WORD FROM TIGER:CH_ID[5:0]: 00 LAST COUNT WORD FROM TIGER: DATA[17:0]: 00000 0100110011000000000000000000000010100000000000000000000001010110 UDP_SEQNO: GEMROC_ID: 0C UDP_SEQNO_U48: 000000000056 STATUS BIT[5:3]:6