Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

TGo4AnalysisStepStatus.h

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #ifndef TGO4ANALYSISSTEPSTATUS_H
00017 #define TGO4ANALYSISSTEPSTATUS_H
00018 
00019 #include "TGo4Status.h"
00020 
00021 #include "TGo4EventProcessorParameter.h"
00022 #include "TGo4EventStoreParameter.h"
00023 #include "TGo4EventSourceParameter.h"
00024 
00031 class TGo4AnalysisStepStatus : public TGo4Status {
00032 
00033   public:
00034     TGo4AnalysisStepStatus();
00035 
00036     TGo4AnalysisStepStatus(const char* name);
00037 
00038     virtual ~TGo4AnalysisStepStatus();
00039 
00042    virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00043 
00046     void SetSourcePar(TGo4EventSourceParameter* kind);
00047 
00050     TGo4EventSourceParameter* GetSourcePar() const { return fxSourceType; }
00051 
00054     void SetStorePar(TGo4EventStoreParameter* kind);
00055 
00058     TGo4EventStoreParameter * GetStorePar() const {  return fxStoreType; }
00059 
00062     void SetProcessorPar(TGo4EventProcessorParameter* kind);
00063 
00066     TGo4EventProcessorParameter * GetProcessorPar() const { return fxProcessorType; }
00067 
00069     void SetSourceEnabled(Bool_t on=kTRUE) { fbSourceEnabled = on; }
00070     Bool_t IsSourceEnabled() const { return fbSourceEnabled; }
00071 
00073     void SetStoreEnabled(Bool_t on=kTRUE) { fbStoreEnabled = on; }
00074     Bool_t IsStoreEnabled() const { return fbStoreEnabled; }
00075 
00077     void SetProcessEnabled(Bool_t on=kTRUE) { fbProcessEnabled = on; }
00078     Bool_t IsProcessEnabled() const { return fbProcessEnabled; }
00079 
00081     void SetErrorStopEnabled(Bool_t on=kTRUE) { fbErrorStopEnabled = on; }
00083     Bool_t IsErrorStopEnabled() const { return fbErrorStopEnabled; }
00084 
00086     void SetErrorStopped(Bool_t on) { fbErrorStopped = on; }
00088     Bool_t IsErrorStopped() const { return fbErrorStopped; }
00089 
00091     void SetProcessStatus(Int_t val) { fiProcessStatus=val; }
00092 
00095     Int_t GetProcessStatus() const { return fiProcessStatus; }
00096 
00097   private:
00098 
00103     TGo4EventSourceParameter* fxSourceType;
00104 
00109     TGo4EventStoreParameter* fxStoreType;
00110 
00115     TGo4EventProcessorParameter* fxProcessorType;
00116 
00120     Bool_t fbSourceEnabled;
00121 
00125     Bool_t fbStoreEnabled;
00126 
00132     Bool_t fbProcessEnabled;
00133 
00139     Bool_t fbErrorStopEnabled;
00140 
00143     Bool_t fbErrorStopped;
00144 
00146     Int_t fiProcessStatus;
00147 
00148   ClassDef(TGo4AnalysisStepStatus,1)
00149 };
00150 
00151 #endif //TGO4ANALYSISSTEPSTATUS_H
00152 
00153 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:28 2008 for Go4-v3.04-1 by  doxygen 1.4.2