11 #ifndef GAUDIUTILS_HISTOSTATS_H
12 #define GAUDIUTILS_HISTOSTATS_H 1
49 static double moment(
const AIDA::IHistogram1D* histo,
const unsigned int order,
const double value = 0 );
57 static double momentErr(
const AIDA::IHistogram1D* histo,
const unsigned int order );
65 static double centralMoment(
const AIDA::IHistogram1D* histo,
const unsigned int order );
75 static double centralMomentErr(
const AIDA::IHistogram1D* histo,
const unsigned int order );
78 static double skewness(
const AIDA::IHistogram1D* histo );
81 static double skewnessErr(
const AIDA::IHistogram1D* histo );
84 static double kurtosis(
const AIDA::IHistogram1D* histo );
87 static double kurtosisErr(
const AIDA::IHistogram1D* histo );
90 static double mean(
const AIDA::IHistogram1D* histo );
93 static double meanErr(
const AIDA::IHistogram1D* histo );
96 static double rms(
const AIDA::IHistogram1D* histo );
99 static double rmsErr(
const AIDA::IHistogram1D* histo );
102 static double nEff(
const AIDA::IHistogram1D* histo );
105 static double sumBinHeightErr(
const AIDA::IHistogram1D* histo );
108 static double sumAllBinHeightErr(
const AIDA::IHistogram1D* histo );
111 static double overflowEntriesFrac(
const AIDA::IHistogram1D* histo );
113 static double underflowEntriesFrac(
const AIDA::IHistogram1D* histo );
115 static double overflowEntriesFracErr(
const AIDA::IHistogram1D* histo );
117 static double underflowEntriesFracErr(
const AIDA::IHistogram1D* histo );
120 static double overflowIntegralFrac(
const AIDA::IHistogram1D* histo );
122 static double underflowIntegralFrac(
const AIDA::IHistogram1D* histo );
124 static double overflowIntegralFracErr(
const AIDA::IHistogram1D* histo );
126 static double underflowIntegralFracErr(
const AIDA::IHistogram1D* histo );
135 static long nEntries(
const AIDA::IHistogram1D* histo,
const int imax );
143 static long nEntries(
const AIDA::IHistogram1D* histo,
154 static double nEntriesFrac(
const AIDA::IHistogram1D* histo,
const int imax );
162 static double nEntriesFrac(
const AIDA::IHistogram1D* histo,
const int imin,
const int imax );
171 static double nEntriesFracErr(
const AIDA::IHistogram1D* histo,
const int imax );
179 static double nEntriesFracErr(
const AIDA::IHistogram1D* histo,
const int imin,
const int imax );
189 static double moment(
const AIDA::IProfile1D* histo,
const unsigned int order,
const double value = 0 );
197 static double momentErr(
const AIDA::IProfile1D* histo,
const unsigned int order );
205 static double centralMoment(
const AIDA::IProfile1D* histo,
const unsigned int order );
215 static double centralMomentErr(
const AIDA::IProfile1D* histo,
const unsigned int order );
218 static double skewness(
const AIDA::IProfile1D* histo );
221 static double skewnessErr(
const AIDA::IProfile1D* histo );
224 static double kurtosis(
const AIDA::IProfile1D* histo );
227 static double kurtosisErr(
const AIDA::IProfile1D* histo );
230 static double mean(
const AIDA::IProfile1D* histo );
233 static double meanErr(
const AIDA::IProfile1D* histo );
236 static double rms(
const AIDA::IProfile1D* histo );
239 static double rmsErr(
const AIDA::IProfile1D* histo );
242 static double sumBinHeightErr(
const AIDA::IProfile1D* histo );
245 static double sumAllBinHeightErr(
const AIDA::IProfile1D* histo );
248 static double nEff(
const AIDA::IProfile1D* histo );
251 static double overflowEntriesFrac(
const AIDA::IProfile1D* histo );
253 static double underflowEntriesFrac(
const AIDA::IProfile1D* histo );
255 static double overflowEntriesFracErr(
const AIDA::IProfile1D* histo );
257 static double underflowEntriesFracErr(
const AIDA::IProfile1D* histo );
260 static double overflowIntegralFrac(
const AIDA::IProfile1D* histo );
262 static double underflowIntegralFrac(
const AIDA::IProfile1D* histo );
264 static double overflowIntegralFracErr(
const AIDA::IProfile1D* histo );
266 static double underflowIntegralFracErr(
const AIDA::IProfile1D* histo );
275 static long nEntries(
const AIDA::IProfile1D* histo,
const int imax );
283 static long nEntries(
const AIDA::IProfile1D* histo,
294 static double nEntriesFrac(
const AIDA::IProfile1D* histo,
const int imax );
302 static double nEntriesFrac(
const AIDA::IProfile1D* histo,
const int imin,
const int imax );
311 static double nEntriesFracErr(
const AIDA::IProfile1D* histo,
const int imax );
319 static double nEntriesFracErr(
const AIDA::IProfile1D* histo,
const int imin,
const int imax );
329 #endif // GAUDIUTILS_HISTOSTATS_H