1 |
mocchiut |
1.1 |
/** @file |
2 |
|
|
* $Source: /repository/event/mcmd/McmdEvent.cpp,v $ |
3 |
|
|
* $Id: McmdEvent.cpp,v 1.1 2008-01-11 17:14:23 messineo Exp $ |
4 |
|
|
* $Author: messineo $ |
5 |
|
|
* |
6 |
|
|
* Implementation of the McmdEvent class. |
7 |
|
|
*/ |
8 |
|
|
#include "McmdEvent.h" |
9 |
|
|
|
10 |
|
|
using namespace pamela; |
11 |
|
|
TClonesArray *McmdEvent::fgRecords = 0; |
12 |
|
|
|
13 |
|
|
McmdEvent::McmdEvent(void): SubPacket("Mcmd", PacketType::Mcmd) { |
14 |
|
|
if (!fgRecords) fgRecords = new TClonesArray("pamela::McmdRecord", 10); |
15 |
|
|
Records = fgRecords; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
|
McmdEvent::~McmdEvent(void) { |
19 |
|
|
} |
20 |
|
|
ClassImp(McmdEvent) |