Changeset 18533 for trunk/Mars/mcorsika


Ignore:
Timestamp:
08/05/16 16:04:28 (8 years ago)
Author:
tbretz
Message:
Use the total number of events in the RUNE sections for the comparison.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mcorsika/MCorsikaRead.cc

    r14892 r18533  
    675675{
    676676
    677     const UInt_t n = fNumEvents*fRunHeader->GetNumReuse()*(fTelescopeIdx<0?fNumTelescopes:1);
     677    const UInt_t n = fNumTotalEvents;//fNumEvents*fRunHeader->GetNumReuse()*(fTelescopeIdx<0?fNumTelescopes:1);
    678678
    679679    //
     
    684684
    685685    *fLog << warn << dec;
    686     *fLog << "Warning - number of read events (" << GetNumExecutions()-1;
    687     *fLog << ") doesn't match number in run header(s) (";
    688     *fLog << fRunHeader->GetNumReuse() << "*" << fNumEvents << "=" << n << ")." << endl;
     686    *fLog << "Warning - Number of read events (" << GetNumExecutions()-1;
     687    *fLog << ") doesn't match number in RUNE section(s) (" << n << ")";
     688    //*fLog << fRunHeader->GetNumReuse() << "*" << fNumEvents << "=" << n << ")." << endl;
    689689
    690690
Note: See TracChangeset for help on using the changeset viewer.