/[PAMELA software]/yoda/event/mcmd/McmdRecord.h
ViewVC logotype

Diff of /yoda/event/mcmd/McmdRecord.h

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

revision 2.2 by kusanagi, Thu Jan 13 14:45:45 2005 UTC revision 4.1 by kusanagi, Sat May 7 08:48:52 2005 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $   * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3   * $Id: McmdRecord.h,v 2.1 2004/12/03 22:04:30 kusanagi Exp $   * $Id: McmdRecord.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the McmdRecord class.   * Header file for the McmdRecord class.
# Line 14  Line 14 
14  namespace pamela {  namespace pamela {
15    /**    /**
16     * McmdRecord data Wrapper     * McmdRecord data Wrapper
17       *
18       *
19       * PAMELA CPU software collect several pamela::McmdRecord(s) writing
20       * them on the MassMemory as a unique packet.
21     */     */
22    class McmdRecord: public TObject {    class McmdRecord: public TObject {
23    
24    public:    public:
25      /**      /**
26       * Get the run name according to a certain run number.       * The On-Board-Time of the Record.
      * @param run Run number.  
      * @return a string with the run name.  
27       */       */
28      UINT32 MCMD_RECORD_OBT;      UINT32 MCMD_RECORD_OBT;
     int  Mcmd_Block_crc_ok;  
29            
30        /**
31         * The Mcmd crc result.
32         *
33         * It specifies if the  Mcmd was transmitted correctly: <br>
34         * 0 = Mcmd correctly transmitted <br>
35         * 1 = Mcmd  not correctly transmitted
36         */
37        int  Mcmd_Block_crc_ok;
38    
39        /**
40         * The Sequential ID of the MCMD.
41         */
42      UINT16         SeqID;      UINT16         SeqID;
43    
44        /**
45         * Identify if the Mcmd is a Tagged one or not.
46         */
47      UINT8          Tbit;      UINT8          Tbit;
48    
49        /**
50         * The MCMD identifier.
51         */
52      UINT8          ID1;      UINT8          ID1;
53    
54        /**
55         * The Mcmd length.
56         */
57      UINT16         McmdLength;      UINT16         McmdLength;
58    
59        /**
60         * The On-Board-Time for start the Mcmd if it is TimeTagged.
61         */
62      UINT32         TimeTag;      UINT32         TimeTag;
63    
64        /**
65         * An array of chars containing the Mcmd data area.
66         */
67      TArrayC       *McmdData;      TArrayC       *McmdData;
68    
69        /**
70         * Modulo 256 sum of all bytes except the endID
71         */
72      UINT8          endID;      UINT8          endID;
73    
74    

Legend:
Removed from v.2.2  
changed lines
  Added in v.4.1

  ViewVC Help
Powered by ViewVC 1.1.23