Ignore:
Timestamp:
11/04/03 17:08:27 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawFileWrite.cc

    r2207 r2470  
    7373    // Open a rootfile
    7474    //
    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);
    7680}
    7781
Note: See TracChangeset for help on using the changeset viewer.