Changeset 9186 for trunk/MagicSoft/Mars/mfileio
- Timestamp:
- 12/02/08 11:23:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mfileio/MWriteRootFile.cc
r9036 r9186 224 224 // If no name is given we open the TFile in some kind of dummy mode... 225 225 // 226 if (!fname) 226 TString str(fname); 227 if (str.IsNull()) 227 228 { 228 229 fOut = new TFile("/dev/null", "READ", ftitle, comp); … … 231 232 } 232 233 233 TString str(fname);234 234 if (!str.EndsWith(".root", TString::kIgnoreCase)) 235 235 str += ".root";
Note:
See TracChangeset
for help on using the changeset viewer.