Changeset 5461 for trunk/MagicSoft/Mars/mbase
- Timestamp:
- 11/23/04 14:31:26 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mbase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mbase/MRunIter.cc
r5307 r5461 55 55 // Changes to read the DAQ numbering format. Changes takes place 56 56 // between runs 35487 and 00035488 (2004_08_30) 57 const char *fmt = run>35487 ? "*_%08d_*_%s" : "*_%05d_*_%s"; 57 const char *fmt; 58 if(fIsStandardFile) 59 { 60 fmt = "%05d-%s"; 61 fIsRawFile = kFALSE; 62 } 63 else 64 fmt = run>35487 ? "*_%08d_*_%s" : "*_%05d_*_%s"; 58 65 59 66 MDirIter Next; -
trunk/MagicSoft/Mars/mbase/MRunIter.h
r5209 r5461 17 17 18 18 Bool_t fIsRawFile; 19 Bool_t fIsStandardFile; 19 20 20 21 void AddRunNumber(UInt_t run) … … 44 45 45 46 void SetRawFile(Bool_t filetype) { fIsRawFile = filetype; } 47 void SetStandardFile(Bool_t filetype) { fIsStandardFile = filetype; } 46 48 47 49 Int_t AddRun(UInt_t run, const char *path=0);
Note:
See TracChangeset
for help on using the changeset viewer.