Changeset 1606 for trunk/MagicSoft


Ignore:
Timestamp:
11/14/02 11:08:05 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhist/MHMcIntRate.cc

    r1228 r1606  
    145145
    146146    for (Int_t i=1; i<=nbinsx; i++)
     147    {
    147148        fHist.SetBinContent(i, hist.Integral(i, nbinsx, "width"));
     149        fHist.SetBinError(i, hist.GetBinError(i)*axis.GetBinWidth(i));
     150    }
     151
     152    fHist.SetEntries(hist.GetEntries());
    148153
    149154    SetReadyToSave();
Note: See TracChangeset for help on using the changeset viewer.