Changeset 3818
- Timestamp:
- 04/23/04 09:43:13 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreport/MReportRun.cc
r3817 r3818 47 47 // is expected. 48 48 // 49 MReportRun::MReportRun() : MReport("RUN-REPORT", kFALSE), fRunNumber( 0)49 MReportRun::MReportRun() : MReport("RUN-REPORT", kFALSE), fRunNumber(-1) 50 50 { 51 51 fName = "MReportRun"; … … 59 59 Int_t MReportRun::InterpreteBody(TString &str) 60 60 { 61 const Int_t pos = str.First(' ');62 if ( pos<0)61 const Int_t ws = str.First(' '); 62 if (ws<0) 63 63 { 64 64 *fLog << warn << "WARNING - Token not found." << endl; 65 65 return kCONTINUE; 66 66 } 67 const TString tok=str(0, pos);67 const TString tok=str(0, ws); 68 68 69 str.Remove(0, pos);69 str.Remove(0, ws); 70 70 str = str.Strip(TString::kBoth); 71 71 … … 82 82 { 83 83 if (fRunNumber!=-1) 84 *fLog << warn << "WARNING - RUN-REPORT STOP missing ." <<endl;84 *fLog << warn << "WARNING - RUN-REPORT STOP missing for run #" << dec << fRunNumber << endl; 85 85 fRunNumber = run; 86 86 } … … 88 88 { 89 89 if (fRunNumber==-1) 90 *fLog << warn << "WARNING - RUN-REPORT START missing ."<< endl;90 *fLog << warn << "WARNING - RUN-REPORT START missing for run #" << dec << fRunNumber << endl; 91 91 fRunNumber = -1; 92 92 }
Note:
See TracChangeset
for help on using the changeset viewer.