1 |
#ifndef CALIB2_AC2_EVENT_H |
2 |
#define CALIB2_AC2_EVENT_H |
3 |
|
4 |
#include "SubPacket.h" |
5 |
|
6 |
namespace pamela { |
7 |
/** |
8 |
* Calib2_Ac2Event data Wrapper. |
9 |
* |
10 |
* The pamela::Calib2_Ac2Event represents the Calib2_Ac2 packet generated by the PAMELA CPU software. |
11 |
* Other info you consider meaningfull for the packet |
12 |
*/ |
13 |
class Calib2_Ac2Event: public pamela::SubPacket { |
14 |
private: |
15 |
|
16 |
public: |
17 |
|
18 |
/** |
19 |
* The header of ???. |
20 |
* Each element represent ......etc..etc.. |
21 |
*/ |
22 |
UINT16 header[2]; |
23 |
|
24 |
/** |
25 |
* The status of ???. |
26 |
* Each element represent ......etc..etc.. |
27 |
*/ |
28 |
UINT16 status[5]; |
29 |
|
30 |
// and so on...... |
31 |
UINT16 temp[8]; |
32 |
UINT16 DAC1[8]; |
33 |
UINT16 DAC2[8]; |
34 |
UINT16 regist[6]; |
35 |
UINT16 time[8]; |
36 |
UINT16 n_tr; |
37 |
UINT16 hitmap_tr[16]; |
38 |
UINT16 curve1[4096]; |
39 |
UINT16 curve2[4096]; |
40 |
UINT16 iCRC; |
41 |
UINT16 tail; |
42 |
UINT16 CRC; |
43 |
UINT16 CRCcheck; |
44 |
UINT16 ERROR; |
45 |
|
46 |
Calib2_Ac2Event(void); |
47 |
|
48 |
|
49 |
|
50 |
ClassDef(Calib2_Ac2Event, 1) |
51 |
}; |
52 |
} |
53 |
|
54 |
#endif /* CALIB2_AC2_EVENT_H */ |
55 |
|