1 |
kusanagi |
1.1 |
#ifndef CALIBAC_EVENT_H |
2 |
|
|
#define CALIBAC_EVENT_H |
3 |
|
|
|
4 |
|
|
#include "SubPacket.h" |
5 |
|
|
|
6 |
|
|
namespace pamela { |
7 |
|
|
/** |
8 |
|
|
* Information events about the CalibAc. |
9 |
|
|
*/ |
10 |
|
|
class CalibAcEvent: public pamela::SubPacket { |
11 |
|
|
private: |
12 |
|
|
|
13 |
|
|
public: |
14 |
|
|
|
15 |
|
|
unsigned short header; |
16 |
|
|
unsigned short status[5]; |
17 |
|
|
unsigned short temp[8]; |
18 |
kusanagi |
1.2 |
unsigned short DAC1[8]; |
19 |
|
|
unsigned short DAC2[8]; |
20 |
kusanagi |
1.1 |
unsigned short regist[6]; |
21 |
|
|
unsigned short time[8]; |
22 |
|
|
unsigned short n_tr; |
23 |
|
|
unsigned short hitmap_tr[16]; |
24 |
|
|
unsigned short curve1[4096]; |
25 |
|
|
unsigned short curve2[4096]; |
26 |
kusanagi |
1.2 |
unsigned short iCRC; |
27 |
kusanagi |
1.1 |
unsigned short tail; |
28 |
|
|
unsigned short CRC; |
29 |
kusanagi |
1.2 |
|
30 |
|
|
|
31 |
kusanagi |
1.1 |
CalibAcEvent(void); |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
ClassDef(CalibAcEvent, 1) |
36 |
|
|
}; |
37 |
|
|
} |
38 |
|
|
|
39 |
|
|
#endif /* CALIBAC_EVENT_H */ |
40 |
|
|
|