49 : Service(name, svcloc) {
50
51 declareProperty("Host", m_host = std::string("202.122.33.123"));
52 declareProperty("DbName", m_dbName = std::string("tof40t_linux"));
53 declareProperty("TableName", m_table = std::string("MDCLayerVmon"));
54 declareProperty("UserName", m_userName = std::string("guest"));
55 declareProperty("Password", m_password = std::string("guestpass"));
56 declareProperty("Port", m_port=6175);
57 declareProperty("IgnoreLayer_21_24",m_ignoreLayer_21_24=true);
58 declareProperty("RelativeHvDropThreshold",m_relativeHvDropThreshold=0.007);
59 declareProperty("FetchHvDataLengthInSeconds",m_fetchLength=5*3600);
60 declareProperty("UseEtsT1",m_useEtsT1=0);
61 declareProperty("EtsT1OffSet",m_etsT1Offset=0);
62
63
64 declareProperty("Host2", m_host2 = std::string("bes3db2.ihep.ac.cn"));
65 declareProperty("DbName2", m_dbName2 = std::string("run"));
66 declareProperty("TableName2", m_table2 = std::string("RunParams"));
67 declareProperty("UserName2", m_userName2 = std::string("guest"));
68 declareProperty("Password2", m_password2 = std::string("guestpass"));
69 declareProperty("Port2", m_port2=3306);
70}