1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvspamela/yoda/event/mcmd/McmdRecord.h,v $ |
* $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $ |
3 |
* $Id: McmdRecord.h,v 1.8 2004/04/22 15:51:03 nagni Exp $ |
* $Id: McmdRecord.h,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $ |
4 |
* $Author: nagni $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Header file for the McmdRecord class. |
* Header file for the McmdRecord class. |
7 |
*/ |
*/ |
13 |
#define BYTE unsigned char |
#define BYTE unsigned char |
14 |
|
|
15 |
#include <TObject.h> |
#include <TObject.h> |
16 |
|
#include <TArrayC.h> |
17 |
|
|
18 |
|
|
19 |
namespace pamela { |
namespace pamela { |
36 |
BYTE ID1; |
BYTE ID1; |
37 |
UINT16 McmdLength; |
UINT16 McmdLength; |
38 |
UINT32 TimeTag; |
UINT32 TimeTag; |
39 |
BYTE* McmdData; |
TArrayC *McmdData; |
40 |
BYTE endID; |
BYTE endID; |
41 |
|
|
42 |
|
|
43 |
McmdRecord(void); |
McmdRecord(void); |
44 |
|
|
45 |
void setMcmdData(const BYTE val[]) { |
/*void setMcmdData(const BYTE val[]) { |
46 |
if (McmdLength > 0){ |
if (McmdLength > 0){ |
47 |
McmdData = new BYTE[McmdLength]; |
McmdData = new BYTE[McmdLength]; |
48 |
memcpy(McmdData, val, McmdLength); |
memcpy(McmdData, val, McmdLength); |
49 |
} |
} |
50 |
}; |
};*/ |
51 |
|
|
52 |
ClassDef(McmdRecord, 1) |
ClassDef(McmdRecord, 1) |
53 |
}; |
}; |