00001 // $Id: TGo4TestRunnable.h 1196 2014-04-10 14:06:24Z 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 00067 class TGo4TestRunnable : public TGo4Runnable { 00068 00069 public: 00070 //## Constructors (generated) 00071 TGo4TestRunnable(); 00072 00073 TGo4TestRunnable(const TGo4TestRunnable &right); 00074 00075 TGo4TestRunnable (const char* name, TGo4ThreadManager* man, Int_t mode = 0); 00076 00077 virtual ~TGo4TestRunnable(); 00078 00079 protected: 00080 00085 virtual Int_t Run (void* ptr); 00086 00090 virtual void ThreadCatch (TGo4Exception& ex); 00091 00096 virtual void UnexpectedCatch (); 00097 00098 00099 private: 00100 00106 Int_t fiMode; 00107 00108 // Additional Private Declarations 00109 TPad* fxPad; 00110 TCanvas* fxCanvas; 00111 TH1D* fxHisto; 00112 }; 00113 00114 00115 00116 #endif 00117 00118 00119