]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG/EMCAL/AliEMCALConfiguration.h
Include EMCAL JSON classes in compilation
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEMCALConfiguration.h
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 private:
32   AliEMCALConfiguration(const AliEMCALConfiguration &ref);
33   AliEMCALConfiguration &operator=(const AliEMCALConfiguration &ref);
34
35   ClassDef(AliEMCALConfiguration, 1);
36 };
37
38 #endif /* PWG_EMCAL_ALIEMCALCONFIGURATION_H_ */