| 1 | /** @file | /** @file | 
| 2 | * $Source: /home/cvspamela/yoda/event/log/LogEvent.cpp,v $ | * $Source: /home/cvsmanager/yoda/event/log/LogEvent.cpp,v $ | 
| 3 | * $Id: LogEvent.cpp,v 1.1 2004/03/26 15:22:54 nagni Exp $ | * $Id: LogEvent.cpp,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ | 
| 4 | * $Author: nagni $ | * $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", 10); | if (!fgRecords) fgRecords = new TClonesArray("pamela::LogRecord", 1); | 
| 15 | Records = fgRecords; | Records = fgRecords; | 
| 16 | } | } | 
| 17 |  |  |