Changeset 4178 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 05/25/04 14:23:17 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileRead.cc
r4115 r4178 278 278 // Now open next (first) file 279 279 // 280 if (!Rewind()) 281 return kFALSE; 280 // if (!Rewind()) 281 // return kFALSE; 282 283 284 fNumFile=0; 285 fNumEvents=0; 282 286 283 287 return kTRUE; … … 296 300 while (1) 297 301 { 298 // 299 // skip events if requested 300 // 301 if (fInterleave>1 && GetNumExecutions()%fInterleave>0 && fIn->peek()!=EOF) 302 if (fIn) 302 303 { 303 SkipEvent(*fIn); 304 return kCONTINUE; 304 // 305 // skip events if requested 306 // 307 if (fInterleave>1 && GetNumExecutions()%fInterleave>0 && fIn->peek()!=EOF) 308 { 309 SkipEvent(*fIn); 310 return kCONTINUE; 311 } 312 313 // 314 // Read a single event from file 315 // 316 const Bool_t rc = ReadEvent(*fIn); 317 if (rc!=kFALSE) 318 return rc; 305 319 } 306 307 //308 // Read a single event from file309 //310 const Bool_t rc = ReadEvent(*fIn);311 if (rc!=kFALSE)312 return rc;313 320 314 321 // … … 318 325 return kFALSE; 319 326 } 320 return kTRUE; 327 return kTRUE; 321 328 } 322 329
Note:
See TracChangeset
for help on using the changeset viewer.