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 |
kusanagi |
2.1 |
/*! parametro header*/ |
15 |
kusanagi |
2.2 |
unsigned short header[2]; |
16 |
kusanagi |
2.1 |
/*! parametro status*/ |
17 |
kusanagi |
2.2 |
unsigned short status[2][5]; |
18 |
|
|
unsigned short temp[2][8]; |
19 |
|
|
unsigned short DAC1[2][8]; |
20 |
|
|
unsigned short DAC2[2][8]; |
21 |
|
|
unsigned short regist[2][6]; |
22 |
|
|
unsigned short time[2][8]; |
23 |
|
|
unsigned short n_tr[2]; |
24 |
|
|
unsigned short hitmap_tr[2][16]; |
25 |
|
|
unsigned short curve1[2][4096]; |
26 |
|
|
unsigned short curve2[2][4096]; |
27 |
|
|
unsigned short iCRC[2]; |
28 |
|
|
unsigned short tail[2]; |
29 |
|
|
unsigned short CRC[2]; |
30 |
|
|
unsigned short ERROR; |
31 |
kusanagi |
1.2 |
|
32 |
|
|
|
33 |
kusanagi |
1.1 |
CalibAcEvent(void); |
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
ClassDef(CalibAcEvent, 1) |
38 |
|
|
}; |
39 |
|
|
} |
40 |
|
|
|
41 |
|
|
#endif /* CALIBAC_EVENT_H */ |
42 |
|
|
|