KLFitter
v1.3.2
Documentation of the KLFitter library -- The Kinematic Likelihood Fitter
|
This class offers a simple parameterization of a resolution. More...
#include <ResSingleGaussMET.h>
Public Member Functions | |
Constructors and destructors | |
ResSingleGaussMET (const char *filename) | |
The default constructor. | |
ResSingleGaussMET (std::vector< double > const ¶meters) | |
A constructor that takes parameters directly, unlike the default constructor that takes a path to the file with TFs. More... | |
~ResSingleGaussMET () | |
The (defaulted) destructor. | |
Member functions (Get) | |
double | GetMean (double x) override |
Calculate the mean of the Gaussian from the TF parameters and the value of x. More... | |
double | GetSigma (double x) override |
Calculate the width of the first Gaussian from the TF parameters and the value of x. More... | |
![]() | |
ResSingleGaussLinearBase (const char *filename) | |
The default constructor. | |
ResSingleGaussLinearBase (std::vector< double > const ¶meters) | |
A constructor. More... | |
virtual | ~ResSingleGaussLinearBase () |
The (defaulted) destructor. | |
double | logp (double x, double xmeas, bool *good, double=0) override |
Return the probability of the true value of x given the measured value, xmeas. More... | |
![]() | |
ResolutionBase (int npar) | |
The default constructor. More... | |
ResolutionBase (std::vector< double > parameters) | |
A constructor. More... | |
virtual | ~ResolutionBase () |
The (defaulted) destructor. | |
int | Par (int index, double *par) |
Return a parameter of the parameterization. More... | |
int | SetPar (int index, double value) |
Set a parameter value. More... | |
int | SetPar (std::vector< double > parameters) |
Set all parameter values. More... | |
int | ReadParameters (const char *filename, std::size_t nparameters) |
Read parameter values from ASCII file. More... | |
int | Status () |
Return a status code. More... | |
Additional Inherited Members | |
![]() | |
static bool | CheckSingleGaussianSanity (double *sigma) |
Sanity check for double gaussian parameters p2, p3 and p5 (1st sigma, scale and 2nd sigma). More... | |
![]() | |
int | fNParameters |
The number of parameters. | |
std::vector< double > | fParameters |
The parameter values. | |
int | fStatus |
The status of this class (1: ok, 0: error). | |
This class offers a simple parameterization of a resolution.
The parameterization is a single Gaussian with energy dependent parameters.
|
explicit |
A constructor that takes parameters directly, unlike the default constructor that takes a path to the file with TFs.
parameters | The parameters of the parameterization. |
|
overridevirtual |
Calculate the mean of the Gaussian from the TF parameters and the value of x.
x | The value of x. |
Implements KLFitter::ResSingleGaussLinearBase.
|
overridevirtual |
Calculate the width of the first Gaussian from the TF parameters and the value of x.
x | The value of x. |
Implements KLFitter::ResSingleGaussLinearBase.