94 |
const TString psw = glt->CGetPsw(); |
const TString psw = glt->CGetPsw(); |
95 |
TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
96 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
97 |
|
stringstream myquery; |
98 |
|
myquery.str(""); |
99 |
|
myquery << "SET time_zone='+0:00'"; |
100 |
|
dbc->Query(myquery.str().c_str()); |
101 |
// |
// |
102 |
debug = isdeb; |
debug = isdeb; |
103 |
verbose = isverb; |
verbose = isverb; |
198 |
const TString psw = glt->CGetPsw(); |
const TString psw = glt->CGetPsw(); |
199 |
TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
200 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
201 |
|
stringstream myquery; |
202 |
|
myquery.str(""); |
203 |
|
myquery << "SET time_zone='+0:00'"; |
204 |
|
dbc->Query(myquery.str().c_str()); |
205 |
// |
// |
206 |
stringstream calfile; |
stringstream calfile; |
207 |
stringstream bmfile; |
stringstream bmfile; |
1026 |
const TString psw = glt->CGetPsw(); |
const TString psw = glt->CGetPsw(); |
1027 |
TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
TSQLServer *dbc = TSQLServer::Connect(host.Data(),user.Data(),psw.Data()); |
1028 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
1029 |
|
stringstream myquery; |
1030 |
|
myquery.str(""); |
1031 |
|
myquery << "SET time_zone='+0:00'"; |
1032 |
|
dbc->Query(myquery.str().c_str()); |
1033 |
Int_t sgnl = 0; |
Int_t sgnl = 0; |
1034 |
// |
// |
1035 |
GL_CALO_CALIB *glcalo = new GL_CALO_CALIB(); |
GL_CALO_CALIB *glcalo = new GL_CALO_CALIB(); |