/[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.1 - (hide annotations) (download)
Fri Dec 3 22:04:30 2004 UTC (20 years ago) by kusanagi
Branch: MAIN
Changes since 2.0: +2 -7 lines
File MIME type: text/plain
*** empty log message ***

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3 kusanagi 2.1 * $Id: McmdRecord.h,v 2.0 2004/09/21 20:50:13 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     BYTE Tbit;
31     BYTE ID1;
32     UINT16 McmdLength;
33     UINT32 TimeTag;
34 kusanagi 1.2 TArrayC *McmdData;
35 kusanagi 1.1 BYTE endID;
36    
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