#include <Averages.h>
Classes | |
class | Params |
Public Member Functions | |
void | add (const float &value) |
void | add (const float &value, const float &weight) |
void | add (const uint32_t &value) |
void | add (const uint32_t &value, const uint32_t &weight) |
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 | ( | ) |
|
inline |
Definition at line 13 of file Averages.h.
void Averages::add | ( | const float & | value | ) |
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void Averages::add | ( | const float & | value, |
const float & | weight | ||
) |
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void Averages::add | ( | const uint32_t & | value | ) |
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void Averages::add | ( | const uint32_t & | value, |
const uint32_t & | weight | ||
) |
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void Averages::calc | ( | Params & | params | ) |
Definition at line 48 of file Averages.cc.
References visualization-live-secondInstance_cfg::m, SiStripPI::max, CalibrationSummaryClient_cfi::params, mathSSE::sqrt(), and OrderedSet::t.
|
private |
Definition at line 54 of file Averages.h.
|
private |
Definition at line 55 of file Averages.h.
|
private |
Definition at line 50 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.