#include <Averages.h>
Classes | |
class | Params |
Public Member Functions | |
void | add (const float &value, const float &weight) |
void | add (const float &value) |
void | add (const uint32_t &value, const uint32_t &weight) |
void | add (const uint32_t &value) |
Averages () | |
void | calc (Params &) |
~Averages () | |
Private Attributes | |
std::vector< float > | median_ |
std::map< uint32_t, uint32_t > | mode_ |
uint32_t | n_ |
float | s_ |
float | x_ |
float | xx_ |
Definition at line 10 of file Averages.h.
Averages::Averages | ( | ) |
Definition at line 10 of file Averages.cc.
|
inline |
Definition at line 15 of file Averages.h.
void Averages::add | ( | const float & | value, |
const float & | weight | ||
) |
Referenced by counter.Counter::register().
void Averages::add | ( | const float & | value | ) |
Referenced by counter.Counter::register().
void Averages::add | ( | const uint32_t & | value, |
const uint32_t & | weight | ||
) |
Referenced by counter.Counter::register().
void Averages::add | ( | const uint32_t & | value | ) |
Referenced by counter.Counter::register().
void Averages::calc | ( | Params & | params | ) |
Definition at line 60 of file Averages.cc.
References cmsHarvester::index, visualization-live-secondInstance_cfg::m, bookConverter::max, Averages::Params::max_, Averages::Params::mean_, Averages::Params::median_, Averages::Params::min_, Averages::Params::mode_, Averages::Params::num_, Averages::Params::rms_, mathSSE::sqrt(), lumiQTWidget::t, and Averages::Params::weight_.
|
private |
Definition at line 55 of file Averages.h.
|
private |
Definition at line 56 of file Averages.h.
|
private |
Definition at line 51 of file Averages.h.
|
private |
Definition at line 52 of file Averages.h.
|
private |
Definition at line 53 of file Averages.h.
|
private |
Definition at line 54 of file Averages.h.