/[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.4 by mocchiut, Tue Aug 4 13:58:19 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.3 2009/07/29 15:47:24 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"; }  
42        virtual const char* Print() const { return "SubType"; }
43        virtual void Print(Option_t *option="") const { option="";};
44        //    virtual const char* Print(){ return "SubType"; }
45        //    void Print(Option_t *option){Print();};
46      std::stringstream oss; //!      std::stringstream oss; //!
47    public:    public:
48      SubPacket(void);      SubPacket(void);
# Line 59  namespace pamela { Line 63  namespace pamela {
63       */       */
64      const pamela::PacketType* GetPacketType(void) const { return Type; }      const pamela::PacketType* GetPacketType(void) const { return Type; }
65        
66      ClassDef(SubPacket, 1)      ClassDef(SubPacket, 2)
67    };    };
68  }  }
69    

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

  ViewVC Help
Powered by ViewVC 1.1.23