]>
Commit | Line | Data |
---|---|---|
1cee71ae | 1 | /* |
2 | * AliEMCALConfigHandler.h | |
3 | * | |
4 | * Created on: 06.11.2014 | |
5 | * Author: markusfasel | |
6 | */ | |
7 | ||
c4109efb | 8 | #ifndef _ALIEMCALCONFIGHANDLER_H_ |
9 | #define _ALIEMCALCONFIGHANDLER_H_ | |
1cee71ae | 10 | |
29c5adc8 | 11 | #include <string> |
1cee71ae | 12 | #include <TObject.h> |
13 | ||
14 | class AliEMCALConfiguration; | |
c4109efb | 15 | class AliJSONValue; |
1cee71ae | 16 | class TList; |
17 | ||
18 | class AliEMCALConfigHandler : public TObject { | |
19 | public: | |
20 | AliEMCALConfigHandler(); | |
21 | virtual ~AliEMCALConfigHandler(); | |
22 | ||
23 | AliEMCALConfiguration *CreateConfiguration(const char *name); | |
c4109efb | 24 | void AddParam(const char *configName, const char *key, AliJSONValue *value); |
29c5adc8 | 25 | std::string GetConfigurationString() const; |
26 | std::string GetConfigurationString(const char *configname) const; | |
97bf0336 | 27 | AliEMCALConfiguration *FindConfiguration(const char *configName) const; |
1cee71ae | 28 | |
29 | protected: | |
30 | TList *fConfiguration; | |
31 | ||
97bf0336 | 32 | private: |
33 | AliEMCALConfigHandler(const AliEMCALConfigHandler & ref); | |
34 | AliEMCALConfigHandler &operator=(const AliEMCALConfigHandler &ref); | |
35 | ||
1cee71ae | 36 | ClassDef(AliEMCALConfigHandler, 1); |
37 | }; | |
38 | ||
39 | #endif /* PWG_EMCAL_ALIEMCALCONFIGHANDLER_H_ */ |