GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
28
30
31 public:
33
34 TGo4AnalysisStepStatus(const char *name);
35
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
147
148 ClassDefOverride(TGo4AnalysisStepStatus,1)
149};
150
151#endif //TGO4ANALYSISSTEPSTATUS_H
Status object of one analysis step.
void Print(Option_t *opt="") const override
void SetErrorStopEnabled(Bool_t on=kTRUE)
Enables or disables the stop-on-error mode.
void SetProcessStatus(Int_t val)
Sets status value of processor, user defined.
TGo4EventSourceParameter * TakeSourcePar()
Removes source parameter from the step and return it back to the user User is responsible to cleanup ...
Bool_t fbErrorStopped
True if the analysis step has been stopped after input error.
void SetSourceEnabled(Bool_t on=kTRUE)
Enables or disables the event source.
Bool_t fbErrorStopEnabled
Operation mode switch.
Bool_t fbSourceEnabled
Enables event source.If true, the event source is used to get the input event; otherwise we use the o...
void SetErrorStopped(Bool_t on)
Enables or disables the stop-on-error mode.
TGo4EventSourceParameter * GetSourcePar() const
Returns the event source parameter which was put into this status object.
TGo4EventStoreParameter * fxStoreType
Parameter object of next event storage to be activated.
TGo4EventProcessorParameter * GetProcessorPar() const
Returns the event processor parameter which was put into this status object.
Bool_t fbStoreEnabled
Enables event store.
Bool_t IsErrorStopEnabled() const
True if analysis step shall stop on error.
TGo4EventProcessorParameter * fxProcessorType
Parameter object of next event processor to be activated.
void SetStorePar(TGo4EventStoreParameter *kind)
Sets the event store parameter which is used on intitialization of this step.
Int_t GetProcessStatus() const
Returns status value of processor.
Bool_t IsErrorStopped() const
True if analysis step has been stopped on error.
void SetProcessorPar(TGo4EventProcessorParameter *kind)
Sets the event processor parameter which is used on intitialization of this step.
TGo4EventStoreParameter * GetStorePar() const
Returns the event store parameter which was put into this status object.
Bool_t fbProcessEnabled
Enables processing of the input event.
Int_t fiProcessStatus
Contains current analysis step status value.
void SetStoreEnabled(Bool_t on=kTRUE)
Enables or disables the event store.
void SetProcessEnabled(Bool_t on=kTRUE)
Enables or disables the event processing.
void SetSourcePar(TGo4EventSourceParameter *kind)
Sets the event source parameter which is used on intitialization of this step.
TGo4EventSourceParameter * fxSourceType
Parameter object of next event source to be activated.
Basic type for all classes containing information to parametrize the event processor.
Basic type for all classes containing information to parameterize the event source.
Basic type for all classes containing information to parametrize the event store.