Ignore:
Timestamp:
09/07/04 09:55:53 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcalib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc

    r4757 r4872  
    826826}
    827827
     828// --------------------------------------------------------------------------
     829//
     830// Return kFALSE if number of entries is 0
     831//
    828832const Bool_t MHGausEvents::IsEmpty() const
    829833{
    830     return !(fHGausHist.GetEntries());
    831 }
    832 
     834  return !(fHGausHist.GetEntries());
     835}
     836
     837// --------------------------------------------------------------------------
     838//
     839// Return kTRUE  if number of entries is bin content of fNbins+1
     840//
    833841const Bool_t MHGausEvents::IsOnlyOverflow() const
    834842{
    835843  return fHGausHist.GetEntries() == fHGausHist.GetBinContent(fNbins+1);
     844}
     845
     846// --------------------------------------------------------------------------
     847//
     848// Return kTRUE  if number of entries is bin content of 0
     849//
     850const Bool_t MHGausEvents::IsOnlyUnderflow() const
     851{
     852  return fHGausHist.GetEntries() == fHGausHist.GetBinContent(0);
    836853}
    837854
  • trunk/MagicSoft/Mars/mcalib/MHGausEvents.h

    r4636 r4872  
    124124  const Bool_t IsFourierSpectrumOK()     const;
    125125  const Bool_t IsGausFitOK()             const;
    126   const Bool_t IsOnlyOverflow()          const; 
     126  const Bool_t IsOnlyOverflow()          const;
     127  const Bool_t IsUnderOverflow()         const; 
    127128
    128129  // Fill
Note: See TracChangeset for help on using the changeset viewer.