Ignore:
Timestamp:
06/12/08 17:46:52 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawRead.cc

    r8352 r8945  
    170170    // if there is no next event anymore stop eventloop
    171171    //
    172     const Int_t rc = fRawEvtHeader->ReadEvt(fin, ver);
     172    const Int_t rc = fRawEvtHeader->ReadEvt(fin, ver, fRawRunHeader->GetHeaderSizeEvt());
    173173    if (rc==kCONTINUE && fForceMode==kFALSE)
    174174    {
     
    176176        return kFALSE;
    177177    }
     178    if (rc==kFALSE)
     179        return kFALSE;
    178180
    179181    //
     
    205207    for (int i=0; i<nc; i++)
    206208    {
    207         fRawCrateArray->GetEntry(i)->ReadEvt(fin, ver);
    208         if (!fin)
     209        if (!fRawCrateArray->GetEntry(i)->ReadEvt(fin, ver, fRawRunHeader->GetHeaderSizeCrate()))
    209210            return kFALSE;
    210211
Note: See TracChangeset for help on using the changeset viewer.