165 |
void CaloLevel0::InitDo(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t isdeb, Bool_t isverb){ |
void CaloLevel0::InitDo(TSQLServer *dbc, UInt_t hs, Int_t &sgnl, TTree *l0tree, Bool_t isdeb, Bool_t isverb){ |
166 |
stringstream myquery; |
stringstream myquery; |
167 |
myquery.str(""); |
myquery.str(""); |
168 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; |
169 |
dbc->Query(myquery.str().c_str()); |
dbc->Query(myquery.str().c_str()); |
170 |
// |
// |
171 |
debug = isdeb; |
debug = isdeb; |
272 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
273 |
stringstream myquery; |
stringstream myquery; |
274 |
myquery.str(""); |
myquery.str(""); |
275 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; |
276 |
dbc->Query(myquery.str().c_str()); |
dbc->Query(myquery.str().c_str()); |
277 |
// |
// |
278 |
Int_t sig = this->ChkParamDo(dbc,runheader,mechal); |
Int_t sig = this->ChkParamDo(dbc,runheader,mechal); |
598 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
599 |
stringstream myquery; |
stringstream myquery; |
600 |
myquery.str(""); |
myquery.str(""); |
601 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; |
602 |
dbc->Query(myquery.str().c_str()); |
dbc->Query(myquery.str().c_str()); |
603 |
// |
// |
604 |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,usetable); |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,usetable); |
618 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
619 |
stringstream myquery; |
stringstream myquery; |
620 |
myquery.str(""); |
myquery.str(""); |
621 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; |
622 |
dbc->Query(myquery.str().c_str()); |
dbc->Query(myquery.str().c_str()); |
623 |
// |
// |
624 |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,true); |
Int_t sig = CalcCrossTalkCorrDo(dbc,runheader,true); |
2189 |
if ( !dbc->IsConnected() ) throw -116; |
if ( !dbc->IsConnected() ) throw -116; |
2190 |
stringstream myquery; |
stringstream myquery; |
2191 |
myquery.str(""); |
myquery.str(""); |
2192 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'; SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';"; |
2193 |
dbc->Query(myquery.str().c_str()); |
dbc->Query(myquery.str().c_str()); |
2194 |
Int_t sgnl = 0; |
Int_t sgnl = 0; |
2195 |
// |
// |