]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/AliTPCConfigDA.h
Making drift velocity calibration more robust
[u/mrichter/AliRoot.git] / TPC / AliTPCConfigDA.h
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 ////////////////////////////////////////////////////////////////////////////
7 //
8 // Simple configuration file parser
9 //
10 ////////////////////////////////////////////////////////////////////////////
11
12 class TMap;
13
14 class AliTPCConfigDA : public TObject{
15   
16 public:
17   AliTPCConfigDA();
18   AliTPCConfigDA(const char* cfgfile);
19   AliTPCConfigDA(const AliTPCConfigDA &cfg);
20   AliTPCConfigDA& operator = (const AliTPCConfigDA &cfg);
21  
22   virtual ~AliTPCConfigDA();
23   
24   Int_t ParseConfigFileTxt(const char* cfgfile);
25   Float_t GetValue(const char* name) const; 
26
27   const TMap* GetConfigurationMap() const {return fConfigMap;}
28   void ResetMap();
29
30 private:
31   TMap *fConfigMap;                   // Configuration map
32   
33   ClassDef(AliTPCConfigDA, 1)         // TPC DA configuration file parser
34 };
35 #endif