KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
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"
15class KVDataSet;
16
48private:
50
51protected:
52
53public:
54
56 virtual ~ KVDataRepositoryManager();
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
73R__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.
void Print(Option_t *opt="") const
TList fRepositories
list of available repositories
const TList * GetListOfRepositories() const
Base class for managing repositories of experimental data.
Manage an experimental dataset corresponding to a given experiment or campaign.
Definition KVDataSet.h:35