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