]>
Commit | Line | Data |
---|---|---|
1cee71ae | 1 | /* |
2 | * AliEMCALConfiguration.h | |
3 | * | |
4 | * Created on: 06.11.2014 | |
5 | * Author: markusfasel | |
6 | */ | |
7 | ||
8 | #ifndef PWG_EMCAL_ALIEMCALCONFIGURATION_H_ | |
9 | #define PWG_EMCAL_ALIEMCALCONFIGURATION_H_ | |
10 | ||
11 | #include <TNamed.h> | |
12 | ||
13 | class TList; | |
14 | ||
15 | class AliEMCALConfiguration : public TNamed { | |
16 | public: | |
17 | AliEMCALConfiguration(const char *name); | |
18 | virtual ~AliEMCALConfiguration(); | |
19 | ||
20 | void AddParam(const char *name, AliEMCALConfigurationValue *value); | |
21 | void AddConfiguration(AliEMCALConfiguration * conf); | |
22 | void Build(const char * jsonstring); | |
23 | void Build(TList *entries); | |
24 | const char *CreateJSONString() const; | |
25 | ||
26 | TObject *GetValue(const char *key); | |
27 | ||
28 | protected: | |
29 | TList *fParams; | |
30 | ||
31 | ClassDef(AliEMCALConfiguration, 1); | |
32 | }; | |
33 | ||
34 | #endif /* PWG_EMCAL_ALIEMCALCONFIGURATION_H_ */ |