DAQ trailer Evt_length incorrect
Dear Ph2_ACF experts,
It seems that since commit 560db2f7, the size of the payload is no longer increased to take into account the DAQ trailer and the Evt_lgth information (= the payload size) is incorrectly computed by SLinkEvent.cc.
Was this change intended? The event length in the trailer is now equal to the total size - 1.
In the following event example produced by an 8CBC + CIC2, we can see that there are 0x2e words, but that the size is declared as 0x2d in the trailer.
1| 5100 0000 f4d0 3300
2| 26c0 0000 0000 0800
3| 0000 0000 0000 0001
4| 2c20 12c2 012c 2012
5| c201 2c20 12c2 012c
6| 2012 c201 0000 0000
7| 00ff 0380 0003 0000
8| 0000 0000 0000 0000
[words 0x9 to 0x26 are all null]
27| 0000 0000 0000 0000
28| 1010 0404 8800 0000
29| 0000 0000 0000 0004
2a| 0000 4f01 0000 0026
2b| 0000 0080 0000 0000
2c| 0020 0005 0000 00fa
2d| ff00 0003 0000 0000
2e| a000 002d 98b8 0070
Cheers, Martin