Line data Source code
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 : /// \class AliTPCConfigDA
7 : /// \brief Simple configuration file parser
8 :
9 : class TMap;
10 :
11 : class AliTPCConfigDA : public TObject{
12 :
13 : public:
14 : AliTPCConfigDA();
15 : AliTPCConfigDA(const char* cfgfile);
16 : AliTPCConfigDA(const AliTPCConfigDA &cfg);
17 : AliTPCConfigDA& operator = (const AliTPCConfigDA &cfg);
18 :
19 : virtual ~AliTPCConfigDA();
20 :
21 : Int_t ParseConfigFileTxt(const char* cfgfile);
22 : Float_t GetValue(const char* name) const;
23 :
24 0 : const TMap* GetConfigurationMap() const {return fConfigMap;}
25 : void ResetMap();
26 :
27 : private:
28 : TMap *fConfigMap; ///< Configuration map
29 :
30 : /// \cond CLASSIMP
31 24 : ClassDef(AliTPCConfigDA, 1) // TPC DA configuration file parser
32 : /// \endcond
33 : };
34 : #endif
|