00001 // $Id: TGo4AnalysisObjectNames.h 478 2009-10-29 12:26:09Z linev $ 00002 //----------------------------------------------------------------------- 00003 // The GSI Online Offline Object Oriented (Go4) Project 00004 // Experiment Data Processing at EE department, GSI 00005 //----------------------------------------------------------------------- 00006 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH 00007 // Planckstr. 1, 64291 Darmstadt, Germany 00008 // Contact: http://go4.gsi.de 00009 //----------------------------------------------------------------------- 00010 // This software can be used under the license agreements as stated 00011 // in Go4License.txt file which is part of the distribution. 00012 //----------------------------------------------------------------------- 00013 00014 #ifndef TGO4ANALYSISOBJECTNAMES_H 00015 #define TGO4ANALYSISOBJECTNAMES_H 00016 00017 #include "TGo4Status.h" 00018 00019 class TList; 00020 class TFolder; 00021 00028 class TGo4AnalysisObjectNames : public TGo4Status { 00029 00030 friend class TGo4Analysis; 00031 friend class TGo4AnalysisObjectManager; 00032 00033 public: 00034 00036 TGo4AnalysisObjectNames(); 00037 00038 virtual ~TGo4AnalysisObjectNames(); 00039 00040 void SetTopFolder(TFolder* f) { fxTopFolder = f; } 00041 00043 TList * GetFolderList(); 00044 00046 TFolder * GetNamesFolder(Bool_t chown=kFALSE); 00047 00050 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00051 00053 Int_t PrintFolder(TFolder* fold, Text_t * buf, Int_t buflen=0); 00054 00055 private: 00056 00059 TFolder * fxTopFolder; 00060 00062 TGo4AnalysisObjectNames(const char* name); 00063 00064 ClassDef(TGo4AnalysisObjectNames,1) 00065 }; 00066 00067 #endif //TGO4ANALYSISOBJECTNAMES_H