Changeset 9058 for trunk


Ignore:
Timestamp:
07/31/08 10:40:13 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9057 r9058  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2008/07/31 Thomas Bretz
     22
     23   * merpp.cc:
     24     - fixed merpping a single report file
     25     - Strip the dir name from MJMerpp's name
     26
     27   * mreports/MReportCamera.cc:
     28     - also allow empty HV Settings file names
     29
     30
    2031
    2132 2008/07/30 Thomas Bretz
  • trunk/MagicSoft/Mars/merpp.cc

    r9043 r9058  
    124124{
    125125    return
    126         name.EndsWith(".rep") || name.EndsWith(".txt") ||
    127         name.EndsWith(".raw") || name.EndsWith(".raw.gz");
     126        name.EndsWith(".rep") || name.EndsWith(".txt")    ||
     127        name.EndsWith(".raw") || name.EndsWith(".raw.gz") ||
     128        name.EndsWith(".root");
    128129}
    129130
     
    207208
    208209    const Bool_t isseq =
    209         (narg==1 && !(HasExtension(arg0) && !arg0.EndsWith(".txt"))) ||
    210         (narg==2 && !HasExtension(arg1)) ||
     210        (narg==1 && arg0.EndsWith(".txt")) ||
     211        (narg==2 && !HasExtension(arg1))   ||
    211212        (narg==3);
    212213
     
    218219        kNamein  = arg2;
    219220
    220         if (HasExtension(arg2))  // set --summary
     221        if (arg2.EndsWith(".txt"))  // set --summary
    221222            kHeaderRun = 0;
    222223
     
    246247
    247248    {
    248         MJMerpp merpp(Form("MJMerpp %s", arg0.Data()));
     249        MJMerpp merpp(Form("MJMerpp %s", gSystem->BaseName(arg0.Data())));
    249250        merpp.SetOverwrite(kOverwrite);
    250251        merpp.SetCompression(kComprlvl);
Note: See TracChangeset for help on using the changeset viewer.