]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MONITOR/alionlinereco/AliOnlineReconstructionUtil.h
Fix Coverity 24835
[u/mrichter/AliRoot.git] / MONITOR / alionlinereco / AliOnlineReconstructionUtil.h
1 #ifndef __ALIONLINERECONSTRUCTION_UTIL_H__
2 #define __ALIONLINERECONSTRUCTION_UTIL_H__
3
4 // Default configuration file
5 #define ALIEVENTSERVER_CONF "onlinereco.conf"
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/cdb"
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 "aldaqdb"
27 #define DEFAULT_LOGBOOK_PORT 3306
28 #define DEFAULT_LOGBOOK_DB "LOGBOOK"
29 #define DEFAULT_LOGBOOK_USER "logbookdqm"
30 #define DEFAULT_LOGBOOK_PASS "SivaGJqi"
31 #define DEFAULT_DATA_SOURCE "local"
32 #define DEFAULT_DATA_ONLINE_SOURCE "mem@*:"
33
34 #include <TSystem.h>
35 #include <TString.h>
36
37 namespace AliOnlineReconstructionUtil
38 {
39 // return full path to the server configuration file
40         inline const char* GetPathToServerConf()
41         {
42                 return Form("%s/MONITOR/alionlinereco/%s",
43                             gSystem->Getenv("ALICE_ROOT"),
44                             ALIEVENTSERVER_CONF);
45         }
46 }
47
48 #endif