GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
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
19class TList;
20class TFolder;
21
27
29
30 friend class TGo4Analysis;
32
33 public:
34
37
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
Contains the name (key) list of all objects in the analysis scope.
TFolder * fxTopFolder
Top Level Go4 Folder with all subfolders and the analysis folder contents as TObjString instances.
TFolder * GetNamesFolder(Bool_t chown=kFALSE)
Access to the folder containing the names objects.
void PrintFolder(TFolder *fold) const
Print names of the objects in given nameslist folder into buffer.
void Print(Option_t *opt="") const override
basic method to printout status information on stdout; to be overridden by specific subclass
TList * GetFolderList()
Access to the list of the names folder structure.
TGo4AnalysisObjectNames()
default ctor for streamer.