Ignore:
Timestamp:
02/18/04 15:36:57 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3183 r3226  
    199199    // Sanity check for the number of events
    200200    //
    201     if (fRawRunHeader->GetNumEvents() == GetNumExecutions()-1)
     201    if (fRawRunHeader->GetNumEvents()==GetNumExecutions()-1 || GetNumExecutions()==0)
    202202        return kTRUE;
    203203
    204     *fLog << warn << "Warning - number of read events (" << GetNumExecutions()-1;
     204    *fLog << warn << dec;
     205    *fLog << "Warning - number of read events (" << GetNumExecutions()-1;
    205206    *fLog << ") doesn't match number in run header (";
    206207    *fLog << fRawRunHeader->GetNumEvents() << ")." << endl;
Note: See TracChangeset for help on using the changeset viewer.