Provide static functions for calculating uncertainties.
More...
#include "NAGASH/Uncertainty.h"
|
static double | AminusB (double A_err, double B_err) |
| Calculate the uncertainty of \( A-B \).
|
|
static double | AminusBoverAplusB (double A, double B, double A_err, double B_err) |
| Calculate the uncertainty of \( (A-B)/(A+B) \).
|
|
static double | AoverAplusB (double A, double AplusB, double A_err, double AplusB_err) |
| Calculate the uncertainty of \( A/(A+B) \).
|
|
static double | AoverB (double A, double B, double A_err, double B_err) |
| Calculate the uncertainty of \( A/B \).
|
|
static double | AplusB (double A_err, double B_err) |
| Calculate the uncertainty of \( A+B \).
|
|
Provide static functions for calculating uncertainties.
Definition at line 16 of file Uncertainty.h.
◆ Uncertainty()
NAGASH::Uncertainty::Uncertainty |
( |
std::shared_ptr< MSGTool > |
MSG | ) |
|
|
inline |
◆ AminusB()
double Uncertainty::AminusB |
( |
double |
A_err, |
|
|
double |
B_err |
|
) |
| |
|
static |
Calculate the uncertainty of \( A-B \).
- Parameters
-
A_err | uncertainty of \( A \). |
B_err | uncertainty of \( B \) |
Definition at line 21 of file Uncertainty.cxx.
◆ AminusBoverAplusB()
double Uncertainty::AminusBoverAplusB |
( |
double |
A, |
|
|
double |
B, |
|
|
double |
A_err, |
|
|
double |
B_err |
|
) |
| |
|
static |
Calculate the uncertainty of \( (A-B)/(A+B) \).
- Parameters
-
A | the value of \( A \). |
B | the value of \( B \). |
A_err | the uncertainty of \( A \). |
B_err | the uncertainty of \( B \). |
- Returns
Definition at line 61 of file Uncertainty.cxx.
◆ AoverAplusB()
double Uncertainty::AoverAplusB |
( |
double |
A, |
|
|
double |
AplusB, |
|
|
double |
A_err, |
|
|
double |
AplusB_err |
|
) |
| |
|
static |
Calculate the uncertainty of \( A/(A+B) \).
- Parameters
-
A | the value of \( A \). |
AplusB | the value of \( A+B \). |
A_err | the uncertainty of \( A \). |
AplusB_err | the uncertainty of \( A+B \). |
Definition at line 31 of file Uncertainty.cxx.
◆ AoverB()
double Uncertainty::AoverB |
( |
double |
A, |
|
|
double |
B, |
|
|
double |
A_err, |
|
|
double |
B_err |
|
) |
| |
|
static |
Calculate the uncertainty of \( A/B \).
- Parameters
-
A | the value of \( A \). |
B | the value of \( B \). |
A_err | the uncertainty of \( A \). |
B_err | the uncertainty of \( B \). |
Definition at line 47 of file Uncertainty.cxx.
◆ AplusB()
double Uncertainty::AplusB |
( |
double |
A_err, |
|
|
double |
B_err |
|
) |
| |
|
static |
Calculate the uncertainty of \( A+B \).
- Parameters
-
A_err | uncertainty of \( A \). |
B_err | uncertainty of \( B \). |
Definition at line 13 of file Uncertainty.cxx.
The documentation for this class was generated from the following files: