--- yoda/event/CalibS4Event.cpp 2004/09/21 20:49:57 2.0 +++ yoda/event/CalibS4Event.cpp 2005/03/04 15:54:11 3.0 @@ -1,8 +1,11 @@ #include "CalibS4Event.h" using namespace pamela; +TClonesArray *CalibS4Event::fgRecords = 0; CalibS4Event::CalibS4Event(void): SubPacket("Event", PacketType::CalibS4) { + if (!fgRecords) fgRecords = new TClonesArray("pamela::S4::S4Event", 1); + Records = fgRecords; } ClassImp(CalibS4Event)