Fixes for wrong use of const causing PW.CAST_TO_QUALIFIED_TYPE defect in Coverity
[u/mrichter/AliRoot.git] / TPC / Base / 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>
7442bceb 6////////////////////////////////////////////////////////////////////////////
7//
8// Simple configuration file parser
9//
10////////////////////////////////////////////////////////////////////////////
92793671 11
12class TMap;
13
14class AliTPCConfigDA : public TObject{
15
16public:
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);
7442bceb 25 Float_t GetValue(const char* name) const;
92793671 26
27 const TMap* GetConfigurationMap() const {return fConfigMap;}
28 void ResetMap();
29
30private:
7442bceb 31 TMap *fConfigMap; // Configuration map
92793671 32
33 ClassDef(AliTPCConfigDA, 1) // TPC DA configuration file parser
34};
35#endif