Changeset 17664 for trunk/Mars/fact


Ignore:
Timestamp:
04/08/14 16:14:13 (11 years ago)
Author:
tbretz
Message:
Added return code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/plots/quality.C

    r17652 r17664  
    622622}
    623623
    624 void quality(UInt_t y=0, UInt_t m=0, UInt_t d=0, const char *outpath="quality")
     624int quality(UInt_t y=0, UInt_t m=0, UInt_t d=0, const char *outpath="quality")
    625625{
    626626    // To get correct dates in the histogram you have to add
     
    669669        TSQLResult *res = serv.Query(query);
    670670        if (!res)
    671             return kFALSE;
     671            return 1;
    672672
    673673        run.Set(res->GetRowCount());
     
    748748
    749749    c->SaveAs(Form("%s/%04d%02d%02d.png", outpath, y, m, d));
    750 }
     750
     751    return 0;
     752}
Note: See TracChangeset for help on using the changeset viewer.