Changeset 4872 for trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc
- Timestamp:
- 09/07/04 09:55:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHGausEvents.cc
r4757 r4872 826 826 } 827 827 828 // -------------------------------------------------------------------------- 829 // 830 // Return kFALSE if number of entries is 0 831 // 828 832 const Bool_t MHGausEvents::IsEmpty() const 829 833 { 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 // 833 841 const Bool_t MHGausEvents::IsOnlyOverflow() const 834 842 { 835 843 return fHGausHist.GetEntries() == fHGausHist.GetBinContent(fNbins+1); 844 } 845 846 // -------------------------------------------------------------------------- 847 // 848 // Return kTRUE if number of entries is bin content of 0 849 // 850 const Bool_t MHGausEvents::IsOnlyUnderflow() const 851 { 852 return fHGausHist.GetEntries() == fHGausHist.GetBinContent(0); 836 853 } 837 854
Note:
See TracChangeset
for help on using the changeset viewer.