GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4TestRunnable.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGo4TestRunnable_h
15 #define TGo4TestRunnable_h
16 
17 #include "TGo4Runnable.h"
18 
19 class TH1D;
20 
65 
66  public:
67  //## Constructors (generated)
69 
70  TGo4TestRunnable(const TGo4TestRunnable &right);
71 
72  TGo4TestRunnable(const char *name, TGo4ThreadManager *man, Int_t mode = 0);
73 
74  virtual ~TGo4TestRunnable();
75 
76  protected:
77 
82  Int_t Run (void *ptr) override;
83 
87  void ThreadCatch(TGo4Exception &ex) override;
88 
93  void UnexpectedCatch() override;
94 
95 
96  private:
97 
103  Int_t fiMode{0};
104 
105  // Additional Private Declarations
106  TH1D* fxHisto{nullptr};
107 
108  ClassDefOverride(TGo4TestRunnable,1)
109 };
110 
111 #endif
void UnexpectedCatch() override
virtual ~TGo4TestRunnable()
void ThreadCatch(TGo4Exception &ex) override
Int_t Run(void *ptr) override