/[PAMELA software]/yoda/event/SubPacket.h
ViewVC logotype

Diff of /yoda/event/SubPacket.h

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

revision 2.1 by kusanagi, Sun Oct 17 12:28:15 2004 UTC revision 2.2 by kusanagi, Fri Dec 3 22:04:04 2004 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /home/cvsmanager/yoda/event/SubPacket.h,v $   * $Source: /home/cvsmanager/yoda/event/SubPacket.h,v $
3   * $Id: SubPacket.h,v 2.0 2004/09/21 20:49:57 kusanagi Exp $   * $Id: SubPacket.h,v 2.1 2004/10/17 12:28:15 kusanagi Exp $
4   * $Author: kusanagi $   * $Author: kusanagi $
5   *   *
6   * Header file for the SubPacket class.   * Header file for the SubPacket class.
# Line 8  Line 8 
8  #ifndef SUB_PACKET_H  #ifndef SUB_PACKET_H
9  #define SUB_PACKET_H  #define SUB_PACKET_H
10    
11  #define BYTE       unsigned char  #define  BYTE   unsigned char
12  #define  UINT32 unsigned int  #define  UINT32 unsigned int
13  #define  UINT16 unsigned short  #define  UINT16 unsigned short
14    #define  UINT8  unsigned char
 #include <string>  
   
 // #include <root/TObject.h>  
 #include <TObject.h> //Substituted by Maurizio 05 Feb 2004  
   
15  #include "PacketType.h"  #include "PacketType.h"
16  #include "SubDetector.h"  #include "SubDetector.h"
17    #include "TObject.h"
18    
19  namespace pamela {  namespace pamela {
20    /**    /**
# Line 43  namespace pamela { Line 39  namespace pamela {
39      std::string SubPacketName; //!      std::string SubPacketName; //!
40    protected:    protected:
41      SubPacket(std::string, const pamela::PacketType* = 0,  const pamela::SubDetector* = 0);      SubPacket(std::string, const pamela::PacketType* = 0,  const pamela::SubDetector* = 0);
42        virtual const char* Print(){ return "SubType"; }
43        std::stringstream oss; //!
44    public:    public:
45      SubPacket(void);      SubPacket(void);
46      /**      /**
# Line 61  namespace pamela { Line 59  namespace pamela {
59       * Get the packet type (physics, orbital etc.) the SubPacket belongs to.       * Get the packet type (physics, orbital etc.) the SubPacket belongs to.
60       */       */
61      const pamela::PacketType* GetPacketType(void) const { return Type; }      const pamela::PacketType* GetPacketType(void) const { return Type; }
62      
63      ClassDef(SubPacket, 1)      ClassDef(SubPacket, 1)
64    };    };
65  }  }

Legend:
Removed from v.2.1  
changed lines
  Added in v.2.2

  ViewVC Help
Powered by ViewVC 1.1.23