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