Changeset 5461 for trunk/MagicSoft/Mars
- Timestamp:
- 11/23/04 14:31:26 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5460 r5461 20 20 21 21 -*-*- END OF LINE -*-*- 22 23 2004/11/23: Raquel de los Reyes 24 25 * mbase/MRunIter.[h,cc] 26 - changed the format of the read file to allow the processing of 27 standard F0/F1 (pedestal/calibration) files. 28 - Included a Set function. 29 22 30 23 31 2004/11/22: Markus Gaug -
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.