Changeset 7635 for trunk/MagicSoft
- Timestamp:
- 04/12/06 13:43:27 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7634 r7635 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/04/12 Thomas Bretz 22 23 * datacenter/macros/filldotraw.C: 24 - allow to access gzipped raw-files 25 26 20 27 21 28 2006/04/11 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/macros/filldotraw.C
r7528 r7635 67 67 #include <TSQLResult.h> 68 68 69 #include "MZlib.h" 69 70 #include "MSQLServer.h" 70 71 #include "MRawRunHeader.h" … … 98 99 Bool_t ReadRaw(TString fname, MRawRunHeader &h) 99 100 { 100 ifstreamfin(fname);101 MZlib fin(fname); 101 102 if (!fin) 102 103 { … … 144 145 if (fname.EndsWith(".raw")) 145 146 ReadRaw(fname, h); 147 if (fname.EndsWith(".raw.gz")) 148 ReadRaw(fname, h); 146 149 147 150 if (dummy) … … 224 227 cout << "date: " << date << endl; 225 228 TString path(Form("/magic/data/rawfiles/%s", date.Data())); 226 TString file(Form("*%d *.raw", runno));229 TString file(Form("*%d_*_*_E.raw.?g?z?", runno)); 227 230 228 231 delete res;
Note:
See TracChangeset
for help on using the changeset viewer.