1 |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $ |
3 |
* $Id: McmdRecord.h,v 2.0 2004/09/21 20:50:13 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 |
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 |
TArrayC *McmdData; |
35 |
BYTE endID; |
36 |
|
37 |
|
38 |
McmdRecord(void); |
39 |
|
40 |
/*void setMcmdData(const BYTE val[]) { |
41 |
if (McmdLength > 0){ |
42 |
McmdData = new BYTE[McmdLength]; |
43 |
memcpy(McmdData, val, McmdLength); |
44 |
} |
45 |
};*/ |
46 |
|
47 |
ClassDef(McmdRecord, 1) |
48 |
}; |
49 |
} |
50 |
|
51 |
#endif /* MCMD_RECORD_H */ |
52 |
|