00001 #ifndef TROSSENDORFPROC_H 00002 #define TROSSENDORFPROC_H 00003 00004 #include "TCBMBeamtimeProc.h" 00005 #include "TMbsCrateEvent.h" 00006 #include "MONITOR/TBeamMonitorEvent.h" 00007 #include "TRossendorfEvent.h" 00008 #include "TRossendorfParam.h" 00009 00010 #include "TGo4Picture.h" 00011 #include "TH1.h" 00012 #include "TH2.h" 00013 00014 class TGo4EventElement; 00015 class TGo4MbsSubEvent; 00016 class TRossendorfMapParam; 00017 class TRossendorfHistParam; 00018 00019 00020 class TRossendorfProc : public TCBMBeamtimeProc { 00021 00022 public: 00023 00024 TRossendorfProc(const char* name = 0); 00025 virtual ~TRossendorfProc(void); 00026 00027 virtual void InitEvent(TGo4EventElement*); 00028 virtual void FinalizeEvent(); 00029 00030 00031 protected: 00032 00033 TRossendorfMapParam * fMapPar; 00034 TRossendorfHistParam * fHistTdcPar; 00035 TRossendorfHistParam * fHistQdcPar; 00036 TRossendorfHistParam * fHistStripTdcPar; 00037 TRossendorfHistParam * fHistStripQdcPar; 00038 TRossendorfHistParam * fHistStripCorrPar; 00039 TRossendorfHistParam * fHistStripCorrQdcPar; 00040 TRossendorfHistParam * fRoluPar; 00041 TRossendorfHistParam * fRpcResHistPar; 00042 TRossendorfHistParam * fRpcPosResHistPar; 00043 TMbsCrateEvent * fCrateInputEvent; 00044 TRossendorfEvent * fOutputEvent; 00045 TBeamMonitorEvent* fBeamEvent; 00046 TH1F *hTDC[3][16]; 00047 TH1F *hQDC[3][16]; 00048 TH1F *hStripTdc[2][8]; 00049 TH1F *hStripQdc[2][8]; 00050 TH2F *hRpcCorr[2][2][8]; 00051 TH1F *hRefTimeCorr[4]; 00052 TH2F *hRpcCorrQdc[2][2][8]; 00053 TH1F *hRpcStripMult[2]; 00054 TH2F *hRpcStripvsStrip[3]; 00055 TH2F *hRpcPosRes[2]; 00056 TH1F *hROLUSum; 00057 TH1F *hROLUSum1; 00058 TH1F *hROLUSum2; 00059 TH1F *hROLUSum3; 00060 TH1F *hROLURes; 00061 TH1F *hROLURes1; 00062 TH2F *hTimeRes[2][8]; 00063 TH1F *hRpcRes[8][8]; 00064 TH2F *hRosSzint[2]; 00065 00066 ClassDef(TRossendorfProc,1) 00067 }; 00068 00069 #endif //TUNPACKPROCESSOR_H 00070