ComPWA
Common Partial-Wave-Analysis Framework
|
Negative Log Likelihood-Estimator. More...
#include <MinLogLH.hpp>
Public Member Functions | |
MinLogLH (ComPWA::Intensity &intensity, const Data::DataSet &datasample, const Data::DataSet &phspdatasample) | |
double | evaluate () noexcept final |
Value of log likelihood function. More... | |
void | updateParametersFrom (const std::vector< double > ¶ms) final |
It is important to input the vector in the same length and order as defined in the getParameters() method. More... | |
std::vector< ComPWA::Parameter > | getParameters () const final |
Public Member Functions inherited from ComPWA::Function< double > | |
virtual | ~Function ()=default |
virtual double | evaluate (const InputTypes &... args) noexcept=0 |
Private Attributes | |
ComPWA::Intensity & | Intensity |
const Data::DataSet & | DataSample |
const Data::DataSet & | PhspDataSample |
Negative Log Likelihood-Estimator.
This class calculates the negative log likelihood -log(LH) using an Intensity and data samples. Data data samples are retrieved from the DataStorage.
with the Intensity for a given event and the phase integral and are the efficiency and weight for each event is the phase space volume (in which the phase space events lie)
The sum over all weights is necessary to normalize the weights to one. Otherwise the error estimate would be incorrect. The Intensity does not have to be normalized. This is done automatically by the phase space integral.
Definition at line 50 of file MinLogLH.hpp.
ComPWA::Estimator::MinLogLH::MinLogLH | ( | ComPWA::Intensity & | intensity, |
const Data::DataSet & | datasample, | ||
const Data::DataSet & | phspdatasample | ||
) |
Definition at line 17 of file MinLogLH.cpp.
|
finalnoexcept |
Value of log likelihood function.
Definition at line 27 of file MinLogLH.cpp.
|
finalvirtual |
Implements ComPWA::Function< double >.
Definition at line 59 of file MinLogLH.cpp.
|
finalvirtual |
It is important to input the vector in the same length and order as defined in the getParameters() method.
So in other words, call getParameters() first, then use this ordering and to input new values in this method.
Implements ComPWA::Function< double >.
Definition at line 55 of file MinLogLH.cpp.
|
private |
Definition at line 66 of file MinLogLH.hpp.
|
private |
Definition at line 64 of file MinLogLH.hpp.
|
private |
Definition at line 67 of file MinLogLH.hpp.