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(); 00024 TBeamMonitorProc(const char* name); 00025 virtual ~TBeamMonitorProc(); 00026 00027 virtual void InitEvent(TGo4EventElement*); 00028 virtual void FinalizeEvent(); 00029 00030 protected: 00031 00032 TBeamMonitorParam * fPar; 00033 00034 TMbsCrateEvent * fCrateInputEvent; 00035 TRocEvent * fRocInputEvent; 00036 TEpicsEvent* fEpicsInputEvent; 00037 TBeamMonitorEvent * fOutputEvent; 00038 00039 TH2* fCh1_Ch2; 00040 TH2* fCh_Pb; 00041 TH2* fCh2_Pb; 00042 TH2* fS1_Pb; 00043 TH2* fS1_S2; 00044 00045 TGo4PolyCond *fPionCond; 00046 TGo4PolyCond *fElectronCond; 00047 TGo4PolyCond *fMuonCond; 00048 00049 protected: 00050 00051 ClassDef(TBeamMonitorProc,1) 00052 }; 00053 00054 #endif //TUNPACKPROCESSOR_H 00055