Gaudi Framework, version v21r7

Home   Generated: 22 Jan 2010

HistoStats.h

Go to the documentation of this file.
00001 // $Id: HistoStats.h,v 1.3 2007/09/19 08:16:59 marcocle Exp $
00002 // ============================================================================
00003 #ifndef GAUDIUTILS_HISTOSTATS_H
00004 #define GAUDIUTILS_HISTOSTATS_H 1
00005 // ============================================================================
00006 // Include files
00007 // ============================================================================
00008 // STD & STL
00009 // ============================================================================
00010 #include <utility>
00011 // ============================================================================
00012 // Gaudi
00013 // ============================================================================
00014 #include "GaudiKernel/Kernel.h"
00015 // ============================================================================
00016 // forward declarations
00017 // ============================================================================
00018 namespace AIDA { class IHistogram1D ; }
00019 // ============================================================================
00020 namespace Gaudi
00021 {
00022   namespace Utils
00023   {
00024     // ========================================================================
00031     class GAUDI_API HistoStats
00032     {
00033     public :
00034       // ======================================================================
00041       static double moment
00042       ( const AIDA::IHistogram1D* histo     ,
00043         const unsigned int        order     ,
00044         const double              value = 0 ) ;
00045       // ======================================================================
00052       static double momentErr
00053       ( const AIDA::IHistogram1D* histo ,
00054         const unsigned int        order ) ;
00055       // ======================================================================
00062       static double centralMoment
00063       ( const AIDA::IHistogram1D* histo ,
00064         const unsigned int        order ) ;
00065       // ======================================================================
00074       static double centralMomentErr
00075       ( const AIDA::IHistogram1D* histo ,
00076         const unsigned int        order ) ;
00077       // ======================================================================
00079       static double skewness
00080       ( const AIDA::IHistogram1D* histo ) ;
00081       // ======================================================================
00083       static double skewnessErr
00084       ( const AIDA::IHistogram1D* histo ) ;
00085       // ======================================================================
00087       static double kurtosis
00088       ( const AIDA::IHistogram1D* histo ) ;
00089       // ======================================================================
00091       static double kurtosisErr
00092       ( const AIDA::IHistogram1D* histo ) ;
00093       // ======================================================================
00095       static double mean
00096       ( const AIDA::IHistogram1D* histo ) ;
00097       // ======================================================================
00099       static double meanErr
00100       ( const AIDA::IHistogram1D* histo ) ;
00101       // ======================================================================
00103       static double rms
00104       ( const AIDA::IHistogram1D* histo ) ;
00105       // ======================================================================
00107       static double rmsErr
00108       ( const AIDA::IHistogram1D* histo ) ;
00109       // ======================================================================
00111       static double nEff
00112       ( const AIDA::IHistogram1D* histo     ) ;
00113       // ======================================================================
00115       static double sumBinHeightErr
00116       ( const AIDA::IHistogram1D* histo ) ;
00117       // ======================================================================
00119       static double sumAllBinHeightErr
00120       ( const AIDA::IHistogram1D* histo ) ;
00121       // ======================================================================
00123       static double overflowEntriesFrac 
00124       ( const AIDA::IHistogram1D* histo     ) ;
00126       static double underflowEntriesFrac
00127       ( const AIDA::IHistogram1D* histo     ) ;
00129       static double overflowEntriesFracErr 
00130       ( const AIDA::IHistogram1D* histo     ) ;
00132       static double underflowEntriesFracErr  
00133       ( const AIDA::IHistogram1D* histo     ) ;
00134       // ======================================================================
00136       static double overflowIntegralFrac
00137       ( const AIDA::IHistogram1D* histo     ) ;
00139       static double underflowIntegralFrac
00140       ( const AIDA::IHistogram1D* histo     ) ;
00142       static double overflowIntegralFracErr 
00143       ( const AIDA::IHistogram1D* histo     ) ;
00145       static double underflowIntegralFracErr 
00146       ( const AIDA::IHistogram1D* histo     ) ;
00147       // ======================================================================
00155       static long   nEntries 
00156       ( const AIDA::IHistogram1D* histo , 
00157         const int                 imax  ) ;
00165       static long   nEntries 
00166       ( const AIDA::IHistogram1D* histo , 
00167         const int                 imin  ,  //     minimal bin number (included) 
00168         const int                 imax  ) ;// maximal bin number (not included) 
00169       // ======================================================================
00177       static double nEntriesFrac 
00178       ( const AIDA::IHistogram1D* histo , 
00179         const int                 imax  ) ;
00187       static double nEntriesFrac 
00188       ( const AIDA::IHistogram1D* histo , 
00189         const int                 imin  ,  //     minimal bin number (included) 
00190         const int                 imax  ) ;// maximal bin number (not included) 
00191       // ======================================================================
00199       static double nEntriesFracErr
00200       ( const AIDA::IHistogram1D* histo , 
00201         const int                 imax  ) ;
00209       static double nEntriesFracErr
00210       ( const AIDA::IHistogram1D* histo , 
00211         const int                 imin  ,  //     minimal bin number (included) 
00212         const int                 imax  ) ;// maximal bin number (not included) 
00213       // ======================================================================
00214     } ;
00215     // ========================================================================
00216   } // end of namespace Gaudi::Utils
00217   // ==========================================================================
00218 } // end of namespace Gaudi
00219 // ============================================================================
00220 // The END
00221 // ============================================================================
00222 #endif // GAUDIUTILS_HISTOSTATS_H
00223 // ============================================================================

Generated at Fri Jan 22 20:28:11 2010 for Gaudi Framework, version v21r7 by Doxygen version 1.5.6 written by Dimitri van Heesch, © 1997-2004