|
static Double_t | SumError (std::initializer_list< Double_t > errs) |
|
Definition at line 15 of file ErrorCalc.h.
◆ ErrorCalc()
Hal::ErrorCalc::ErrorCalc |
( |
TString | name = "", |
|
|
Double_t | val = 0, |
|
|
Double_t | err = 0 ) |
◆ AddSysError()
void Hal::ErrorCalc::AddSysError |
( |
TString | name, |
|
|
Double_t | value, |
|
|
Double_t | uncert = -1 ) |
add systematic error source, if name is duplicated then error treated as a next measurement
- Parameters
-
name | |
value | |
sysUncert | - statistical uncert of variation measurement, if -2 then assumed as abs(measurement - value) if any other negative value then assumed the same as stat error of measurement |
Definition at line 73 of file ErrorCalc.cxx.
◆ BarlowTest()
Double_t Hal::ErrorCalc::BarlowTest |
( |
Int_t | prec = 4 | ) |
const |
performs barlow test and print results
- Parameters
-
prec | precision of printing |
- Returns
Definition at line 18 of file ErrorCalc.cxx.
◆ GetStatError()
Double_t Hal::ErrorCalc::GetStatError |
( |
| ) |
const |
return statistical uncertainty for measurement
- Parameters
-
- Returns
Definition at line 16 of file ErrorCalc.cxx.
◆ SetMeasuredVal()
void Hal::ErrorCalc::SetMeasuredVal |
( |
Double_t | val | ) |
|
|
inline |
set measured value of paramter
- Parameters
-
Definition at line 32 of file ErrorCalc.h.
◆ SetStatError()
void Hal::ErrorCalc::SetStatError |
( |
Double_t | val | ) |
|
|
inline |
- Parameters
-
val | value of statistical error |
Definition at line 37 of file ErrorCalc.h.
◆ SumError()
Double_t Hal::ErrorCalc::SumError |
( |
std::initializer_list< Double_t > | errs | ) |
|
|
static |
return error by eq = sqrt(err[0]^2+err[1]^2+...)
- Parameters
-
- Returns
Definition at line 112 of file ErrorCalc.cxx.
◆ TotalSys()
Double_t Hal::ErrorCalc::TotalSys |
( |
Int_t | prec = 4 | ) |
const |
pefrom other test and print results in principle:
- the uncertainty of measurement with single method is assued as max(X-xi)
- then total uncertainty is sqrt(sum uncert_j)
- Parameters
-
- Returns
Definition at line 92 of file ErrorCalc.cxx.
The documentation for this class was generated from the following files: