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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4.1 - (show annotations) (download)
Sat May 7 08:48:52 2005 UTC (19 years, 7 months ago) by kusanagi
Branch: MAIN
CVS Tags: yodaPreTermistors2_1/00, YODA4_3/02, YODA4_3/00, YODA4_3/01, YODA4_2/03, yodaPreTermistores2_0/00
Branch point for: PreThermistores2
Changes since 4.0: +42 -5 lines
File MIME type: text/plain
Major update on the documentation

1 /** @file
2 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3 * $Id: McmdRecord.h,v 4.0 2005/03/06 04:33:01 kusanagi Exp $
4 * $Author: kusanagi $
5 *
6 * Header file for the McmdRecord class.
7 */
8 #ifndef MCMD_RECORD_H
9 #define MCMD_RECORD_H
10
11 #include "event/SubPacket.h"
12 #include <TArrayC.h>
13
14 namespace pamela {
15 /**
16 * 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 {
23
24 public:
25 /**
26 * The On-Board-Time of the Record.
27 */
28 UINT32 MCMD_RECORD_OBT;
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;
43
44 /**
45 * Identify if the Mcmd is a Tagged one or not.
46 */
47 UINT8 Tbit;
48
49 /**
50 * The MCMD identifier.
51 */
52 UINT8 ID1;
53
54 /**
55 * The Mcmd length.
56 */
57 UINT16 McmdLength;
58
59 /**
60 * The On-Board-Time for start the Mcmd if it is TimeTagged.
61 */
62 UINT32 TimeTag;
63
64 /**
65 * An array of chars containing the Mcmd data area.
66 */
67 TArrayC *McmdData;
68
69 /**
70 * Modulo 256 sum of all bytes except the endID
71 */
72 UINT8 endID;
73
74
75 McmdRecord(void);
76
77 /*void setMcmdData(const BYTE val[]) {
78 if (McmdLength > 0){
79 McmdData = new BYTE[McmdLength];
80 memcpy(McmdData, val, McmdLength);
81 }
82 };*/
83
84 ClassDef(McmdRecord, 1)
85 };
86 }
87
88 #endif /* MCMD_RECORD_H */
89

  ViewVC Help
Powered by ViewVC 1.1.23