Ignore:
Timestamp:
09/07/04 09:55:53 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 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
Note: See TracChangeset for help on using the changeset viewer.