392 |
stringstream myquery; |
stringstream myquery; |
393 |
myquery.str(""); |
myquery.str(""); |
394 |
myquery << "SET time_zone='+0:00'"; |
myquery << "SET time_zone='+0:00'"; |
395 |
dbc->Query(myquery.str().c_str()); |
delete dbc->Query(myquery.str().c_str()); |
396 |
|
|
397 |
dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc); |
dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc); |
398 |
// |
// |
420 |
// |
// |
421 |
// Open Level0 file |
// Open Level0 file |
422 |
// |
// |
423 |
|
if ( l0File ) l0File->Close(); |
424 |
l0File = new TFile(fname.Data()); |
l0File = new TFile(fname.Data()); |
425 |
if ( !l0File ) { |
if ( !l0File ) { |
426 |
if ( verbose ) printf(" ANTICOUNTER - ERROR: problems opening Level0 file\n"); |
if ( verbose ) printf(" ANTICOUNTER - ERROR: problems opening Level0 file\n"); |