Parent Directory | Revision Log
Imported sources, 23/09/2008
1 | mocchiut | 1.1 | /** @file |
2 | * $Source: /repository/event/physics/S4/S4Event.h,v $ | ||
3 | * $Id: S4Event.h,v 1.1 2008-01-11 17:14:22 messineo Exp $ | ||
4 | * $Author: messineo $ | ||
5 | * | ||
6 | * Header file for the raw anticoincidence events | ||
7 | */ | ||
8 | #ifndef S4_EVENT_H | ||
9 | #define S4_EVENT_H | ||
10 | |||
11 | #include "../../SubPacket.h" | ||
12 | |||
13 | namespace pamela { | ||
14 | /** | ||
15 | * Namespace for all code related to the S4 unit. | ||
16 | */ | ||
17 | namespace S4 { | ||
18 | /** | ||
19 | * S4 subpacket data wrapper. | ||
20 | */ | ||
21 | class S4Event: public pamela::SubPacket { | ||
22 | private: | ||
23 | |||
24 | public: | ||
25 | |||
26 | /** | ||
27 | * The register status. | ||
28 | */ | ||
29 | UINT8 S4_REG_STATUS; | ||
30 | |||
31 | /** | ||
32 | * The data. | ||
33 | */ | ||
34 | UINT16 S4_DATA; | ||
35 | |||
36 | /** | ||
37 | * The Command number. | ||
38 | */ | ||
39 | UINT8 S4_CMD_NUM; | ||
40 | |||
41 | /** | ||
42 | * The response length. | ||
43 | */ | ||
44 | UINT16 S4_RESP_LENGHT; | ||
45 | |||
46 | /** | ||
47 | * The overall crc. | ||
48 | */ | ||
49 | UINT8 S4_OVERALL_CHKCODE; | ||
50 | |||
51 | /** | ||
52 | * The data validity flag. | ||
53 | * | ||
54 | * Description: <BR> | ||
55 | * 1: S4 data NOT found. <BR> | ||
56 | * 0: S4 data ok. <BR> | ||
57 | */ | ||
58 | UINT8 unpackError; | ||
59 | |||
60 | S4Event(void); | ||
61 | ~S4Event(void); | ||
62 | |||
63 | ClassDef(S4Event, 2) | ||
64 | }; | ||
65 | } | ||
66 | } | ||
67 | #endif /* S4_EVENT_H */ |
ViewVC Help | |
Powered by ViewVC 1.1.23 |