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 TGO4ANALYSISOBJECTNAMES_H 00017 #define TGO4ANALYSISOBJECTNAMES_H 00018 00019 #include "Go4StatusBase/TGo4Status.h" 00020 #include "TFolder.h" 00021 00022 class TList; 00023 00030 class TGo4AnalysisObjectNames : public TGo4Status { 00031 00032 friend class TGo4Analysis; 00033 friend class TGo4AnalysisObjectManager; 00034 00035 public: 00036 00038 TGo4AnalysisObjectNames(){} 00039 00040 virtual ~TGo4AnalysisObjectNames(); 00041 00043 TList * GetFolderList() 00044 { 00045 if(fxTopFolder) 00046 return dynamic_cast<TList*> (fxTopFolder->GetListOfFolders()); 00047 else 00048 return 0; 00049 } 00050 00052 TFolder * GetNamesFolder(Bool_t chown=kFALSE) 00053 { 00054 TFolder* reval=fxTopFolder; 00055 if(chown) fxTopFolder=0; 00056 return reval; 00057 } 00058 00061 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00062 00064 Int_t PrintFolder(TFolder* fold, Text_t * buf, Int_t buflen=0); 00065 00066 private: 00067 00070 TFolder * fxTopFolder; 00071 00073 TGo4AnalysisObjectNames(const char* name); 00074 00075 ClassDef(TGo4AnalysisObjectNames,1) 00076 }; 00077 00078 #endif //TGO4ANALYSISOBJECTNAMES_H 00079 00080 //----------------------------END OF GO4 SOURCE FILE ---------------------