KLFitter
v1.3.2
Documentation of the KLFitter library -- The Kinematic Likelihood Fitter
|
A class describing a Gaussian resolution, parametrized for MET. More...
#include <ResGauss_MET.h>
Public Member Functions | |
Constructors and destructors | |
ResGauss_MET (const char *filename) | |
The default constructor. | |
ResGauss_MET (std::vector< double > const ¶meters) | |
A constructor. More... | |
~ResGauss_MET () | |
The (defaulted) destructor. | |
Member functions (Get) | |
double | GetSigma (double sumet) override |
Return the width of the TF depending on the value of sumET. More... | |
double | logp (double x, double xmeas, bool *good, double sumet) override |
Return the probability of the true value of x given the measured value, xmeas. More... | |
Member functions (Set) | |
void | SetSigma (double sigma) |
Set the width of the Gaussian. 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 | |
![]() | |
int | fNParameters |
The number of parameters. | |
std::vector< double > | fParameters |
The parameter values. | |
int | fStatus |
The status of this class (1: ok, 0: error). | |
A class describing a Gaussian resolution, parametrized for MET.
This class offers a simple parameterization of a resolution. The parameterization is a Gaussian with a width of a constant times the square root of the true parameter.
|
explicit |
A constructor.
parameters | The parameters of the parameterization. |
|
overridevirtual |
Return the width of the TF depending on the value of sumET.
Used to adjust the range of the fit parameter that correspond to the TF.
sumet | SumET as parameter for the MET TF. |
Implements KLFitter::ResolutionBase.
|
overridevirtual |
Return the probability of the true value of x given the measured value, xmeas.
x | The true value of x. |
xmeas | The measured value of x. |
good | False if problem with TF. |
sumet | SumET, as the width of the TF depends on this. |
Reimplemented from KLFitter::ResolutionBase.
|
inline |
Set the width of the Gaussian.
sigma | The width of the Gaussian. |