00001 #include "TGsiAug12OutputEvent.h" 00002 00003 #include "ROOTCONV/TRootConverterEvent.h" 00004 00005 #include "TGo4Version.h" 00006 #if __GO4BUILDVERSION__ > 40502 00007 #include "go4iostream.h" 00008 #else 00009 #include "Riostream.h" 00010 #endif 00011 00012 TGsiAug12OutputEvent::TGsiAug12OutputEvent() : 00013 TCBMBeamtimeEvent() 00014 { 00015 } 00016 00017 TGsiAug12OutputEvent::TGsiAug12OutputEvent(const char* name) : 00018 TCBMBeamtimeEvent(name) 00019 { 00020 cout << "**** TGsiAug12OutputEvent: Create instance " << name << endl; 00021 // here we compose event from subevents: 00022 Short_t subid=0; 00023 AddSubEvent(new TRootConverterEvent("ROOTCONV", subid++)); 00024 } 00025 00026 TGsiAug12OutputEvent::~TGsiAug12OutputEvent() 00027 { 00028 } 00029 00030 void TGsiAug12OutputEvent::Clear(Option_t *t) 00031 { 00032 TCBMBeamtimeEvent::Clear(t); // will clear all subevents 00033 00034 // put additional clear actions here: 00035 00036 }