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

Diff of /chewbacca/event/SubPacket.h

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

revision 1.2 by mocchiut, Fri Jul 24 13:53:52 2009 UTC revision 1.3 by mocchiut, Wed Jul 29 15:47:24 2009 UTC
# Line 1  Line 1 
1  /** @file  /** @file
2   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/SubPacket.h,v $   * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/SubPacket.h,v $
3   * $Id: SubPacket.h,v 1.1.1.1 2008/09/23 07:19:54 mocchiut Exp $   * $Id: SubPacket.h,v 1.2 2009/07/24 13:53:52 mocchiut Exp $
4   * $Author: mocchiut $   * $Author: mocchiut $
5   *   *
6   * Header file for the SubPacket class.   * Header file for the SubPacket class.
# Line 24  namespace pamela { Line 24  namespace pamela {
24    class SubPacket: public TObject {    class SubPacket: public TObject {
25    private:    private:
26      /**      /**
      * The name of the subpacket.  
      */  
     std::string SubPacketName; //!  
     /**  
27       * The packet type of the sub packet.       * The packet type of the sub packet.
28       */       */
29      const pamela::PacketType* Type; //!      const pamela::PacketType* Type; //!
# Line 36  namespace pamela { Line 32  namespace pamela {
32       * any subdetector.       * any subdetector.
33       */       */
34      const pamela::SubDetector* Detector; //!      const pamela::SubDetector* Detector; //!
35        /**
36         * The name of the subpacket.
37         */
38        std::string SubPacketName; //!
39    protected:    protected:
40      SubPacket(std::string, const pamela::PacketType* = 0,  const pamela::SubDetector* = 0);      SubPacket(std::string, const pamela::PacketType* = 0,  const pamela::SubDetector* = 0);
41      virtual const char* Print(){ return "SubType"; }      virtual const char* Print(){ return "SubType"; }
42        void Print(Option_t *option){Print();};
43      std::stringstream oss; //!      std::stringstream oss; //!
44    public:    public:
45      SubPacket(void);      SubPacket(void);
# Line 59  namespace pamela { Line 60  namespace pamela {
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, 2)
64    };    };
65  }  }
66    

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

  ViewVC Help
Powered by ViewVC 1.1.23