Changeset 4575 for trunk/MagicSoft/Mars/merpp.cc
- Timestamp:
- 08/11/04 10:35:11 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/merpp.cc
r4452 r4575 8 8 #include "MSqlInsertRun.h" 9 9 #include "MRawFileWrite.h" 10 11 #include "MReportFileRead.h" 10 #include "MReportFileReadCC.h" 12 11 #include "MWriteRootFile.h" 13 12 … … 77 76 gLog << " --start=yyyy-mm-dd/hh:mm:ss.mmm Start event time for merpping report files" << endl; 78 77 gLog << " --stop=yyyy-mm-dd/hh:mm:ss.mmm Stop event time for merpping report files" << endl; 79 gLog << " --run=# Only data corresponding to this run number" << endl; 78 gLog << " --run=# Only data corresponding to this run number (from RUN-REPORT)" << endl; 79 gLog << " --runfile=# Check that CC file corresponds to this run (from .rep header)" << endl; 80 gLog << " --sumfile Check that CC file is a all night summary (from .rep header)" << endl; 81 gLog << " --allfiles Don't check file type for CC files <default>" << endl; 80 82 gLog << " --debug[=n] Enable root debugging (Default: gDebug=1)" << endl; 81 83 gLog << " -?, -h, --help This help" << endl << endl; … … 133 135 const Int_t kRunNumber = arg.HasOption("--run=") ? arg.GetIntAndRemove("--run=") : -1; 134 136 const TString kSqlDataBase(arg.GetStringAndRemove("--sql=")); 137 138 Int_t kRunFile = arg.HasOption("--runfile=") ? arg.GetIntAndRemove("--runfile=") : -1; 139 if (arg.HasOnlyAndRemove("--sumfile")) 140 kRunFile = 0; 135 141 136 142 if (kTimeStart) … … 284 290 write = w; 285 291 286 MReportFileRead *r = new MReportFileRead(kNamein);292 MReportFileReadCC *r = new MReportFileReadCC(kNamein); 287 293 r->SetTimeStart(kTimeStart); 288 294 r->SetTimeStop(kTimeStop); … … 294 300 else 295 301 { 302 r->SetRunNumber(kRunFile); 296 303 r->AddToList("MReportCC"); 297 304 //r->AddToList("MReportDAQ");
Note:
See TracChangeset
for help on using the changeset viewer.