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 TGO4TREEHISTOGRAMENTRYSTATUS_H 00017 #define TGO4TREEHISTOGRAMENTRYSTATUS_H 00018 00019 #include "Go4DynamicList/TGo4DynamicEntryStatus.h" 00020 #include "TString.h" 00021 #include "TCut.h" 00022 00023 class TGo4DynamicEntry; 00024 class TGo4Condition; 00025 class TGo4EventDataIndex; 00026 class TTree; 00027 00032 class TGo4TreeHistogramEntryStatus : public TGo4DynamicEntryStatus { 00033 00034 friend class TGo4TreeHistogramEntry; 00035 friend class TGo4DynamicList; 00036 friend class TGo4EditDynEntryStatus; 00037 00038 public: 00039 00041 TGo4TreeHistogramEntryStatus(){} 00042 00043 virtual ~TGo4TreeHistogramEntryStatus(); 00044 00045 virtual void Print(Option_t * dummy="") const; 00046 00047 virtual const Text_t * GetHistogramName(); 00048 00049 const char* GetTreeName() const { return fxTreeName.Data(); } 00050 00051 const char* GetVarexp() const { return fxVarexp.Data(); } 00052 00053 const TCut& GetSelection() const { return (const_cast<TCut&> (fxSelection)); } 00054 00055 Int_t GetDynListInterval() const { return fiDynListInterval; } 00056 void SetDynListInterval(Int_t value) { fiDynListInterval = value; } 00057 00058 protected: 00059 00060 virtual void SetHistogramName(const Text_t * name); 00061 00062 private: 00063 00064 void SetSelection(const TCut& cut) { fxSelection=cut; } 00065 void SetVarexp(const TString& ex) { fxVarexp=ex; } 00066 void SetTreeName(TTree * thetree); 00067 00068 void SetTreeName(const TString& name) { fxTreeName=name; } 00069 00072 TGo4TreeHistogramEntryStatus(const Text_t* name); 00073 00076 virtual TGo4DynamicEntry* CreateDynamicEntry(); 00077 00079 TString fxHistogramName; 00080 00082 TString fxTreeName; 00083 00085 TString fxVarexp; 00086 00088 TCut fxSelection; 00089 00093 Int_t fiDynListInterval; 00094 00095 ClassDef(TGo4TreeHistogramEntryStatus,3) 00096 00097 }; 00098 00099 #endif //TGO4TREEHISTOGRAMENTRYSTATUS_H 00100 00101 //----------------------------END OF GO4 SOURCE FILE ---------------------