Changeset 3966 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 05/04/04 18:28:59 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MRunIter.cc
r3944 r3966 52 52 p = "."; 53 53 54 MDirIter Next(p, Form("*_%05d_*_ *.root", run), -1);54 MDirIter Next(p, Form("*_%05d_*_%s", run,fIsRawFile?"*.raw":"*.root"), -1); 55 55 56 56 const TString name(Next()); -
trunk/MagicSoft/Mars/mbase/MRunIter.h
r3874 r3966 15 15 TString fPath; 16 16 TArrayI fRuns; 17 18 Bool_t fIsRawFile; 19 20 void SetRawFile(Bool_t filetype) { fIsRawFile = filetype; } 17 21 18 22 void AddRunNumber(UInt_t run) … … 39 43 40 44 public: 41 MRunIter(const char *path=0) : fPath(path) { }45 MRunIter(const char *path=0) : fPath(path), fIsRawFile(0) { } 42 46 43 47 Int_t AddRun(UInt_t run, const char *path=0);
Note:
See TracChangeset
for help on using the changeset viewer.