#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 | ||
) |
Definition at line 36 of file Averages.cc.
References median_, n_, s_, mathSSE::sqrt(), x, x_, and xx_.
Referenced by add(), and SiStripCommissioningSource::fillCablingHistos().
void Averages::add | ( | const float & | value | ) |
void Averages::add | ( | const uint32_t & | value, |
const uint32_t & | weight | ||
) |
void Averages::add | ( | const uint32_t & | value | ) |
void Averages::calc | ( | Params & | params | ) |
Definition at line 60 of file Averages.cc.
References cmsHarvester::index, m, max(), Averages::Params::max_, Averages::Params::mean_, Averages::Params::median_, median_, Averages::Params::min_, Averages::Params::mode_, mode_, n_, Averages::Params::num_, Averages::Params::rms_, s_, python.multivaluedict::sort(), mathSSE::sqrt(), edmStreamStallGrapher::t, Averages::Params::weight_, x_, and xx_.
Referenced by SiStripCommissioningSource::fillCablingHistos().
|
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.