/[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.1 by mocchiut, Fri May 19 13:15:25 2006 UTC revision 1.3 by mocchiut, Tue Jun 27 13:57:43 2006 UTC
# Line 434  int main(int numinp, char *inps[]){ Line 434  int main(int numinp, char *inps[]){
434        stringstream strun;        stringstream strun;
435        strun.str("");        strun.str("");
436        strun << run;        strun << run;
437          filename += outDir;
438          filename += "/";
439        filename += strun.str();        filename += strun.str();
440        filename += ".Level2.root";        filename += ".Level2.root";
441      };      };
442      filename = outDir + "/" + filename;      //    filename = outDir + "/" + filename;
443      processFile = new TFile(filename.Data(),"UPDATE");      processFile = new TFile(filename.Data(),"UPDATE");
444      if ( !processFile->IsOpen() ) throw -15;          if ( !processFile->IsOpen() ) throw -15;    
445      //      //
# Line 502  int main(int numinp, char *inps[]){ Line 504  int main(int numinp, char *inps[]){
504      case -8:   message += " No Header branch in LEVEL0 Physics tree"; break;      case -8:   message += " No Header branch in LEVEL0 Physics tree"; break;
505      case -9:   message += " No Registry branch in LEVEL0 Physics tree"; break;      case -9:   message += " No Registry branch in LEVEL0 Physics tree"; break;
506      case -11:  message += " LEVEL0 Physics tree is empty"; break;      case -11:  message += " LEVEL0 Physics tree is empty"; break;
507      case -12:  message += " LEVEL2 output directory does not exists"; break;      case -12:  message += " Too few entries in the registry tree"; break;
508      case -13:  message += " Cannot create processFolder directory"; break;      case -13:  message += " Cannot create processFolder directory"; break;
509      case -14:  message += " Error querying the DB"; break;      case -14:  message += " Error querying the DB"; break;
510      case -15:  message += " Cannot open file for writing"; break;      case -15:  message += " Cannot open file for writing"; break;
# Line 571  int main(int numinp, char *inps[]){ Line 573  int main(int numinp, char *inps[]){
573      case -802: message += " RUNINFO - Cannot open file for writing"; break;      case -802: message += " RUNINFO - Cannot open file for writing"; break;
574      case -803: message += " RUNINFO - Updating but no RunInfo tree in Level2 file"; break;      case -803: message += " RUNINFO - Updating but no RunInfo tree in Level2 file"; break;
575      case -804: message += " RUNINFO - Unknown detector"; break;      case -804: message += " RUNINFO - Unknown detector"; break;
576        case -805: message += " RUNINFO - Reprocessing data but no RunInfo tree in Level2 file"; break;
577        //        //
578      default: message += "Unidentified error or warning"; break;      default: message += "Unidentified error or warning"; break;
579      };      };

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.23