--- chewbacca/event/SubPacket.h 2009/07/24 13:53:52 1.2 +++ chewbacca/event/SubPacket.h 2009/07/29 15:47:24 1.3 @@ -1,6 +1,6 @@ /** @file * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/SubPacket.h,v $ - * $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 $ * $Author: mocchiut $ * * Header file for the SubPacket class. @@ -24,10 +24,6 @@ class SubPacket: public TObject { private: /** - * The name of the subpacket. - */ - std::string SubPacketName; //! - /** * The packet type of the sub packet. */ const pamela::PacketType* Type; //! @@ -36,9 +32,14 @@ * any subdetector. */ const pamela::SubDetector* Detector; //! + /** + * The name of the subpacket. + */ + std::string SubPacketName; //! protected: SubPacket(std::string, const pamela::PacketType* = 0, const pamela::SubDetector* = 0); virtual const char* Print(){ return "SubType"; } + void Print(Option_t *option){Print();}; std::stringstream oss; //! public: SubPacket(void); @@ -59,7 +60,7 @@ */ const pamela::PacketType* GetPacketType(void) const { return Type; } - ClassDef(SubPacket, 1) + ClassDef(SubPacket, 2) }; }