Merging STORAGE-dev to master
[u/mrichter/AliRoot.git] / MONITOR / alieventserver / AliEventServerUtil.h
CommitLineData
7e0cf530 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
164d3d29 10#define DEFAULT_SERVER_SAVE_RECO_DIR "/opt/reco"
5eb34a26 11#define DEFAULT_CDB_STORAGE "local:///opt/OCDB/2013"
12#define DEFAULT_CDB_SPEC_STORAGE_PATH1 "opt/reco/GRP/GRP/Data"
7e0cf530 13#define DEFAULT_CDB_SPEC_STORAGE_VALUE1 ""
5eb34a26 14#define DEFAULT_CDB_SPEC_STORAGE_PATH2 "opt/reco/GRP/CTP/Config"
7e0cf530 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
164d3d29 22#define DEFAULT_RECO_WRITE_ESDF 0
7e0cf530 23#define DEFAULT_RECO_WRITE_ALIGN 1
24#define DEFAULT_RECO_CLEAN_ESD 0
5eb34a26 25#define DEFAULT_RECO_DETECTORS "ALL -PHOS -EMCAL"
26#define DEFAULT_LOGBOOK_HOST "localhost"
7e0cf530 27#define DEFAULT_LOGBOOK_PORT 3306
28#define DEFAULT_LOGBOOK_DB "logbook"
29#define DEFAULT_LOGBOOK_USER "dqm"
5eb34a26 30#define DEFAULT_LOGBOOK_PASS "dqm123"
7e0cf530 31
164d3d29 32#include <TSystem.h>
33#include <TString.h>
34
666f0fc7 35namespace AliEventServerUtil
36{
666f0fc7 37// return full path to the server configuration file
164d3d29 38 inline const char* GetPathToServerConf()
39 {
40 return Form("%s/MONITOR/%s",
41 gSystem->Getenv("ALICE_ROOT"),
42 ALIEVENTSERVER_CONF);
43 }
666f0fc7 44}
45
7e0cf530 46#endif /* __ALIEVENTSERVER_UTIL_H__ */