Changeset 8221 for trunk/MagicSoft/Mars/mjobs/MSequence.cc
- Timestamp:
- 12/11/06 14:57:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MSequence.cc
r7808 r8221 203 203 TString d(path); 204 204 205 const Bool_t def = d.IsNull(); 206 205 207 // Setup path 206 if (d .IsNull())208 if (def) 207 209 { 208 210 d = GetStandardPath(); … … 289 291 } 290 292 291 return iter.GetNumEntries(); 293 const Int_t n0 = iter.GetNumEntries(); 294 const Int_t n1 = arr.GetSize(); 295 if (n0==0) 296 { 297 *fLog << err; 298 *fLog < "ERROR - No input files for sequence #" << GetSequence() << endl; 299 *fLog << " read from " << GetName() << endl; 300 *fLog << " found in" << (def?" default-path ":" ") << d << endl; 301 return 0; 302 } 303 304 if (n0==n1) 305 return n0; 306 307 *fLog << err; 308 *fLog << "ERROR - " << n0 << " input files for sequence #" << GetSequence() << " found in" << endl; 309 *fLog << " " << (def?" default-path ":" ") << d << endl; 310 *fLog << " but " << n1 << " files were defined in sequence file" << endl; 311 *fLog << " " << GetName() << endl; 312 if (fLog->GetDebugLevel()<=4) 313 return 0; 314 315 *fLog << dbg << "Files which are searched for this sequence:" << endl; 316 iter.Print(); 317 return 0; 292 318 } 293 319
Note:
See TracChangeset
for help on using the changeset viewer.