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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2.2 - (hide annotations) (download)
Thu Jan 13 14:45:45 2005 UTC (19 years, 10 months ago) by kusanagi
Branch: MAIN
Changes since 2.1: +4 -4 lines
File MIME type: text/plain
Added the unpackError parameter

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3 kusanagi 2.2 * $Id: McmdRecord.h,v 2.1 2004/12/03 22:04:30 kusanagi Exp $
4 kusanagi 1.2 * $Author: kusanagi $
5 kusanagi 1.1 *
6     * Header file for the McmdRecord class.
7     */
8     #ifndef MCMD_RECORD_H
9     #define MCMD_RECORD_H
10    
11 kusanagi 2.1 #include "event/SubPacket.h"
12 kusanagi 1.2 #include <TArrayC.h>
13 kusanagi 1.1
14     namespace pamela {
15     /**
16     * McmdRecord data Wrapper
17     */
18     class McmdRecord: public TObject {
19    
20     public:
21     /**
22     * Get the run name according to a certain run number.
23     * @param run Run number.
24     * @return a string with the run name.
25     */
26     UINT32 MCMD_RECORD_OBT;
27     int Mcmd_Block_crc_ok;
28    
29     UINT16 SeqID;
30 kusanagi 2.2 UINT8 Tbit;
31     UINT8 ID1;
32 kusanagi 1.1 UINT16 McmdLength;
33     UINT32 TimeTag;
34 kusanagi 1.2 TArrayC *McmdData;
35 kusanagi 2.2 UINT8 endID;
36 kusanagi 1.1
37    
38     McmdRecord(void);
39    
40 kusanagi 1.2 /*void setMcmdData(const BYTE val[]) {
41 kusanagi 1.1 if (McmdLength > 0){
42     McmdData = new BYTE[McmdLength];
43     memcpy(McmdData, val, McmdLength);
44     }
45 kusanagi 1.2 };*/
46 kusanagi 1.1
47     ClassDef(McmdRecord, 1)
48     };
49     }
50    
51     #endif /* MCMD_RECORD_H */
52    

  ViewVC Help
Powered by ViewVC 1.1.23