00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE department, GSI 00007 //--------------------------------------------------------------- 00008 // 00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI 00010 // Planckstr. 1, 64291 Darmstadt, Germany 00011 //Contact: http://go4.gsi.de 00012 //---------------------------------------------------------------- 00013 //This software can be used under the license agreements as stated 00014 //in Go4License.txt file which is part of the distribution. 00015 //---------------------------------------------------------------- 00016 #ifndef TGo4TestRunnable_h 00017 #define TGo4TestRunnable_h 00018 00019 #include "TGo4Runnable.h" 00020 00021 class TPad; 00022 class TCanvas; 00023 class TH1D; 00024 class TGo4TestThreadManager; 00025 00070 class TGo4TestRunnable : public TGo4Runnable { 00071 00072 public: 00073 //## Constructors (generated) 00074 TGo4TestRunnable(); 00075 00076 TGo4TestRunnable(const TGo4TestRunnable &right); 00077 00078 TGo4TestRunnable (const char* name, TGo4ThreadManager* man, Int_t mode = 0); 00079 00080 virtual ~TGo4TestRunnable(); 00081 00082 protected: 00083 00088 virtual Int_t Run (void* ptr); 00089 00093 virtual void ThreadCatch (TGo4Exception& ex); 00094 00099 virtual void UnexpectedCatch (); 00100 00101 00102 private: 00103 00109 Int_t fiMode; 00110 00111 // Additional Private Declarations 00112 TPad* fxPad; 00113 TCanvas* fxCanvas; 00114 TH1D* fxHisto; 00115 }; 00116 00117 00118 00119 #endif 00120 00121 00122 00123 00124 //----------------------------END OF GO4 SOURCE FILE ---------------------