AliTPCConfigDA.cxx Simple text configuration file parser
[u/mrichter/AliRoot.git] / TPC / AliTPCConfigDA.h
CommitLineData
92793671 1#ifndef ALITPCCONFIGDA_H
2#define ALITPCCONFIGDA_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5#include <TObject.h>
6
7class TMap;
8
9class AliTPCConfigDA : public TObject{
10
11public:
12 AliTPCConfigDA();
13 AliTPCConfigDA(const char* cfgfile);
14 AliTPCConfigDA(const AliTPCConfigDA &cfg);
15 AliTPCConfigDA& operator = (const AliTPCConfigDA &cfg);
16
17 virtual ~AliTPCConfigDA();
18
19 Int_t ParseConfigFileTxt(const char* cfgfile);
20 Float_t GetValue(const char* name);
21
22 const TMap* GetConfigurationMap() const {return fConfigMap;}
23 void ResetMap();
24
25private:
26 TMap *fConfigMap;
27
28 ClassDef(AliTPCConfigDA, 1) // TPC DA configuration file parser
29};
30#endif