| 1 |
/** @file |
/** @file |
| 2 |
* $Source: /home/cvsmanager/yoda/event/physics/neutronDetector/NeutronEvent.cpp,v $ |
* $Source: /home/cvsmanager/yoda/event/physics/neutronDetector/NeutronEvent.cpp,v $ |
| 3 |
* $Id: NeutronEvent.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ |
* $Id: NeutronEvent.cpp,v 5.0 2005/08/29 09:46:12 Maurizio Nagni Exp $ |
| 4 |
* $Author: kusanagi $ |
* $Author: Maurizio Nagni $ |
| 5 |
* |
* |
| 6 |
* Implementation of the NeutronEvent class. |
* Implementation of the NeutronEvent class. |
| 7 |
*/ |
*/ |
| 10 |
using namespace pamela::neutron; |
using namespace pamela::neutron; |
| 11 |
TClonesArray *NeutronEvent::fgRecords = 0; |
TClonesArray *NeutronEvent::fgRecords = 0; |
| 12 |
|
|
| 13 |
NeutronEvent::NeutronEvent(void): SubPacket("Event", PacketType::Physics, SubDetector::Neutron) { |
NeutronEvent::NeutronEvent(void): SubPacket("Neutron", PacketType::Physics, SubDetector::Neutron) { |
| 14 |
if (!fgRecords) fgRecords = new TClonesArray("pamela::neutron::NeutronRecord", 10); |
if (!fgRecords) fgRecords = new TClonesArray("pamela::neutron::NeutronRecord", 10); |
| 15 |
Records = fgRecords; |
Records = fgRecords; |
| 16 |
} |
} |