Changeset 2470 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 11/04/03 17:08:27 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc
r2207 r2470 73 73 // Open a rootfile 74 74 // 75 fOut = new TFile(fname, opt, ftitle, comp); 75 TString str(fname); 76 if (!str.EndsWith(".root", TString::kIgnoreCase)) 77 str += ".root"; 78 79 fOut = new TFile(str, opt, ftitle, comp); 76 80 } 77 81
Note:
See TracChangeset
for help on using the changeset viewer.