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 TGO4CONDITIONSTATUS_H 00017 #define TGO4CONDITIONSTATUS_H 00018 00019 #include "Go4StatusBase/TGo4ObjectStatus.h" 00020 #include "Go4ConditionsBase/TGo4Condition.h" 00021 00022 class TGo4PolyCond; 00023 00032 class TGo4ConditionStatus : public TGo4ObjectStatus { 00033 00034 public: 00035 00036 TGo4ConditionStatus(); 00037 00038 TGo4ConditionStatus(TGo4Condition* condition); 00039 00040 virtual ~TGo4ConditionStatus() ; 00041 00044 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00045 00051 TGo4Condition* GetCondition(Bool_t chown=kFALSE) 00052 { 00053 TGo4Condition* retval=fxCondition; 00054 if(chown) fxCondition=0; 00055 return retval; 00056 } 00057 00058 Int_t GetArrayType() const { return fiArrayType; } 00059 00060 Bool_t IsHistogram() const { return fbIsHistogram; } 00061 00062 const char* GetHistogram() const { return fxHistogram.Data(); } 00063 00064 protected: 00065 00067 Int_t ConditionSize(TGo4PolyCond* polly); 00068 00069 private: 00070 TGo4Condition* fxCondition; 00071 00073 Int_t fiArrayType; 00074 00076 Bool_t fbIsHistogram; 00077 00079 TString fxHistogram; 00080 00081 ClassDef(TGo4ConditionStatus,1) 00082 00083 }; 00084 00085 #endif //TGO4CONDITIONSTATUS_H 00086 00087 //----------------------------END OF GO4 SOURCE FILE ---------------------