1 |
struct calibstruct{ |
2 |
|
3 |
unsigned short header[2]; |
4 |
unsigned short status[5]; |
5 |
unsigned short temp[8]; |
6 |
unsigned short DAC1[8]; |
7 |
unsigned short DAC2[8]; |
8 |
unsigned short regist[6]; |
9 |
unsigned short time[8]; |
10 |
unsigned short n_tr; |
11 |
unsigned short hitmap_tr[16]; |
12 |
unsigned short curve1[4096]; |
13 |
unsigned short curve2[4096]; |
14 |
unsigned short iCRC; |
15 |
unsigned short tail; |
16 |
unsigned short CRC; |
17 |
unsigned short CRCcheck; |
18 |
}; |
19 |
|
20 |
struct physicsstruct{ |
21 |
|
22 |
unsigned short header[2]; |
23 |
unsigned short status; |
24 |
unsigned short hitmap; |
25 |
unsigned short regist[6]; |
26 |
unsigned short shift[16]; |
27 |
unsigned short counters[16]; |
28 |
unsigned short coinc[8]; |
29 |
unsigned short trigg; |
30 |
unsigned short clock[2]; |
31 |
unsigned short temp[2]; |
32 |
unsigned short DAC[8]; |
33 |
unsigned short CRC; |
34 |
unsigned short CRCcheck; |
35 |
}; |
36 |
|
37 |
|
38 |
|