ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::Estimator::SumMinLogLH Class Reference

Calculates the combined likelihood of multiple MinLogLH. More...

#include <SumMinLogLH.hpp>

Public Member Functions

 SumMinLogLH (std::vector< std::shared_ptr< Estimator >> Estimators)
 
double evaluate () noexcept final
 Value of minimum log likelihood function. More...
 
void updateParametersFrom (const std::vector< double > &params) final
 It is important to input the vector in the same length and order as defined in the getParameters() method. More...
 
std::vector< ComPWA::ParametergetParameters () const final
 
- Public Member Functions inherited from ComPWA::Function< double >
virtual ~Function ()=default
 
virtual double evaluate (const InputTypes &... args) noexcept=0
 

Private Attributes

std::vector< std::shared_ptr< Estimator > > LogLikelihoods
 

Detailed Description

Calculates the combined likelihood of multiple MinLogLH.

Definition at line 24 of file SumMinLogLH.hpp.

+ Inheritance diagram for ComPWA::Estimator::SumMinLogLH:
+ Collaboration diagram for ComPWA::Estimator::SumMinLogLH:

Constructor & Destructor Documentation

◆ SumMinLogLH()

ComPWA::Estimator::SumMinLogLH::SumMinLogLH ( std::vector< std::shared_ptr< Estimator >>  Estimators)

Definition at line 19 of file SumMinLogLH.cpp.

Member Function Documentation

◆ evaluate()

double ComPWA::Estimator::SumMinLogLH::evaluate ( )
finalnoexcept

Value of minimum log likelihood function.

Definition at line 22 of file SumMinLogLH.cpp.

◆ getParameters()

std::vector< ComPWA::Parameter > ComPWA::Estimator::SumMinLogLH::getParameters ( ) const
finalvirtual

Implements ComPWA::Function< double >.

Definition at line 42 of file SumMinLogLH.cpp.

◆ updateParametersFrom()

void ComPWA::Estimator::SumMinLogLH::updateParametersFrom ( const std::vector< double > &  )
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 29 of file SumMinLogLH.cpp.

Member Data Documentation

◆ LogLikelihoods

std::vector<std::shared_ptr<Estimator> > ComPWA::Estimator::SumMinLogLH::LogLikelihoods
private

Definition at line 36 of file SumMinLogLH.hpp.


The documentation for this class was generated from the following files: