Changeset 8587 for trunk/MagicSoft


Ignore:
Timestamp:
06/19/07 14:21:52 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8585 r8587  
    4747   * mjobs/MJPedestal.cc:
    4848     - clarified output for "mean pulse time" further
     49
     50   * mjobs/MJob.cc:
     51     - made write container more flexible to allow easier calles
     52       if fPathOut contains the file name already
    4953
    5054   * mpedestal/MExtractPedestal.cc:
  • trunk/MagicSoft/Mars/mjobs/MJSpectrum.cc

    r8582 r8587  
    13321332        cont.Add(fDisplay);
    13331333
    1334     return WriteContainer(cont, fPathOut, "RECREATE");
    1335 }
     1334    return WriteContainer(cont, "", "RECREATE");
     1335}
  • trunk/MagicSoft/Mars/mjobs/MJob.cc

    r8539 r8587  
    286286
    287287    TString oname(fPathOut);
    288     oname += "/";
    289     oname += name;
     288    if (!TString(name).IsNull())
     289    {
     290        if (oname!="/")
     291            oname += "/";
     292        oname += name;
     293    }
    290294
    291295    *fLog << inf << "Writing to file: " << oname << endl;
Note: See TracChangeset for help on using the changeset viewer.