//=================================================================== //== TNeEvent.cxx: //== Version: //=================================================================== using namespace std; #include "TNeEvent.h" #include "Riostream.h" TNeEvent::TNeEvent() :TGo4EventElement() { cout << "**** TNeEvent: Create instance" << endl; } //------------------------------------------------------------------- TNeEvent::TNeEvent(const char* name) :TGo4EventElement(name) { cout << "**** TNeEvent: Create instance " << name << endl; } //------------------------------------------------------------------- TNeEvent::~TNeEvent() { cout << "**** TNeEvent: Delete instance " << endl; } //------------------------------------------------------------------- void TNeEvent::Clear(Option_t *t) { //================================================================== //== all members should be cleared. //== memset(fRawData,0, sizeof(fRawData)); //================================================================== // SQ memset(T1xa, 0, sizeof(T1xa)); memset(T1xa, 0, sizeof(T1xa)); // ToF memset(F3, 0, sizeof(F3)); memset(tF3, 0, sizeof(tF3)); memset(F5, 0, sizeof(F5)); memset(tF5, 0, sizeof(tF5)); // MWPC memset(tMWPC, 0, sizeof(tMWPC)); nevent = 0; trigger = 0; subevents = 0; evsize = 0; mtime = 0; } //-------------------------------------------------------------------