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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.5  
changed lines
  Added in v.5.1

  ViewVC Help
Powered by ViewVC 1.1.23