GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4AnalysisStepStatus.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 TGO4ANALYSISSTEPSTATUS_H
15 #define TGO4ANALYSISSTEPSTATUS_H
16 
17 #include "TGo4Status.h"
18 
22 
30 
31  public:
33 
34  TGo4AnalysisStepStatus(const char *name);
35 
36  virtual ~TGo4AnalysisStepStatus();
37 
38  void Print(Option_t *opt = "") const override;
39 
43 
47 
51 
55 
59 
63 
67 
69  void SetSourceEnabled(Bool_t on = kTRUE) { fbSourceEnabled = on; }
70  Bool_t IsSourceEnabled() const { return fbSourceEnabled; }
71 
73  void SetStoreEnabled(Bool_t on = kTRUE) { fbStoreEnabled = on; }
74  Bool_t IsStoreEnabled() const { return fbStoreEnabled; }
75 
77  void SetProcessEnabled(Bool_t on = kTRUE) { fbProcessEnabled = on; }
78  Bool_t IsProcessEnabled() const { return fbProcessEnabled; }
79 
81  void SetErrorStopEnabled(Bool_t on = kTRUE) { fbErrorStopEnabled = on; }
83  Bool_t IsErrorStopEnabled() const { return fbErrorStopEnabled; }
84 
86  void SetErrorStopped(Bool_t on) { fbErrorStopped = on; }
88  Bool_t IsErrorStopped() const { return fbErrorStopped; }
89 
91  void SetProcessStatus(Int_t val) { fiProcessStatus = val; }
92 
95  Int_t GetProcessStatus() const { return fiProcessStatus; }
96 
97  private:
98 
104 
110 
116 
120  Bool_t fbSourceEnabled{kFALSE};
121 
125  Bool_t fbStoreEnabled{kFALSE};
126 
132  Bool_t fbProcessEnabled{kFALSE};
133 
139  Bool_t fbErrorStopEnabled{kFALSE};
140 
143  Bool_t fbErrorStopped{kFALSE};
144 
146  Int_t fiProcessStatus{0};
147 
148  ClassDefOverride(TGo4AnalysisStepStatus,1)
149 };
150 
151 #endif //TGO4ANALYSISSTEPSTATUS_H
TGo4EventStoreParameter * fxStoreType
void SetProcessEnabled(Bool_t on=kTRUE)
void SetStoreEnabled(Bool_t on=kTRUE)
TGo4EventSourceParameter * fxSourceType
void Print(Option_t *opt="") const override
void SetSourceEnabled(Bool_t on=kTRUE)
TGo4EventSourceParameter * GetSourcePar() const
TGo4EventProcessorParameter * fxProcessorType
void SetStorePar(TGo4EventStoreParameter *kind)
void SetSourcePar(TGo4EventSourceParameter *kind)
TGo4EventSourceParameter * TakeSourcePar()
void SetProcessorPar(TGo4EventProcessorParameter *kind)
void SetErrorStopEnabled(Bool_t on=kTRUE)
TGo4EventProcessorParameter * GetProcessorPar() const
TGo4EventStoreParameter * GetStorePar() const