00001 #include "TTRDBucharestEvent.h" 00002 00003 #include "TGo4Log.h" 00004 00005 TTRDBucharestEvent::TTRDBucharestEvent(const char* name, Short_t id) : 00006 TGo4EventElement(name,name,id) 00007 { 00008 TGo4Log::Info("TTRDMadcEvent: Create instance %s with composite id %d", name, id); 00009 } 00010 00011 TTRDBucharestEvent::TTRDBucharestEvent() : 00012 TGo4EventElement() 00013 { 00014 } 00015 00016 TTRDBucharestEvent::~TTRDBucharestEvent() 00017 { 00018 } 00019 00020 void TTRDBucharestEvent::Clear(Option_t *t) 00021 { 00022 // all members should be cleared. 00023 for(int mad=0; mad<2;++mad) { 00024 for(int ch=0; ch<N_MADC_CHA;++ch) { 00025 fMadc_Pion[mad][ch]=0; 00026 fMadc_Electron[mad][ch]=0; 00027 } 00028 } 00029 } 00030