Changeset 19696 for trunk/Mars/mcorsika


Ignore:
Timestamp:
09/27/19 21:54:07 (5 years ago)
Author:
tbretz
Message:
Fixed the caluclation of num events in case of single telescope files belonging to multi telescope setups.
File:
1 edited

Legend:

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

    r19687 r19696  
    344344
    345345            fNumTotalEvents += fRunHeader->GetNumEvents()*fRunHeader->GetNumReuse()*
    346                 (fTelescopeIdx<0 ? fNumTelescopes : 1);
     346                (fTelescopeIdx<0 && fNumTelescope==0 ? fNumTelescopes : 1);
    347347            continue;
    348348        }
Note: See TracChangeset for help on using the changeset viewer.