00001 /* Generated by Together */ 00002 00003 #include "TTRDDubnaEvent.h" 00004 #include "TGo4Version.h" 00005 #if __GO4BUILDVERSION__ > 40502 00006 #include "go4iostream.h" 00007 #else 00008 #include "Riostream.h" 00009 #endif 00010 00011 TTRDDubnaEvent::TTRDDubnaEvent(const char* name, Short_t id) : 00012 TGo4EventElement(name,name,id) 00013 { 00014 cout << "**** TTRDMadcEvent: Create instance " << name <<" with composite id "<<id<< endl; 00015 } 00016 TTRDDubnaEvent::TTRDDubnaEvent() : 00017 TGo4EventElement() 00018 { 00019 } 00020 00021 TTRDDubnaEvent::~TTRDDubnaEvent() 00022 { 00023 } 00024 00025 void TTRDDubnaEvent::Clear(Option_t *t) 00026 { 00027 // all members should be cleared. 00028 for(int mad=0; mad<2;++mad) 00029 { 00030 for(int ch=0; ch<N_MADC_CHA;++ch) 00031 { 00032 fMadc_Pion[mad][ch]=0; 00033 fMadc_Electron[mad][ch]=0; 00034 } 00035 } 00036 } 00037