Ignore:
Timestamp:
06/12/08 17:56:54 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc

    r8932 r8946  
    501501Bool_t MHEffectiveOnTime::FitH(TH1D *h, Double_t *res, Bool_t paint) const
    502502{
    503     const Double_t Nm = h->Integral();
     503    // Count also events in under-/overflowbins
     504    const Double_t Nm = h->Integral(0, h->GetNbinsX()+1);
    504505
    505506    // FIXME: Do fit only if contents of bin has changed
Note: See TracChangeset for help on using the changeset viewer.