#include <TileTBStat.h>
Definition at line 57 of file TileTBStat.h.
◆ StatDouble()
| StatDouble::StatDouble |
( |
| ) |
|
◆ addValue()
| void StatDouble::addValue |
( |
double | Value | ) |
|
Definition at line 56 of file TileTBStat.cxx.
56 {
57 if (Value <= 0.0) return;
58 if (
Max < Value)
Max = Value;
59 if (
Min > Value)
Min = Value;
61 SumSq += Value * Value;
63}
◆ getChi2()
| double StatDouble::getChi2 |
( |
| ) |
|
◆ getMean()
| double StatDouble::getMean |
( |
| ) |
|
◆ print()
| void StatDouble::print |
( |
const char * | s, |
|
|
bool | minMaxOnly = false ) |
Definition at line 74 of file TileTBStat.cxx.
74 {
75 if (minMaxOnly) {
77
78 std::cout << std::format(
"{} {:4.1f} - {:4.1f}\n", s,
Min,
Max);
79 } else {
80 std::cout << std::format("{} ---- - ----\n", s);
81 }
82 } else {
84 std::cout << std::format("{} {:4.1f} - {:4.1f} mean= {:6.3f} rms= {:5.3f}\n",
85 s,
90 } else {
91 std::cout << std::format("{} ---- - ---- mean= ------ rms= -----\n", s);
92 }
93 }
94}
◆ Counter
◆ Max
◆ Min
◆ Sum
◆ SumSq
The documentation for this class was generated from the following files: