00001 #include "TGet4TestProc.h" 00002 00003 #include "TGo4Log.h" 00004 00005 #include "get4/SubEvent.h" 00006 00007 #include "TCBMEvent.h" 00008 00009 TGet4TestProc::TGet4TestProc() : 00010 TCBMProc() 00011 { 00012 } 00013 00014 TGet4TestProc::TGet4TestProc(const char* name) : 00015 TCBMProc(name) 00016 { 00017 00018 } 00019 00020 void TGet4TestProc::Process(TCBMEvent* ev) 00021 { 00022 get4::SubEvent* sub0 = dynamic_cast<get4::SubEvent*> (ev->GetSubEvent("ROC0")); 00023 00024 if (sub0!=0) 00025 TGo4Log::Info("Find GET4 data for ROC0 size %u", sub0->fExtMessages.size()); 00026 else 00027 TGo4Log::Error("Not found GET4 data for ROC0"); 00028 }