Changeset 7574 for trunk


Ignore:
Timestamp:
03/06/06 18:34:23 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7573 r7574  
    2525       in file names
    2626
     27   * datacenter/macros/plotdb.C:
     28     - print also average and RMS of all data.
     29
    2730
    2831
  • trunk/MagicSoft/Mars/datacenter/macros/plotdb.C

    r7496 r7574  
    195195        c.Divide(1,2);
    196196
     197        cerr << setprecision(4) << setw(10) << title << ":   ";
     198        cerr << setw(8) << gt.GetMean(2) << "+-" << setw(8) << gt.GetRMS(2) << "   ";
    197199        if (gt0.GetN()>0 || gt1.GetN()>0)
    198200        {
    199             cerr << setw(10) << title << ":   ";
    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;
     201            cerr << setw(8) << gt1.GetMean(2) << "+-" << setw(8) << gt1.GetRMS(2) << "   ";
     202            cerr << setw(8) << gt0.GetMean(2) << "+-" << setw(8) << gt0.GetRMS(2);
    202203        }
     204        cerr << endl;
    203205
    204206        TVirtualPad *pad = gPad;
Note: See TracChangeset for help on using the changeset viewer.