Buffer structure
Raw data
header | #ligne |
ca fe ba be | 0 0 0 4 |
GTC (2 bytes) | ABCID (6 bytes) |
0 1 | 0 7 23 19 f0 9 |
channel | BCID | coarse (4 bytes 2.5 ns) | fine (2.5 ns/256) |
e | 0 2 | 8 7c 22 6 | 38 |
10 | 0 7 | 8 7c 23 95 | 9d |
2 | 0 2 | 8 7c 21 ff | f4 |
File Payload Structure
itemp[0]=_event;
itemp[1]=_gtc;
ltemp[1]=_abcid;
itemp[4]=_mezzanine;
itemp[5]=_adr;
itemp[6]=_channels.size();
// and then list of channels in 8 bytes structure
channel | BCID | coarse (4 bytes 2.5 ns) | fine (2.5 ns/256) |
e | 0 2 | 8 7c 22 6 | 38 |
10 | 0 7 | 8 7c 23 95 | 9d |
2 | 0 2 | 8 7c 21 ff | f4 |