/[PAMELA software]/DarthVader/ToFLevel2/src/ToFCore.cpp
ViewVC logotype

Diff of /DarthVader/ToFLevel2/src/ToFCore.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.49 by mocchiut, Tue May 15 14:31:34 2012 UTC revision 1.50 by mocchiut, Sat May 19 06:25:29 2012 UTC
# Line 466  int ToFCore(UInt_t run, TFile *file, GL_ Line 466  int ToFCore(UInt_t run, TFile *file, GL_
466      stringstream myquery;      stringstream myquery;
467      myquery.str("");      myquery.str("");
468      myquery << "SET time_zone='+0:00'";      myquery << "SET time_zone='+0:00'";
469      dbc->Query(myquery.str().c_str());      delete dbc->Query(myquery.str().c_str());
470      dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc);      dbtime = new GL_TIMESYNC(runinfo->ID_ROOT_L0,"ID",dbc);
471      //      //
472      // Search in the DB the path and name of the LEVEL0 file to be processed.      // Search in the DB the path and name of the LEVEL0 file to be processed.
# Line 491  int ToFCore(UInt_t run, TFile *file, GL_ Line 491  int ToFCore(UInt_t run, TFile *file, GL_
491      //      //
492      // Open Level0 file      // Open Level0 file
493      //      //
494        if ( l0File ) l0File->Close();
495      l0File = new TFile(fname.Data());      l0File = new TFile(fname.Data());
496      if ( !l0File ) {      if ( !l0File ) {
497        if ( verbose ) printf(" TOF - ERROR: problems opening  Level0 file\n");        if ( verbose ) printf(" TOF - ERROR: problems opening  Level0 file\n");

Legend:
Removed from v.1.49  
changed lines
  Added in v.1.50

  ViewVC Help
Powered by ViewVC 1.1.23