/** @file * $Source: /home/cvsmanager/yoda/event/EventHeader.cpp,v $ * $Id: EventHeader.cpp,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ * $Author: kusanagi $ * * Implementation of the EventHeader class. */ #include "EventHeader.h" using namespace pamela; /** * Create a new event header object which belongs to all packet types * @param run Run number */ EventHeader::EventHeader(int run): SubPacket("Header"), Counter(run) { } /** * Create a new event header object. * @param type Packet type the header event belongs to. */ EventHeader::EventHeader(const PacketType* t): SubPacket("Header", t), Counter(0) { } /** * Destroy the event header object. */ EventHeader::~EventHeader() { } ClassImp(EventHeader)