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

/Go4StatusAnalysis/TGo4TreeStructure.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 TGO4TREESTRUCTURE_H
00017 #define TGO4TREESTRUCTURE_H
00018 
00019 #include "Go4StatusBase/TGo4Status.h"
00020 #include "TFolder.h"
00021 #include "TList.h"
00022 
00029 class TGo4TreeStructure : public TGo4Status {
00030 
00031   friend class TGo4Analysis;
00032   friend class TGo4AnalysisObjectManager;
00033 
00034   public:
00035 
00037     TGo4TreeStructure(){}
00038 
00039     virtual ~TGo4TreeStructure();
00040 
00042     TList * GetFolderList() { return (fxTopFolder==0) ? 0 : dynamic_cast<TList*> (fxTopFolder->GetListOfFolders()); }
00043 
00045     TFolder * GetNamesFolder(Bool_t chown=kFALSE)
00046        {
00047            TFolder* reval=fxTopFolder;
00048            if(chown) fxTopFolder=0;
00049            return reval;
00050        }
00051 
00052   private:
00053 
00055     TFolder * fxTopFolder;
00056 
00058     TGo4TreeStructure(const char* name);
00059 
00060   ClassDef(TGo4TreeStructure,1)
00061 };
00062 
00063 #endif //TGO4TREESTRUCTURE_H
00064 
00065 //----------------------------END OF GO4 SOURCE FILE ---------------------

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