Changeset 7407


Ignore:
Timestamp:
11/17/05 09:52:47 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7406 r7407  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20 2005/11/16 Daniela Dorner
     21
     22   * datacenter/scripts/doqualityplots:
     23     - added (putting output of plotdb.C) in the web
     24
     25   * datacenter/macros/plotdb.C:
     26     - return 0 in case of failure and 1 in case macro finished without
     27       problem
     28
     29
     30
    2031 2005/11/16 Thomas Bretz
    2132
  • trunk/MagicSoft/Mars/datacenter/macros/plotdb.C

    r7406 r7407  
    339339}
    340340
    341 void plotdb(TString from="", TString to="")
     341int plotdb(TString from="", TString to="")
    342342{
    343343    TEnv env("sql.rc");
     
    347347    {
    348348        cout << "ERROR - Connection to database failed." << endl;
    349         return;
     349        return 0;
    350350    }
    351351
     
    366366    d->SaveAsRoot("plotdb.root");
    367367    d->SaveAsPS("plotdb.ps");
     368
     369    return 1;
    368370}
    369371
    370 void plotdb(Int_t period)
     372int plotdb(Int_t period)
    371373{
    372374    TEnv env("sql.rc");
     
    376378    {
    377379        cout << "ERROR - Connection to database failed." << endl;
    378         return;
     380        return 0;
    379381    }
    380382
     
    395397    d->SaveAsRoot("plotdb.root");
    396398    d->SaveAsPS("plotdb.ps");
     399
     400    return 1;
    397401}
Note: See TracChangeset for help on using the changeset viewer.