|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Interface for converting 2D scan coordinates into profiler requests. More...
#include <IProfilingStrategy.h>


Public Member Functions | |
| IProfilingStrategy (std::size_t x_id, std::size_t y_id, const FitResult &fr) | |
| Constructs a profiling strategy. | |
| virtual | ~IProfilingStrategy ()=default |
| Virtual destructor. | |
| virtual ProfileRequest | build_request (double px, double py, const std::map< std::size_t, double > ¤t_argmin) const =0 |
| Builds a profiler request for one 2D scan point. | |
| virtual std::map< std::size_t, double > | init_warm_start () const =0 |
| Creates the initial warm-start map for the strategy. | |
| std::size_t | get_x_id () |
| Returns the global index of the first scanned coordinate. | |
| std::size_t | get_y_id () |
| Returns the global index of the second scanned coordinate. | |
Protected Attributes | |
| std::size_t | x_id |
| std::size_t | y_id |
| Global indices of the two profiled scan coordinates. | |
| FitResult | fr |
| Reference global fit used for central values and warm starts. | |
Interface for converting 2D scan coordinates into profiler requests.
A profiling strategy owns the indices of the two coordinates to scan and a reference fit result. Concrete strategies decide which remaining parameters are fixed or released when building a ProfileRequest.
Definition at line 46 of file IProfilingStrategy.h.
| IProfilingStrategy::IProfilingStrategy | ( | std::size_t | x_id, |
| std::size_t | y_id, | ||
| const FitResult & | fr | ||
| ) |
Constructs a profiling strategy.
| x_id | Global parameter index used as the first scan coordinate. |
| y_id | Global parameter index used as the second scan coordinate. |
| fr | Reference global fit result used for central values and warm starts. |
Definition at line 3 of file IProfilingStrategy.cpp.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Builds a profiler request for one 2D scan point.
| px | Value assigned to the first scanned coordinate. |
| py | Value assigned to the second scanned coordinate. |
| current_argmin | Warm-start map from free parameter indices to their last profiled values. |
| std::runtime_error | if required warm-start values are missing. |
Implemented in SliceProfilingStrategy, and ProjectionProfilingStrategy.
|
inline |
Returns the global index of the first scanned coordinate.
Definition at line 93 of file IProfilingStrategy.h.
|
inline |
Returns the global index of the second scanned coordinate.
Definition at line 100 of file IProfilingStrategy.h.
|
pure virtual |
Creates the initial warm-start map for the strategy.
Implemented in SliceProfilingStrategy, and ProjectionProfilingStrategy.
|
protected |
Reference global fit used for central values and warm starts.
Definition at line 104 of file IProfilingStrategy.h.
|
protected |
Definition at line 103 of file IProfilingStrategy.h.
|
protected |
Global indices of the two profiled scan coordinates.
Definition at line 103 of file IProfilingStrategy.h.