1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/log/LogEvent.cpp,v $ |
3 |
* $Id: LogEvent.cpp,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ |
* $Id: LogEvent.cpp,v 5.1 2006/02/04 12:37:44 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the LogEvent class. |
* Implementation of the LogEvent class. |
10 |
using namespace pamela; |
using namespace pamela; |
11 |
TClonesArray *LogEvent::fgRecords = 0; |
TClonesArray *LogEvent::fgRecords = 0; |
12 |
|
|
13 |
LogEvent::LogEvent(void): SubPacket("Event", PacketType::Log) { |
LogEvent::LogEvent(void): SubPacket("Log", PacketType::Log) { |
14 |
if (!fgRecords) fgRecords = new TClonesArray("pamela::LogRecord", 1); |
if (!fgRecords) fgRecords = new TClonesArray("pamela::LogRecord", 1); |
15 |
Records = fgRecords; |
Records = fgRecords; |
16 |
} |
} |