Helper class to calculate average value.
More...
#include <dabc/statistic.h>
Helper class to calculate average value.
Should not be mixed up with dabc::Parameter class, which could measure average value as well
Definition at line 118 of file statistic.h.
◆ Average()
dabc::Average::Average |
( |
| ) |
|
◆ ~Average()
dabc::Average::~Average |
( |
| ) |
|
|
virtual |
◆ AllocateHist()
void dabc::Average::AllocateHist |
( |
int |
nbins, |
|
|
double |
xmin, |
|
|
double |
xmax |
|
) |
| |
◆ ShowHist()
void dabc::Average::ShowHist |
( |
| ) |
|
◆ Reset()
void dabc::Average::Reset |
( |
| ) |
|
◆ Fill()
void dabc::Average::Fill |
( |
double |
zn | ) |
|
◆ Number()
long dabc::Average::Number |
( |
| ) |
const |
|
inline |
◆ Mean()
double dabc::Average::Mean |
( |
| ) |
const |
|
inline |
◆ Max()
double dabc::Average::Max |
( |
| ) |
const |
|
inline |
◆ Min()
double dabc::Average::Min |
( |
| ) |
const |
|
inline |
◆ Dev()
double dabc::Average::Dev |
( |
| ) |
const |
◆ Show()
void dabc::Average::Show |
( |
const char * |
name, |
|
|
bool |
showextr = false |
|
) |
| |
◆ num
◆ sum1
double dabc::Average::sum1 |
|
protected |
◆ sum2
double dabc::Average::sum2 |
|
protected |
◆ min
double dabc::Average::min |
|
protected |
◆ max
double dabc::Average::max |
|
protected |
◆ hist
long* dabc::Average::hist |
|
protected |
◆ nhist
◆ hist_min
double dabc::Average::hist_min |
|
protected |
◆ hist_max
double dabc::Average::hist_max |
|
protected |
The documentation for this class was generated from the following files: