Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4StatusAnalysis/TGo4AnalysisStepStatus.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE 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 "Go4StatusBase/TGo4Status.h"
00020 
00021 #include "Go4Event/TGo4EventProcessorParameter.h"
00022 #include "Go4Event/TGo4EventStoreParameter.h"
00023 #include "Go4Event/TGo4EventSourceParameter.h"
00024 
00031 class TGo4AnalysisStepStatus : public TGo4Status {
00032 
00033   friend class TGo4Analysis;
00034 
00035   public:
00037     TGo4AnalysisStepStatus(){}
00038 
00039     TGo4AnalysisStepStatus(const char* name);
00040 
00041     virtual ~TGo4AnalysisStepStatus();
00042 
00045    virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00046 
00049     void SetSourcePar(TGo4EventSourceParameter* kind);
00050 
00053     TGo4EventSourceParameter* GetSourcePar() const { return fxSourceType; }
00054 
00057     void SetStorePar(TGo4EventStoreParameter* kind);
00058 
00061     TGo4EventStoreParameter * GetStorePar() const {  return fxStoreType; }
00062 
00065     void SetProcessorPar(TGo4EventProcessorParameter* kind);
00066 
00069     TGo4EventProcessorParameter * GetProcessorPar() const { return fxProcessorType; }
00070 
00072     void SetSourceEnabled(Bool_t on=kTRUE) { fbSourceEnabled= on ? 1 : 0; }
00073     Int_t IsSourceEnabled() const { return fbSourceEnabled; }
00074 
00076     void SetStoreEnabled(Bool_t on=kTRUE) { fbStoreEnabled = on ? 1 : 0; }
00077     Int_t IsStoreEnabled() const { return fbStoreEnabled; }
00078 
00080     void SetProcessEnabled(Bool_t on=kTRUE) { fbProcessEnabled = on ? 1 : 0; }
00081     Int_t IsProcessEnabled() const { return fbProcessEnabled; }
00082 
00084     void SetErrorStopEnabled(Bool_t on=kTRUE) { fbErrorStopEnabled = on ? 1 : 0; }
00085 
00087     Int_t IsErrorStopEnabled() const { return fbErrorStopEnabled; }
00088 
00090     void SetErrorStopped(Bool_t on) { fbErrorStopped = on ? 1 : 0; }
00091 
00093     Int_t IsErrorStopped() const { return fbErrorStopped; }
00094 
00096     void SetProcessStatus(Int_t val) { fiProcessStatus=val; }
00097 
00100     Int_t GetProcessStatus() const { return fiProcessStatus; }
00101 
00102   private:
00103 
00108     TGo4EventSourceParameter* fxSourceType;
00109 
00114     TGo4EventStoreParameter* fxStoreType;
00115 
00120     TGo4EventProcessorParameter* fxProcessorType;
00121 
00125     Int_t fbSourceEnabled;
00126 
00130     Int_t fbStoreEnabled;
00131 
00137     Int_t fbProcessEnabled;
00138 
00144     Int_t fbErrorStopEnabled;
00145 
00148     Int_t fbErrorStopped;
00149 
00151     Int_t fiProcessStatus;
00152 
00153   ClassDef(TGo4AnalysisStepStatus,1)
00154 };
00155 
00156 #endif //TGO4ANALYSISSTEPSTATUS_H
00157 
00158 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:55:49 2005 for Go4-v2.10-5 by doxygen1.2.15