00001 #ifndef TTRDBUCHARESTPROC_H 00002 #define TTRDBUCHARESTPROC_H 00003 00004 #include "TCBMBeamtimeProc.h" 00005 #include "TMbsCrateEvent.h" 00006 #include "TBeamMonitorEvent.h" 00007 #include "TTRDBucharestEvent.h" 00008 #include "TTRDBucharestParam.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 TTRDBucharestProc : public TCBMBeamtimeProc { 00019 00020 00021 public: 00022 00023 TTRDBucharestProc(const char* name = 0); 00024 virtual ~TTRDBucharestProc(); 00025 00026 virtual void InitEvent(TGo4EventElement*); 00027 virtual void FinalizeEvent(); 00028 00029 00030 protected: 00031 00032 TTRDBucharestParam * fPar; 00033 TMbsCrateEvent * fCrateInputEvent; 00034 TTRDBucharestEvent * fOutputEvent; 00035 TBeamMonitorEvent* fBeamEvent; 00036 00037 /* MADCs */ 00038 TH1* fMadc_pion[2][N_MADC_CHA]; 00039 TH1* fMadc_electron[2][N_MADC_CHA]; 00040 protected: 00041 00042 ClassDef(TTRDBucharestProc,1) 00043 }; 00044 00045 #endif //TUNPACKPROCESSOR_H 00046