Ignore:
Timestamp:
05/04/04 18:28:59 (21 years ago)
Author:
reyes
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MRunIter.cc

    r3944 r3966  
    5252        p = ".";
    5353
    54     MDirIter Next(p, Form("*_%05d_*_*.root", run), -1);
     54    MDirIter Next(p, Form("*_%05d_*_%s", run,fIsRawFile?"*.raw":"*.root"), -1);
    5555
    5656    const TString name(Next());
  • trunk/MagicSoft/Mars/mbase/MRunIter.h

    r3874 r3966  
    1515    TString fPath;
    1616    TArrayI fRuns;
     17
     18    Bool_t fIsRawFile;
     19
     20    void SetRawFile(Bool_t filetype) { fIsRawFile = filetype; }
    1721
    1822    void AddRunNumber(UInt_t run)
     
    3943
    4044public:
    41     MRunIter(const char *path=0) : fPath(path) { }
     45    MRunIter(const char *path=0) : fPath(path), fIsRawFile(0) { }
    4246
    4347    Int_t AddRun(UInt_t run, const char *path=0);
Note: See TracChangeset for help on using the changeset viewer.