00001 #ifndef GO4_TCBMPROC_H 00002 #define GO4_TCBMPROC_H 00003 00004 #include "TGo4EventProcessor.h" 00005 00006 class TCBMEvent; 00007 00008 class TCBMProc : public TGo4EventProcessor { 00009 00010 protected: 00011 00012 long fTotalDataSize; 00013 long fNumMbsBufs; 00014 long fNumCbmEvents; 00015 00016 static TString fDfltSetupScript; 00017 00018 public: 00020 TCBMProc(); 00021 00023 TCBMProc(const char* name); 00024 00025 virtual ~TCBMProc(); 00026 00027 /* Must be overwritten by subclass */ 00028 virtual void Process(TCBMEvent*) = 0; 00029 00030 00031 ClassDef(TCBMProc,1) 00032 }; 00033 00034 #endif 00035