Changeset 19669 for trunk/Mars/mcorsika


Ignore:
Timestamp:
09/23/19 18:26:17 (5 years ago)
Author:
tbretz
Message:
Allow to access the number of files, fNumTelescopes should be unsigned.
File:
1 edited

Legend:

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

    r19535 r19669  
    4141    MParList *fParList;        //! tasklist to call ReInit from
    4242
    43     Int_t fNumTelescopes;     //! Number of telescopes in array
     43    UInt_t fNumTelescopes;     //! Number of telescopes in array
    4444    Int_t  fNumTelescope;      //! Number of telescope currently being read
    4545    TArrayF fTelescopeX;       //! x pos (measured towards north, unit: cm)
     
    9393    UInt_t GetEntries() { return fNumTotalEvents/*/fInterleave*/; }
    9494
     95    UInt_t GetNumFiles() { return fFileNames->GetEntries(); }
     96
    9597    Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
    9698
Note: See TracChangeset for help on using the changeset viewer.