updated macros for Sigma* analysis (M- Venaruzzo)
[u/mrichter/AliRoot.git] / PWGLF / RESONANCES / AliRsnTrainManager.h
CommitLineData
0364ec3a 1//
2// *** Class AliRsnTrainManager ***
3//
4// Base class for Action
5//
6// authors: Martin Vala (martin.vala@cern.ch)
7// Jan Musinsky (jan.musinsky@cern.ch)
8//
9
10#ifndef ALIRSNTRAINMANAGER_H
11#define ALIRSNTRAINMANAGER_H
12
13#include <TNamed.h>
14
15class TMap;
16
17class AliRsnTrainManager : public TNamed {
18public:
19 AliRsnTrainManager(const char *name="RsnTrainManager",const char *title="Resonances Train Manager");
20 AliRsnTrainManager(const AliRsnTrainManager &copy);
21 AliRsnTrainManager &operator=(const AliRsnTrainManager &copy);
22 virtual ~AliRsnTrainManager();
23
ae15a5ec 24 static void SetGlobalStr(const char *key, const char *value,Bool_t verbose=kTRUE);
25 static void SetGlobalInt(const char *key, Int_t value,Bool_t verbose=kTRUE);
26 static void SetGlobalDbl(const char *key, Double_t value,Bool_t verbose=kTRUE);
27 static void SetGlobalObj(const char *key, TObject *value,Bool_t verbose=kTRUE);
0364ec3a 28
29 static const char *GetGlobalStr(const char *key, Bool_t &valid);
30 static Int_t GetGlobalInt(const char *key, Bool_t &valid);
31 static Double_t GetGlobalDbl(const char *key, Bool_t &valid);
32 static TObject *GetGlobalObj(const char *key, Bool_t &valid);
33
34 virtual void Print(Option_t *option="") const;
35
36 TMap *GetGlobals() { return fGlobals; }
37 static AliRsnTrainManager *GetRsnTrainManager() { return fgRsnTrainManager; }
38
39private:
40 TMap *fGlobals; // Map with global variables
41 static AliRsnTrainManager *fgRsnTrainManager;
42
43 ClassDef(AliRsnTrainManager, 1)
44};
45
46#endif