00001 #ifndef _TTrbANALYSIS_H_ 00002 #define _TTrbANALYSIS_H_ 00003 00004 #include "TGo4Analysis.h" 00005 00006 class TH1D; 00007 class TGo4MbsEvent; 00008 class TTrbEvent; 00009 class TTrbParameter; 00010 00011 class TTrbAnalysis : public TGo4Analysis 00012 { 00013 public: 00014 TTrbAnalysis (); 00015 TTrbAnalysis (int argc, char** argv); 00016 virtual ~TTrbAnalysis () ; 00017 00018 virtual Int_t UserPreLoop (); 00019 virtual Int_t UserEventFunc (); 00020 virtual Int_t UserPostLoop (); 00021 00022 private: 00023 TGo4MbsEvent *fRawEvent; 00024 TTrbEvent *fUnpackEvent; 00025 TH1D *fSize; 00026 Int_t fEvents; 00027 Int_t fLastEvent; 00028 00029 ClassDef(TTrbAnalysis,1) 00030 }; 00031 00032 #endif // _TTrbANALYSIS_H_