KaliVeda
Toolkit for HIC analysis
KVDataRepositoryManager.h
1 /*
2 $Id: KVDataRepositoryManager.h,v 1.4 2007/11/16 13:41:32 franklan Exp $
3 $Revision: 1.4 $
4 $Date: 2007/11/16 13:41:32 $
5 */
6 
9 
10 #ifndef __KVDATAREPOSITORYMANAGER_H
11 #define __KVDATAREPOSITORYMANAGER_H
12 
13 #include "TList.h"
14 class KVDataRepository;
15 class KVDataSet;
16 
48 private:
50 
51 protected:
52 
53 public:
54 
57 
58  void Init();
60  {
61  return &fRepositories;
62  };
63  KVDataRepository* GetRepository(const Char_t* name) const;
64 
65  KVDataSet* GetDataSet(const Char_t* repository, const Char_t* dataset) const;
66 
67  void Print(Option_t* opt = "") const;
68 
69  ClassDef(KVDataRepositoryManager, 1) //Handles available data repositories
70 };
71 
73 R__EXTERN KVDataRepositoryManager* gDataRepositoryManager;
74 
75 #endif
#define R__EXTERN
char Char_t
const char Option_t
#define ClassDef(name, id)
Manages access to one or more data repositories.
KVDataRepository * GetRepository(const Char_t *name) const
KVDataRepositoryManager()
Default constructor.
KVDataSet * GetDataSet(const Char_t *repository, const Char_t *dataset) const
Return pointer to named dataset in the given repository.
const TList * GetListOfRepositories() const
virtual ~ KVDataRepositoryManager()
void Print(Option_t *opt="") const
TList fRepositories
list of available repositories
Base class for managing repositories of experimental data.
Manage an experimental dataset corresponding to a given experiment or campaign.
Definition: KVDataSet.h:35