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

Diff of /DarthVader/src/DarthVader.cpp

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

revision 1.53 by mocchiut, Thu Aug 28 13:43:50 2014 UTC revision 1.56 by mocchiut, Mon Jan 19 12:32:20 2015 UTC
# Line 638  int main(int numinp, char *inps[]){ Line 638  int main(int numinp, char *inps[]){
638      //      //
639      stringstream myquery;      stringstream myquery;
640      myquery.str("");      myquery.str("");
641      myquery << "SET time_zone='+0:00'";      myquery << "SET time_zone='+0:00';";
642      dbc->Query(myquery.str().c_str());      delete dbc->Query(myquery.str().c_str());
643      myquery.str("");      myquery.str("");
644      myquery << "SET wait_timeout=173000;";      myquery << "SET wait_timeout=173000;";
645      dbc->Query(myquery.str().c_str());      delete dbc->Query(myquery.str().c_str());
646        delete dbc->Query("SET sql_mode = 'NO_UNSIGNED_SUBTRACTION';");
647      //      //
648      //      //
649      // Create LEVEL2 filename and open it in update mode      // Create LEVEL2 filename and open it in update mode
# Line 1085  int main(int numinp, char *inps[]){ Line 1086  int main(int numinp, char *inps[]){
1086        //        //
1087      case -900: message += " OrbitalInfo - no ToF tree"; break;      case -900: message += " OrbitalInfo - no ToF tree"; break;
1088      case -901: message += " OrbitalInfo - Mismatch between tracker and tof tree branches concerning extended tracking algorithm(s)"; break;      case -901: message += " OrbitalInfo - Mismatch between tracker and tof tree branches concerning extended tracking algorithm(s)"; break;
1089        case -902: message += " OrbitalInfo - GM_ScanIGRF error while looking for IGRF.tab"; break;
1090        case -903: message += " OrbitalInfo - no trk tree"; break;
1091        case -904: message += " OrbitalInfo - cannot find tof events in Level2 file"; break;
1092        case -905: message += " OrbitalInfo - cannot find trk events in Level2 file"; break;
1093        case -906: message += " OrbitalInfo - current date is beyond the latest secular variation file time window. Please update IGRF files to process data "; break;
1094       //       //
1095      default: message += "Unidentified error or warning"; break;      default: message += "Unidentified error or warning"; break;
1096      };      };

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.23