Changeset 4041
- Timestamp:
- 05/10/04 18:41:20 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
r4040 r4041 317 317 Int_t MRawEvtHeader::ReadEvt(istream &fin, UShort_t ver) 318 318 { 319 Bool_t rc = kTRUE; 320 319 321 fin.read((char*)&fDAQEvtNumber, 4); // Total=4 320 322 … … 324 326 if (ver>2) 325 327 if (!DecodeTime(abstime)) 326 { 327 // Skip the rest of the header in case of merpps force-mode 328 fin.seekg(GetNumBytes()-12, ios::cur); 329 return kCONTINUE; 330 } 328 rc = kCONTINUE; 331 329 332 330 Byte_t dummy[4]; … … 346 344 fin.read((char*)&dummy, 4); 347 345 348 return !fin.eof();346 return fin.eof() ? kFALSE : rc; 349 347 } 350 348
Note:
See TracChangeset
for help on using the changeset viewer.