Changeset 1037


Ignore:
Timestamp:
11/06/01 14:27:40 (23 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r1032 r1037  
    44   * Makefile.conf.linux, Makefile.conf.linux-gnu:
    55     - removed -g flag
     6
     7   * mraw/MRawRunHeader.h:
     8     - fixed return type of GetNumEvents
    69
    710   * mraw/MRawCrateArray.[h,cc]:
  • trunk/MagicSoft/Mars/mraw/MRawFileRead.cc

    r1031 r1037  
    237237Bool_t MRawFileRead::PostProcess()
    238238{
    239     if (fRawRunHeader->GetNumEvents() != GetNumExecutions()-1)
    240         *fLog << "WARNING - number of read events doesn't match number in run header." << endl;
     239    if (fRawRunHeader->GetNumEvents() == GetNumExecutions()-1)
     240        return kTRUE;
     241
     242    *fLog << "WARNING - number of read events (" << GetNumExecutions()-1;
     243    *fLog << ") doesn't match number in run header (";
     244    *fLog << fRawRunHeader->GetNumEvents() << ")." << endl;
    241245
    242246    return kTRUE;
  • trunk/MagicSoft/Mars/mraw/MRawRunHeader.h

    r1018 r1037  
    8888    UShort_t GetNumSamplesLoGain() const  { return fNumSamplesLoGain; }
    8989    UShort_t GetNumSamplesHiGain() const  { return fNumSamplesHiGain; }
    90     UShort_t GetNumEvents() const         { return fNumEvents; }
     90    UInt_t  GetNumEvents() const         { return fNumEvents; }
    9191    UShort_t GetPixAssignment(UShort_t i) const;
    9292
Note: See TracChangeset for help on using the changeset viewer.