ComPWA
Common Partial-Wave-Analysis Framework
MinLogLH.hpp
Go to the documentation of this file.
1 // Copyright (c) 2013, 2015, 2017 The ComPWA Team.
2 // This file is part of the ComPWA framework, check
3 // https://github.com/ComPWA/ComPWA/license.txt for details.
4 
5 #ifndef COMPWA_ESTIMATOR_MINLOGLH_HPP_
6 #define COMPWA_ESTIMATOR_MINLOGLH_HPP_
7 
8 #include <memory>
9 #include <vector>
10 
11 #include "Core/FitParameter.hpp"
14 #include "Estimator/Estimator.hpp"
15 
16 namespace ComPWA {
17 namespace Data {
18 struct DataSet;
19 }
20 
21 namespace Estimator {
22 
50 class MinLogLH : public ComPWA::Estimator::Estimator<double> {
51 
52 public:
53  MinLogLH(ComPWA::Intensity &intensity, const Data::DataSet &datasample,
54  const Data::DataSet &phspdatasample);
55 
57  double evaluate() noexcept final;
58 
59  void updateParametersFrom(const std::vector<double> &params) final;
60 
61  std::vector<ComPWA::Parameter> getParameters() const final;
62 
63 private:
65 
68 };
69 
70 std::pair<ComPWA::FunctionTree::FunctionTreeEstimator, FitParameterList>
73  const ComPWA::Data::DataSet &DataSample);
74 
75 } // namespace Estimator
76 } // namespace ComPWA
77 
78 #endif
const Data::DataSet & PhspDataSample
Definition: MinLogLH.hpp:67
This class template provides the interface to implementations, which estimate the "closeness" of a Fu...
Definition: Estimator.hpp:23
ComPWA::Intensity & Intensity
Definition: MinLogLH.hpp:64
Negative Log Likelihood-Estimator.
Definition: MinLogLH.hpp:50
const Data::DataSet & DataSample
Definition: MinLogLH.hpp:66
std::pair< ComPWA::FunctionTree::FunctionTreeEstimator, FitParameterList > createMinLogLHFunctionTreeEstimator(ComPWA::FunctionTree::FunctionTreeIntensity &Intensity, const ComPWA::Data::DataSet &DataSample)
Definition: MinLogLH.cpp:64
Interface template for a general Function of the form OutputType Function(InputTypes) The concept clo...
Definition: Function.hpp:24