/[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.0 - (hide annotations) (download)
Tue Sep 21 20:50:13 2004 UTC (20 years, 2 months ago) by kusanagi
Branch: MAIN
Changes since 1.2: +1 -1 lines
File MIME type: text/plain
Major release

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3 kusanagi 2.0 * $Id: McmdRecord.h,v 1.2 2004/08/26 08:19:01 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     #define UINT32 unsigned int
12     #define UINT16 unsigned short
13     #define BYTE unsigned char
14    
15     #include <TObject.h>
16 kusanagi 1.2 #include <TArrayC.h>
17 kusanagi 1.1
18    
19     namespace pamela {
20     /**
21     * McmdRecord data Wrapper
22     */
23     class McmdRecord: public TObject {
24    
25     public:
26     /**
27     * Get the run name according to a certain run number.
28     * @param run Run number.
29     * @return a string with the run name.
30     */
31     UINT32 MCMD_RECORD_OBT;
32     int Mcmd_Block_crc_ok;
33    
34     UINT16 SeqID;
35     BYTE Tbit;
36     BYTE ID1;
37     UINT16 McmdLength;
38     UINT32 TimeTag;
39 kusanagi 1.2 TArrayC *McmdData;
40 kusanagi 1.1 BYTE endID;
41    
42    
43     McmdRecord(void);
44    
45 kusanagi 1.2 /*void setMcmdData(const BYTE val[]) {
46 kusanagi 1.1 if (McmdLength > 0){
47     McmdData = new BYTE[McmdLength];
48     memcpy(McmdData, val, McmdLength);
49     }
50 kusanagi 1.2 };*/
51 kusanagi 1.1
52     ClassDef(McmdRecord, 1)
53     };
54     }
55    
56     #endif /* MCMD_RECORD_H */
57    

  ViewVC Help
Powered by ViewVC 1.1.23