1 |
/** @file |
/** @file |
2 |
* $Source: /repository/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 2008-01-11 17:14:19 messineo Exp $ |
* $Id: SubPacket.h,v 1.3 2009/07/29 15:47:24 mocchiut Exp $ |
4 |
* $Author: messineo $ |
* $Author: mocchiut $ |
5 |
* |
* |
6 |
* Header file for the SubPacket class. |
* Header file for the SubPacket class. |
7 |
*/ |
*/ |
38 |
std::string SubPacketName; //! |
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); |
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 |
|
|