]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG/EMCAL/AliEMCALConfiguration.h
Creating classes handling the configurations for the Jet EMCAL train as JSON strings
[u/mrichter/AliRoot.git] / PWG / EMCAL / AliEMCALConfiguration.h
CommitLineData
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
13class TList;
14
15class AliEMCALConfiguration : public TNamed {
16public:
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
28protected:
29 TList *fParams;
30
31 ClassDef(AliEMCALConfiguration, 1);
32};
33
34#endif /* PWG_EMCAL_ALIEMCALCONFIGURATION_H_ */