00001 // $Id: TGo4TestRunnable.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGo4TestRunnable_h 00015 #define TGo4TestRunnable_h 00016 00017 #include "TGo4Runnable.h" 00018 00019 class TPad; 00020 class TCanvas; 00021 class TH1D; 00022 class TGo4TestThreadManager; 00023 00068 class TGo4TestRunnable : public TGo4Runnable { 00069 00070 public: 00071 //## Constructors (generated) 00072 TGo4TestRunnable(); 00073 00074 TGo4TestRunnable(const TGo4TestRunnable &right); 00075 00076 TGo4TestRunnable (const char* name, TGo4ThreadManager* man, Int_t mode = 0); 00077 00078 virtual ~TGo4TestRunnable(); 00079 00080 protected: 00081 00086 virtual Int_t Run (void* ptr); 00087 00091 virtual void ThreadCatch (TGo4Exception& ex); 00092 00097 virtual void UnexpectedCatch (); 00098 00099 00100 private: 00101 00107 Int_t fiMode; 00108 00109 // Additional Private Declarations 00110 TPad* fxPad; 00111 TCanvas* fxCanvas; 00112 TH1D* fxHisto; 00113 }; 00114 00115 00116 00117 #endif 00118 00119 00120