1 |
mocchiut |
1.1 |
/** @file |
2 |
|
|
* $Source: /repository/event/log/LogEvent.cpp,v $ |
3 |
|
|
* $Id: LogEvent.cpp,v 1.1 2008-01-11 17:14:22 messineo Exp $ |
4 |
|
|
* $Author: messineo $ |
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("Log", PacketType::Log) { |
14 |
|
|
if (!fgRecords) fgRecords = new TClonesArray("pamela::LogRecord", 1); |
15 |
|
|
Records = fgRecords; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
|
LogEvent::~LogEvent(void) { |
19 |
|
|
} |
20 |
|
|
ClassImp(LogEvent) |