1 |
kusanagi |
1.1 |
/** @file |
2 |
kusanagi |
2.0 |
* $Source: /home/cvsmanager/yoda/event/physics/neutronDetector/NeutronEvent.cpp,v $ |
3 |
kusanagi |
4.4 |
* $Id: NeutronEvent.cpp,v 4.0 2005/03/06 04:33:01 kusanagi Exp $ |
4 |
kusanagi |
1.1 |
* $Author: kusanagi $ |
5 |
|
|
* |
6 |
|
|
* Implementation of the NeutronEvent class. |
7 |
|
|
*/ |
8 |
|
|
#include "NeutronEvent.h" |
9 |
|
|
|
10 |
|
|
using namespace pamela::neutron; |
11 |
|
|
TClonesArray *NeutronEvent::fgRecords = 0; |
12 |
|
|
|
13 |
|
|
NeutronEvent::NeutronEvent(void): SubPacket("Event", PacketType::Physics, SubDetector::Neutron) { |
14 |
|
|
if (!fgRecords) fgRecords = new TClonesArray("pamela::neutron::NeutronRecord", 10); |
15 |
|
|
Records = fgRecords; |
16 |
|
|
} |
17 |
|
|
|
18 |
|
|
NeutronEvent::~NeutronEvent(void) { |
19 |
|
|
} |
20 |
|
|
ClassImp(NeutronEvent) |