00001 #include "TBeamMonitorEvent.h" 00002 00003 #include "TGo4Log.h" 00004 00005 TBeamMonitorEvent::TBeamMonitorEvent() : 00006 TGo4EventElement() 00007 { 00008 } 00009 00010 TBeamMonitorEvent::TBeamMonitorEvent(const char* name, Short_t id) : 00011 TGo4EventElement(name,name,id) 00012 { 00013 TGo4Log::Info("TBeamMonitorEvent: Create instance %s with composite id %d", name, id); 00014 } 00015 00016 TBeamMonitorEvent::~TBeamMonitorEvent() 00017 { 00018 } 00019 00020 void TBeamMonitorEvent::Clear(Option_t *t) 00021 { 00022 // all members should be cleared. 00023 00024 fIsPion = kFALSE; 00025 00026 fIsElectron = kFALSE; 00027 00028 fIsPulser = kFALSE; 00029 00030 fIsMuon = kFALSE; 00031 }