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