![]() |
ATLAS Offline Software
|
Simple class to gather statistics : min, max, mean, rms. More...
#include <StatUtils.h>
Public Member Functions | |
| void | add (double val) |
| @bruef Gather a new value will update min, max and the sums to compute mean and rms | |
| unsigned int | n () const |
| double | min () const |
| double | max () const |
| double | mean () const |
| double | rms2 () const |
| double | rms () const |
| void | reset () |
| Set statistics to zero. | |
| Stat & | operator+= (const Stat &b) |
| @breif Add the statistics gathered in the Stat object b | |
Public Attributes | |
| unsigned int | m_n =0 |
| double | m_sum =0. |
| double | m_sum2 =0. |
| double | m_min =std::numeric_limits<double>::max() |
| double | m_max =-std::numeric_limits<double>::max() |
Simple class to gather statistics : min, max, mean, rms.
Definition at line 17 of file StatUtils.h.
|
inline |
@bruef Gather a new value will update min, max and the sums to compute mean and rms
Definition at line 21 of file StatUtils.h.
|
inline |
Definition at line 30 of file StatUtils.h.
|
inline |
Definition at line 31 of file StatUtils.h.
|
inline |
Definition at line 29 of file StatUtils.h.
|
inline |
Definition at line 28 of file StatUtils.h.
@breif Add the statistics gathered in the Stat object b
Definition at line 45 of file StatUtils.h.
|
inline |
|
inline |
Definition at line 33 of file StatUtils.h.
|
inline |
| double ActsUtils::Stat::m_max =-std::numeric_limits<double>::max() |
Definition at line 58 of file StatUtils.h.
| double ActsUtils::Stat::m_min =std::numeric_limits<double>::max() |
Definition at line 57 of file StatUtils.h.
| unsigned int ActsUtils::Stat::m_n =0 |
Definition at line 54 of file StatUtils.h.
| double ActsUtils::Stat::m_sum =0. |
Definition at line 55 of file StatUtils.h.
| double ActsUtils::Stat::m_sum2 =0. |
Definition at line 56 of file StatUtils.h.