Changeset 4872
- Timestamp:
- 09/07/04 09:55:53 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4871 r4872 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/09/07: Markus Gaug 23 24 * mcalib/MHGausEvents.[h,cc] 25 - added function IsOnlyUnderflow() 26 21 27 22 28 2004/09/06: Thomas Bretz -
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 -
trunk/MagicSoft/Mars/mcalib/MHGausEvents.h
r4636 r4872 124 124 const Bool_t IsFourierSpectrumOK() const; 125 125 const Bool_t IsGausFitOK() const; 126 const Bool_t IsOnlyOverflow() const; 126 const Bool_t IsOnlyOverflow() const; 127 const Bool_t IsUnderOverflow() const; 127 128 128 129 // Fill
Note:
See TracChangeset
for help on using the changeset viewer.