Changeset 2194
- Timestamp:
- 06/18/03 12:02:47 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2190 r2194 11 11 - changed histogram name 12 12 - added axis titles 13 14 * mbase/MLog.cc: 15 - include iomanip onstead of MLogManip 16 17 * mbase/MLogManip.h: 18 - replaced preprocessor defintions for all, warn, inf, err and dbg 19 by const variable declarations 20 - fixed dynamic_casts 21 22 * macros/merpp.C: 23 - made capable of more than one directory 24 25 * mmain/MStatusDisplay.cc: 26 - removed an unsused variable 13 27 14 28 -
trunk/MagicSoft/Mars/macros/merpp.C
r948 r2194 38 38 ///////////////////////////////////////////////////////////////////////////// 39 39 40 void merpp()40 void ProcessFile(TString fname) 41 41 { 42 42 // … … 59 59 // (Using root 2.25/03, with Cint 5.14.50 on OSF1) 60 60 // 61 62 MRawFileRead reader("/home/tbretz/data/20010219-00020-d-octobertest-e"); 63 MRawFileWrite writer("otest.root", "RECREATE"); 61 MRawFileRead reader(fname); 62 MRawFileWrite writer(fname(0, fname.Last('.')+1) + "root"); 64 63 tasks.AddToList(&reader); 65 64 tasks.AddToList(&writer); … … 83 82 } 84 83 84 void merpp(const char *dirname="/home/MAGIC/online_data/rawdata/") 85 { 86 MDirIter Next; 87 Next.AddDirectory(dirname, "*.raw", -1); 85 88 89 TString fname; 90 while (1) 91 { 92 fname = Next(); 93 if (fname.IsNull()) 94 break; 95 96 ProcessFile(fname); 97 } 98 } 99 -
trunk/MagicSoft/Mars/mmain/MStatusDisplay.cc
r2182 r2194 1452 1452 while (1) 1453 1453 { 1454 streampos p1 = f.tellg();1455 1454 f.read(c[(i+1)%2], l); 1456 1455 f.seekp(-l, ios::cur);
Note:
See TracChangeset
for help on using the changeset viewer.