|
int | fNParameters |
| The number of parameters.
|
|
std::vector< double > | fParameters |
| The parameter values.
|
|
int | fStatus |
| The status of this class (1: ok, 0: error).
|
|
KLFitter::ResSingleGaussLinearBase::ResSingleGaussLinearBase |
( |
std::vector< double > const & |
parameters | ) |
|
|
explicit |
A constructor.
- Parameters
-
parameters | The parameters of the parameterization. |
static bool KLFitter::ResSingleGaussLinearBase::CheckSingleGaussianSanity |
( |
double * |
sigma | ) |
|
|
inlinestatic |
Sanity check for double gaussian parameters p2, p3 and p5 (1st sigma, scale and 2nd sigma).
- Parameters
-
sigma1 | (the 1st sigma). |
amplitude2 | (the scale parameter). |
sigma2 | (the 2nd sigma). |
- Returns
- False if problem with TF.
virtual double KLFitter::ResSingleGaussLinearBase::GetMean |
( |
double |
x | ) |
|
|
pure virtual |
Calculate the mean of the Gaussian from the TF parameters and the value of x.
- Parameters
-
- Returns
- The mean.
Implemented in KLFitter::ResSingleGaussMET.
virtual double KLFitter::ResSingleGaussLinearBase::GetSigma |
( |
double |
x | ) |
|
|
overridepure virtual |
double KLFitter::ResSingleGaussLinearBase::logp |
( |
double |
x, |
|
|
double |
xmeas, |
|
|
bool * |
good, |
|
|
double |
= 0 |
|
) |
| |
|
overridevirtual |
Return the probability of the true value of x given the measured value, xmeas.
- Parameters
-
x | The true value of x. |
xmeas | The measured value of x. |
good | False if problem with TF. |
par | Optional additional parameter (not used here). |
- Returns
- Logarithm of the probability.
Reimplemented from KLFitter::ResolutionBase.
The documentation for this class was generated from the following files: