/[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 4.0 - (hide annotations) (download)
Sun Mar 6 04:33:01 2005 UTC (19 years, 8 months ago) by kusanagi
Branch: MAIN
CVS Tags: YODA4_1/00, YODA4_0/04, YODA4_0/03, YODA4_0/02, YODA4_0/01, YODA4_2/01, YODA4_2/00
Changes since 3.0: +1 -1 lines
File MIME type: text/plain
Stable version 4.0 - 6 March 2005 - Maurizio Nagni

1 kusanagi 1.1 /** @file
2 kusanagi 1.2 * $Source: /home/cvsmanager/yoda/event/mcmd/McmdRecord.h,v $
3 kusanagi 4.0 * $Id: McmdRecord.h,v 3.0 2005/03/04 15:54:11 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