Use CountBase with the interface of provided by NAGASH::Result.
More...
#include "NAGASH/Count.h"
|
| Count (std::shared_ptr< MSGTool > MSG, std::shared_ptr< ConfigTool > c, const TString &rname, const TString &fname="") |
|
| ~Count ()=default |
|
void | Combine (std::shared_ptr< Result > result) |
| Combine with another Count object, interface provided by NAGASH::Result.
|
|
const TString & | GetOutputFileName () |
| Return the name of the result.
|
|
const TString & | GetResultName () |
|
virtual void | WriteToFile () |
|
void | Add (const CountBase &) |
| Add another CountBase object to this one.
|
|
void | Add (double x=1, double w=1) |
| Add a value along with its weight.
|
|
double | Chi2 (const CountBase &) const |
| Calculate the \(\chi^2\) with this and another CountBase object.
|
|
void | Clear () |
| Clear this CountBase object.
|
|
double | GetMean () const |
| Get the mean \(\bar{x}\).
|
|
double | GetMeanStatUnc () const |
| Get the statistical uncertainty of the mean \(\sigma(x)\cdot\sqrt{\sum w^2} / \sum w\).
|
|
double | GetStdVar () const |
| Get the standard variance \(\sigma(x)\).
|
|
double | GetSum () const |
| Get the sum of the values \(\sum x\cdot w\).
|
|
double | GetSum2 () const |
| Get the sum of the values squared \(\sum x^2\cdot w\).
|
|
double | GetSumStatUnc () const |
| Get the statistical uncertainty of the sum \(\bar{x}\cdot\sqrt{\sum w^2}\).
|
|
double | GetSumW () const |
| Get the sum of the weights \(\sum w\).
|
|
double | GetSumW2 () const |
| Get the sum of the weights squared \(\sum w^2\).
|
|
double | GetVar () const |
| Get the variance \(\sigma^2(x)\).
|
|
Use CountBase with the interface of provided by NAGASH::Result.
Definition at line 97 of file Count.h.
◆ Count()
NAGASH::Count::Count |
( |
std::shared_ptr< MSGTool > |
MSG, |
|
|
std::shared_ptr< ConfigTool > |
c, |
|
|
const TString & |
rname, |
|
|
const TString & |
fname = "" |
|
) |
| |
|
inline |
◆ ~Count()
NAGASH::Count::~Count |
( |
| ) |
|
|
default |
◆ Combine()
void NAGASH::Count::Combine |
( |
std::shared_ptr< Result > |
result | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: