|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
#include <DependenciesHelper.h>
Static Public Member Functions | |
| static std::unordered_set< ParamId > | get_allowed_parameters (Observables id) |
| Returns the set of allowed parameters for a given observable. | |
| static bool | is_param_allowed (Observables id, ParamId pid) |
| Tests whether a given parameter is allowed for a given observable. | |
| static std::unordered_set< ParamId > | get_allowed_parameters (ObservableId id) |
| Returns the set of allowed parameters for a given observable id. | |
| static bool | is_param_allowed (ObservableId id, ParamId pid) |
| Tests whether a given parameter is allowed for a given observable id. | |
Definition at line 23 of file DependenciesHelper.h.
|
static |
Returns the set of allowed parameters for a given observable id.
The observable id is first mapped to an underlying decay identifier via DecayMapper::get_decay_id(). If the observable is associated with one of the decays listed in the internal dependency table, the corresponding set of ParamId is returned.
If the observable does not belong to any declared decay, an error is reported (e.g. via LOG_ERROR in the implementation).
| id | Low-level observable identifier. |
Definition at line 1095 of file DependenciesHelper.cpp.
|
static |
Returns the set of allowed parameters for a given observable.
This overload takes an Observables enum value, converts it to the corresponding ObservableId using ObservableMapper::to_id(), and then forwards the request to the ObservableId-based overload.
| id | High-level observable identifier. |
Definition at line 1083 of file DependenciesHelper.cpp.
|
static |
Tests whether a given parameter is allowed for a given observable id.
This function retrieves the allowed parameter set for id using get_allowed_parameters(ObservableId) and checks whether pid is contained in that set.
| id | Low-level observable identifier. |
| pid | Parameter identifier to be tested. |
pid is allowed for id, false otherwise. Definition at line 1111 of file DependenciesHelper.cpp.
|
static |
Tests whether a given parameter is allowed for a given observable.
This overload takes an Observables enum value, converts it to the corresponding ObservableId and then forwards the check to the ObservableId-based overload.
| id | High-level observable identifier. |
| pid | Parameter identifier to be tested. |
pid is in the allowed parameter set for id, false otherwise. Definition at line 1089 of file DependenciesHelper.cpp.