00001 #ifndef TBEAMMONITORPROC_H 00002 #define TBEAMMONITORPROC_H 00003 00004 #include "TCBMBeamtimeProc.h" 00005 00006 #include "TBeamMonitorParam.h" 00007 #include "TBeamMonitorEvent.h" 00008 #include "TMbsCrateEvent.h" 00009 #include "TRocEvent.h" 00010 #include "TEpicsEvent.h" 00011 00012 #include "TH1.h" 00013 #include "TH2.h" 00014 #include "TGo4WinCond.h" 00015 #include "TGo4PolyCond.h" 00016 #include "TString.h" 00017 #include "TLatex.h" 00018 00019 class TBeamMonitorProc : public TCBMBeamtimeProc { 00020 00021 public: 00022 00023 TBeamMonitorProc(const char* name = 0); 00024 virtual ~TBeamMonitorProc(); 00025 00026 virtual void InitEvent(TGo4EventElement*); 00027 virtual void FinalizeEvent(); 00028 00029 protected: 00030 00031 TBeamMonitorParam * fPar; 00032 00033 TMbsCrateEvent * fCrateInputEvent; 00034 TRocEvent * fRocInputEvent; 00035 TEpicsEvent* fEpicsInputEvent; 00036 TBeamMonitorEvent * fOutputEvent; 00037 00038 TH1* fPmtDiff; // time difference between two PMT signals 00039 00040 protected: 00041 00042 ClassDef(TBeamMonitorProc,1) 00043 }; 00044 00045 #endif //TUNPACKPROCESSOR_H 00046