--- chewbacca/event/SubPacket.h 2009/07/29 15:47:24 1.3 +++ chewbacca/event/SubPacket.h 2009/08/04 13:58:19 1.4 @@ -1,6 +1,6 @@ /** @file * $Source: /afs/ba.infn.it/user/pamela/src/CVS/chewbacca/event/SubPacket.h,v $ - * $Id: SubPacket.h,v 1.2 2009/07/24 13:53:52 mocchiut Exp $ + * $Id: SubPacket.h,v 1.3 2009/07/29 15:47:24 mocchiut Exp $ * $Author: mocchiut $ * * Header file for the SubPacket class. @@ -38,8 +38,11 @@ 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();}; + + virtual const char* Print() const { return "SubType"; } + virtual void Print(Option_t *option="") const { option="";}; + // virtual const char* Print(){ return "SubType"; } + // void Print(Option_t *option){Print();}; std::stringstream oss; //! public: SubPacket(void);