GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
TGo4AnalysisObjectNames.h
Go to the documentation of this file.
1 // $Id$
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 #ifndef TGO4ANALYSISOBJECTNAMES_H
15 #define TGO4ANALYSISOBJECTNAMES_H
16 
17 #include "TGo4Status.h"
18 
19 class TList;
20 class TFolder;
21 
29 
30  friend class TGo4Analysis;
32 
33  public:
34 
37 
38  virtual ~TGo4AnalysisObjectNames();
39 
40  void SetTopFolder(TFolder *f) { fxTopFolder = f; }
41 
43  TList *GetFolderList();
44 
46  TFolder *GetNamesFolder(Bool_t chown = kFALSE);
47 
50  void Print(Option_t *opt = "") const override;
51 
53  void PrintFolder(TFolder *fold) const;
54 
55  private:
56 
59  TFolder *fxTopFolder{nullptr};
60 
62  TGo4AnalysisObjectNames(const char *name);
63 
64  ClassDefOverride(TGo4AnalysisObjectNames,1)
65 };
66 
67 #endif //TGO4ANALYSISOBJECTNAMES_H
TFolder * GetNamesFolder(Bool_t chown=kFALSE)
void PrintFolder(TFolder *fold) const
void Print(Option_t *opt="") const override