/** @file * $Author: nagni $ * $Date: 2004/03/16 10:18:28 $ * $Version: 1.1 $ * * Header file for the SubPacket class. */ #include #include "SubPacket.h" static log4cpp::Category& cat = log4cpp::Category::getInstance("pamela.SubPacket"); using namespace pamela; /** * Constructor for the SubPacket. * @param name Name of the SubPacket. * @param type Packet type. * @param detector SubDetector, if the SubPacket is detector specific. */ SubPacket::SubPacket(std::string name, const PacketType* type, const SubDetector* detector): SubPacketName(name), Type(type), Detector(detector) { } /** * Default constructor. Note that this should never be used; it is here * just for some thumb requirements of ROOT. */ SubPacket::SubPacket(void): SubPacketName("ERROR"), Type(0), Detector(0) { } ClassImp(SubPacket)