|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Evaluates a profiled NLL as a function of two scan coordinates. More...
#include <ProfiledLikelihood2D.h>
Public Member Functions | |
| ProfiledLikelihood2D ()=default | |
| Default constructor. | |
| ProfiledLikelihood2D (std::shared_ptr< ILikelihood > base, std::shared_ptr< Profiler > profiler, std::shared_ptr< IProfilingStrategy > profiling_strategy) | |
| Constructs a two-dimensional profiled likelihood wrapper. | |
| 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. | |
Evaluates a profiled NLL as a function of two scan coordinates.
The class combines:
The last successful profiled point is retained as a warm start for the next evaluation, which improves stability and performance in grid scans.
Definition at line 33 of file ProfiledLikelihood2D.h.
|
default |
Default constructor.
Creates an empty wrapper. The object must be assigned or reconstructed with valid dependencies before profiled_nll is called.
| ProfiledLikelihood2D::ProfiledLikelihood2D | ( | std::shared_ptr< ILikelihood > | base, |
| std::shared_ptr< Profiler > | profiler, | ||
| std::shared_ptr< IProfilingStrategy > | profiling_strategy | ||
| ) |
Constructs a two-dimensional profiled likelihood wrapper.
| base | Base likelihood to evaluate. |
| profiler | Profiler used to minimize over free dimensions. |
| profiling_strategy | Strategy used to build profile requests for each 2D scan point. |
Definition at line 3 of file ProfiledLikelihood2D.cpp.
| std::array< fit_app::ParameterDefinition, 2 > ProfiledLikelihood2D::get_param_defs | ( | ) | const |
Returns the parameter definitions for the two scan coordinates.
Definition at line 33 of file ProfiledLikelihood2D.cpp.
| double ProfiledLikelihood2D::profiled_nll | ( | double | px, |
| double | py | ||
| ) |
Evaluates the profiled NLL at one 2D scan point.
| px | Value of the first scanned coordinate. |
| py | Value of the second scanned coordinate. |
Definition at line 15 of file ProfiledLikelihood2D.cpp.