| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/event/mcmd/McmdEvent.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/mcmd/McmdEvent.cpp,v $ |
| 3 |
* $Id: McmdEvent.cpp,v 4.4 2005/05/28 10:44:09 kusanagi Exp $ |
* $Id: McmdEvent.cpp,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: Maurizio Nagni $ |
| 5 |
* |
* |
| 6 |
* Implementation of the McmdEvent class. |
* Implementation of the McmdEvent class. |
| 7 |
*/ |
*/ |
| 10 |
using namespace pamela; |
using namespace pamela; |
| 11 |
TClonesArray *McmdEvent::fgRecords = 0; |
TClonesArray *McmdEvent::fgRecords = 0; |
| 12 |
|
|
| 13 |
McmdEvent::McmdEvent(void): SubPacket("Event", PacketType::Mcmd) { |
McmdEvent::McmdEvent(void): SubPacket("Mcmd", PacketType::Mcmd) { |
| 14 |
if (!fgRecords) fgRecords = new TClonesArray("pamela::McmdRecord", 10); |
if (!fgRecords) fgRecords = new TClonesArray("pamela::McmdRecord", 10); |
| 15 |
Records = fgRecords; |
Records = fgRecords; |
| 16 |
} |
} |