00001 #include "TBeamMonitorEvent.h" 00002 #include "TGo4Version.h" 00003 #if __GO4BUILDVERSION__ > 40502 00004 #include "go4iostream.h" 00005 #else 00006 #include "Riostream.h" 00007 #endif 00008 00009 TBeamMonitorEvent::TBeamMonitorEvent() : 00010 TGo4EventElement() 00011 { 00012 } 00013 00014 TBeamMonitorEvent::TBeamMonitorEvent(const char* name, Short_t id) : 00015 TGo4EventElement(name,name,id) 00016 { 00017 cout << "**** TBeamMonitorEvent: Create instance " << name <<" with composite id "<<id<< endl; 00018 } 00019 00020 TBeamMonitorEvent::~TBeamMonitorEvent() 00021 { 00022 } 00023 00024 void TBeamMonitorEvent::Clear(Option_t *t) 00025 { 00026 // all members should be cleared. 00027 00028 fIsPion = kFALSE; 00029 00030 fIsElectron = kFALSE; 00031 00032 fIsPulser = kFALSE; 00033 00034 fIsMuon = kFALSE; 00035 }