• Main Page
  • Related Pages
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

newmonitor/get4test/TGet4TestProc.cxx (r3879/r3878)

Go to the documentation of this file.
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 }

Generated on Thu Dec 13 2012 04:52:22 for ROCsoft by  doxygen 1.7.1