]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/alieventserver/AliEventServerUtil.h
Merge branch 'master' of https://git.cern.ch/reps/AliRoot
[u/mrichter/AliRoot.git] / MONITOR / alieventserver / AliEventServerUtil.h
1 #ifndef __ALIEVENTSERVER_UTIL_H__
2 #define __ALIEVENTSERVER_UTIL_H__
3
4 // Default configuration file
5 #define ALIEVENTSERVER_CONF "alieventserver.rootrc"
6
7 //______________DEFAULT SETTINGS________________
8 #define DEFAULT_SERVER_HOST "tcp://*"
9 #define DEFAULT_SERVER_PORT 5024
10 #define DEFAULT_SERVER_SAVE_RECO_DIR "/local/reco"
11 #define DEFAULT_CDB_STORAGE "local:///local/OCDB/2013"
12 #define DEFAULT_CDB_SPEC_STORAGE_PATH1 "/local/reco/GRP/GRP/Data"
13 #define DEFAULT_CDB_SPEC_STORAGE_VALUE1 ""
14 #define DEFAULT_CDB_SPEC_STORAGE_PATH2 "/local/reco/GRP/CTP/Config"
15 #define DEFAULT_CDB_SPEC_STORAGE_VALUE2 ""
16 #define DEFAULT_CDB_SPEC_STORAGE_PATH3 ""
17 #define DEFAULT_CDB_SPEC_STORAGE_VALUE3 ""
18 #define DEFAULT_QA_RUN ":"
19 #define DEFAULT_QAREF_STORAGE "local://$ALICE_ROOT/QAref"
20 #define DEFAULT_QA_RUN_GLOBAL 1
21 #define DEFAULT_RECO_RUN_PLANE_EFF 1
22 #define DEFAULT_RECO_WRITE_ESDF 0
23 #define DEFAULT_RECO_WRITE_ALIGN 1
24 #define DEFAULT_RECO_CLEAN_ESD 0
25 #define DEFAULT_RECO_DETECTORS "ALL -PHOS -EMCAL"
26 #define DEFAULT_LOGBOOK_HOST "localhost"
27 #define DEFAULT_LOGBOOK_PORT 3306
28 #define DEFAULT_LOGBOOK_DB "logbook"
29 #define DEFAULT_LOGBOOK_USER "dqm"
30 #define DEFAULT_LOGBOOK_PASS "dqm123"
31 #define DEFAULT_DATA_SOURCE "local"
32
33 #include <TSystem.h>
34 #include <TString.h>
35
36 namespace AliEventServerUtil
37 {
38 // return full path to the server configuration file
39         inline const char* GetPathToServerConf()
40         {
41                 return Form("%s/MONITOR/alieventserver/%s",
42                             gSystem->Getenv("ALICE_ROOT"),
43                             ALIEVENTSERVER_CONF);
44         }
45 }
46
47 #endif /* __ALIEVENTSERVER_UTIL_H__ */