Changeset 8945 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 06/12/08 17:46:52 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawRead.cc
r8352 r8945 170 170 // if there is no next event anymore stop eventloop 171 171 // 172 const Int_t rc = fRawEvtHeader->ReadEvt(fin, ver );172 const Int_t rc = fRawEvtHeader->ReadEvt(fin, ver, fRawRunHeader->GetHeaderSizeEvt()); 173 173 if (rc==kCONTINUE && fForceMode==kFALSE) 174 174 { … … 176 176 return kFALSE; 177 177 } 178 if (rc==kFALSE) 179 return kFALSE; 178 180 179 181 // … … 205 207 for (int i=0; i<nc; i++) 206 208 { 207 fRawCrateArray->GetEntry(i)->ReadEvt(fin, ver); 208 if (!fin) 209 if (!fRawCrateArray->GetEntry(i)->ReadEvt(fin, ver, fRawRunHeader->GetHeaderSizeCrate())) 209 210 return kFALSE; 210 211
Note:
See TracChangeset
for help on using the changeset viewer.