/[PAMELA software]/yoda/event/physics/S4/S4Event.h
ViewVC logotype

Annotation of /yoda/event/physics/S4/S4Event.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5.0 - (hide annotations) (download)
Mon Aug 29 09:46:12 2005 UTC (19 years, 3 months ago) by kusanagi
Branch: MAIN
CVS Tags: YODA5_0/00, YODA5_0/01, YODA5_0/02
Changes since 4.5: +1 -1 lines
File MIME type: text/plain
Starting form this version:
1) includes are defined with relative (not absolute) path respect to the YODA aplication
2) RegistryEvent class is foreseen to contain post-unpack data.

1 kusanagi 1.1 /** @file
2     * $Source: /home/cvsmanager/yoda/event/physics/S4/S4Event.h,v $
3 kusanagi 5.0 * $Id: S4Event.h,v 4.5 2005/08/29 08:27:35 kusanagi Exp $
4 kusanagi 1.1 * $Author: kusanagi $
5     *
6     * Header file for the raw anticoincidence events
7     */
8     #ifndef S4_EVENT_H
9     #define S4_EVENT_H
10    
11 kusanagi 4.5 #include "../../SubPacket.h"
12 kusanagi 1.1
13     namespace pamela {
14     /**
15 kusanagi 4.1 * Namespace for all code related to the S4 unit.
16 kusanagi 1.1 */
17     namespace S4 {
18     /**
19 kusanagi 4.1 * S4 subpacket data wrapper.
20 kusanagi 1.1 */
21     class S4Event: public pamela::SubPacket {
22     private:
23    
24     public:
25    
26 kusanagi 4.1 /**
27     * The register status.
28     */
29 kusanagi 1.3 UINT8 S4_REG_STATUS;
30 kusanagi 4.1
31     /**
32     * The data.
33     */
34 kusanagi 1.3 UINT16 S4_DATA;
35 kusanagi 4.1
36     /**
37     * The Command number.
38     */
39 kusanagi 1.3 UINT8 S4_CMD_NUM;
40 kusanagi 4.1
41     /**
42     * The response length.
43     */
44 kusanagi 1.3 UINT16 S4_RESP_LENGHT;
45 kusanagi 4.1
46     /**
47     * The overall crc.
48     */
49 kusanagi 1.3 UINT8 S4_OVERALL_CHKCODE;
50 kusanagi 4.1
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 kusanagi 1.4 UINT8 unpackError;
59 kusanagi 1.1
60     S4Event(void);
61     ~S4Event(void);
62    
63 kusanagi 1.5 ClassDef(S4Event, 2)
64 kusanagi 1.1 };
65     }
66     }
67     #endif /* S4_EVENT_H */

  ViewVC Help
Powered by ViewVC 1.1.23