| 1 | 
kusanagi | 
1.1 | 
/** @file | 
| 2 | 
  | 
  | 
 * $Source: /home/cvspamela/yoda/event/log/LogEvent.cpp,v $ | 
| 3 | 
  | 
  | 
 * $Id: LogEvent.cpp,v 1.1 2004/03/26 15:22:54 nagni Exp $ | 
| 4 | 
  | 
  | 
 * $Author: nagni $ | 
| 5 | 
  | 
  | 
 *  | 
| 6 | 
  | 
  | 
 * Implementation of the LogEvent class. | 
| 7 | 
  | 
  | 
 */ | 
| 8 | 
  | 
  | 
#include "LogEvent.h" | 
| 9 | 
  | 
  | 
 | 
| 10 | 
  | 
  | 
using namespace pamela; | 
| 11 | 
  | 
  | 
TClonesArray *LogEvent::fgRecords = 0; | 
| 12 | 
  | 
  | 
 | 
| 13 | 
  | 
  | 
LogEvent::LogEvent(void): SubPacket("Event", PacketType::Log) { | 
| 14 | 
  | 
  | 
if (!fgRecords) fgRecords = new TClonesArray("pamela::LogRecord", 10); | 
| 15 | 
  | 
  | 
   Records = fgRecords; | 
| 16 | 
  | 
  | 
} | 
| 17 | 
  | 
  | 
 | 
| 18 | 
  | 
  | 
LogEvent::~LogEvent(void) { | 
| 19 | 
  | 
  | 
} | 
| 20 | 
  | 
  | 
ClassImp(LogEvent) |