Changeset 7496 for trunk/MagicSoft


Ignore:
Timestamp:
02/10/06 18:58:58 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/datacenter/macros/plotdb.C

    r7495 r7496  
    195195        c.Divide(1,2);
    196196
    197         if (gt0.GetN()>0 && gt1.GetN()>0)
     197        if (gt0.GetN()>0 || gt1.GetN()>0)
    198198        {
    199199            cerr << setw(10) << title << ":   ";
    200             cerr << setw(9) << gt0.GetMean(2) << "+-" << setw(9) << gt0.GetRMS(2) << "   ";
    201             cerr << setw(9) << gt1.GetMean(2) << "+-" << setw(9) << gt1.GetRMS(2) << endl;
     200            cerr << setw(9) << gt1.GetMean(2) << "+-" << setw(9) << gt1.GetRMS(2) << "   ";
     201            cerr << setw(9) << gt0.GetMean(2) << "+-" << setw(9) << gt0.GetRMS(2) << endl;
    202202        }
    203203
     
    301301
    302302public:
    303     MPlot(MSQLServer &server) : fDataSet(NULL), fServer(server),
     303    MPlot(MSQLServer &server) : fServer(server), fDataSet(NULL),
    304304        fRequestPeriod(-1), fPlotMin(0), fPlotMax(-1), fHistMin(0), fHistMax(-1)
    305305    {
Note: See TracChangeset for help on using the changeset viewer.