Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ProfiledLikelihood2D.h
Go to the documentation of this file.
1#ifndef PROFILEDLIKELIHOOD2D_H
2#define PROFILEDLIKELIHOOD2D_H
3
4#include "ILikelihood.h"
5#include "Profiler.h"
7
34public:
42
52 std::shared_ptr<ILikelihood> base,
53 std::shared_ptr<Profiler> profiler,
54 std::shared_ptr<IProfilingStrategy> profiling_strategy
55 );
56
66 double profiled_nll(double px, double py);
67
68
75 std::array<fit_app::ParameterDefinition, 2> get_param_defs() const;
76
77private:
78 std::shared_ptr<ILikelihood> base;
79 std::shared_ptr<Profiler> profiler;
80 std::shared_ptr<IProfilingStrategy> profiling_strategy;
81 std::map<std::size_t, double> last;
82};
83
84#endif // PROFILEDLIKELIHOOD2D_H
Abstract interface for likelihood functions used by the fitting layer.
Profiling strategies used to build two-dimensional likelihood scan requests.
Generic likelihood profiling engine.
Evaluates a profiled NLL as a function of two scan coordinates.
ProfiledLikelihood2D()=default
Default constructor.
double profiled_nll(double px, double py)
Evaluates the profiled NLL at one 2D scan point.
std::array< fit_app::ParameterDefinition, 2 > get_param_defs() const
Returns the parameter definitions for the two scan coordinates.