/[PAMELA software]/DarthVader/AnticounterLevel2/src/AcCore.cpp
ViewVC logotype

Diff of /DarthVader/AnticounterLevel2/src/AcCore.cpp

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

revision 1.30 by mocchiut, Tue May 15 14:30:56 2012 UTC revision 1.31 by mocchiut, Sat May 19 06:25:23 2012 UTC
# Line 392  int AcCore(UInt_t run, TFile *file, GL_T Line 392  int AcCore(UInt_t run, TFile *file, GL_T
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      //      //
# Line 420  int AcCore(UInt_t run, TFile *file, GL_T Line 420  int AcCore(UInt_t run, TFile *file, GL_T
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");

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.23