Changeset 19705 for trunk/Mars


Ignore:
Timestamp:
10/01/19 15:27:53 (5 years ago)
Author:
tbretz
Message:
Minor fixes and simplifications.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/hawc/star.C

    r19357 r19705  
    2626
    2727******************************************************************/
    28 int star(const char *datafile, Double_t lvl1=7.8, Double_t lvl2=3.9, const char *outpath=".")
     28int star(const char *datafile, const char *outpath=".")
    2929{
    3030    // The delta t [ns/deg] for the image cleaning
     
    5959
    6060    TString fname = gSystem->ConcatFileName(outpath, gSystem->BaseName(datafile));
    61     fname.ReplaceAll("_C.root", "_I.root");
     61    fname.ReplaceAll("_C_", "_I_");
     62
     63    gSystem->ExpandPathName(fname);
    6264
    6365    gLog.Separator();
Note: See TracChangeset for help on using the changeset viewer.