00001 #ifndef TDIAMONDPROC_H 00002 #define TDIAMONDPROC_H 00003 00004 #include "TCBMBeamtimeProc.h" 00005 #include "TMbsCrateEvent.h" 00006 #include "TBeamMonitorEvent.h" 00007 #include "TDiamondEvent.h" 00008 #include "TDiamondParam.h" 00009 00010 #include "TGo4Picture.h" 00011 #include "TH1.h" 00012 #include "TH2.h" 00013 00014 class TGo4EventElement; 00015 class TGo4MbsSubEvent; 00016 00017 00018 class TDiamondProc : public TCBMBeamtimeProc { 00019 00020 00021 public: 00022 00023 TDiamondProc(const char* name = 0); 00024 virtual ~TDiamondProc(); 00025 00026 virtual void InitEvent(TGo4EventElement*); 00027 virtual void FinalizeEvent(); 00028 00029 00030 protected: 00031 00032 TDiamondParam * fPar; 00033 TMbsCrateEvent * fCrateInputEvent; 00034 TDiamondEvent * fOutputEvent; 00035 TBeamMonitorEvent* fBeamEvent; 00036 00037 protected: 00038 00039 ClassDef(TDiamondProc,1) 00040 }; 00041 00042 #endif //TUNPACKPROCESSOR_H 00043