|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Declarative description of a Wilson coefficient group. More...
#include <GroupDefinition.h>

Public Types | |
| using | SetupHook = std::function< void(const BuildContext &, CoefficientGroup &)> |
| Setup hook signature. | |
Public Member Functions | |
| std::vector< SetupHook > | hooks_for (Model model) const |
Returns hooks applicable to model, including common hooks and the explicit Marty -> SM compatibility fallback. | |
Public Attributes | |
| WGroupId | id |
| Identifier for this group. | |
| std::vector< WCoef > | members |
| Members (coefficient enums) belonging to this group. | |
| std::unordered_map< WilsonBasis, std::map< QCDOrder, CoefficientGroupSources > > | sources |
| Running-block sources and computation functions. | |
| std::vector< SetupHook > | common_setup |
| Setup hooks to run for every model/backend during group construction. | |
| std::unordered_map< Model, std::vector< SetupHook > > | setup |
| Model-specific setup hooks to run during group construction. | |
Declarative description of a Wilson coefficient group.
A group definition specifies:
Sources:
sources[basis][order] returns a CoefficientGroupSources describing:Setup hooks:
common_setup) or stored per model: setup[Model::SM], setup[Model::SUSY], etc.Definition at line 145 of file GroupDefinition.h.
| using GroupDefinition::SetupHook = std::function<void(const BuildContext&, CoefficientGroup&)> |
Setup hook signature.
Hooks can:
| ctx | Build-time context (model/backend/adapters/contrib/group_id). |
| grp | The concrete coefficient group being configured. |
Definition at line 175 of file GroupDefinition.h.
| std::vector< GroupDefinition::SetupHook > GroupDefinition::hooks_for | ( | Model | model | ) | const |
Returns hooks applicable to model, including common hooks and the explicit Marty -> SM compatibility fallback.
Definition at line 6 of file GroupDefinitions.cpp.
| std::vector<SetupHook> GroupDefinition::common_setup |
Setup hooks to run for every model/backend during group construction.
Prefer this for auxiliary blocks that are independent of the coefficient backend, e.g. common running matrices.
Definition at line 183 of file GroupDefinition.h.
| WGroupId GroupDefinition::id |
Identifier for this group.
Definition at line 147 of file GroupDefinition.h.
| std::vector<WCoef> GroupDefinition::members |
Members (coefficient enums) belonging to this group.
Definition at line 150 of file GroupDefinition.h.
Model-specific setup hooks to run during group construction.
Example:
Definition at line 193 of file GroupDefinition.h.
| std::unordered_map<WilsonBasis, std::map<QCDOrder, CoefficientGroupSources> > GroupDefinition::sources |
Running-block sources and computation functions.
Keyed by:
The source list may include MATCHING_BLOCK_PLACEHOLDER, which should be replaced at build time with the actual matching block name for the group.
Definition at line 162 of file GroupDefinition.h.