/[PAMELA software]/yoda/event/mcmd/McmdRecord.h
ViewVC logotype

Diff of /yoda/event/mcmd/McmdRecord.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by kusanagi, Tue Jul 6 12:20:23 2004 UTC revision 1.2 by kusanagi, Thu Aug 26 08:19:01 2004 UTC
# Line 1  Line 1 
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   */   */
# Line 13  Line 13 
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 {
# Line 35  namespace pamela { Line 36  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    };    };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23