00001 /* Generated by Together */ 00002 00003 #include "TPlasticsEvent.h" 00004 #include "TGo4Version.h" 00005 #if __GO4BUILDVERSION__ > 40502 00006 #include "go4iostream.h" 00007 #else 00008 #include "Riostream.h" 00009 #endif 00010 00011 00012 TPlasticsEvent::TPlasticsEvent(const char* name, Short_t id) : 00013 TGo4EventElement(name,name,id) 00014 { 00015 cout << "**** TPlasticsEvent: Create instance " << name <<" with composite id "<<id<< endl; 00016 Clear(); 00017 } 00018 TPlasticsEvent::TPlasticsEvent() : 00019 TGo4EventElement() 00020 { 00021 Clear(); 00022 } 00023 00024 TPlasticsEvent::~TPlasticsEvent() 00025 { 00026 Clear(); 00027 } 00028 00029 void TPlasticsEvent::Clear(Option_t *t) 00030 { 00031 // all members should be cleared. 00032 fEvents.clear(); 00033 SetValid(kFALSE); 00034 } 00035