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. |
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; //! |
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); |
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 |
|
|