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 2.0 2004/09/21 20:50:09 kusanagi Exp $ |
* $Id: LogEvent.cpp,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: Maurizio Nagni $ |
5 |
* |
* |
6 |
* Implementation of the LogEvent class. |
* Implementation of the LogEvent class. |
7 |
*/ |
*/ |
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 |
} |
} |