|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Non-templated façade over the project mapper families. More...
#include <memory>#include <optional>#include <string>#include <string_view>#include <utility>#include <vector>#include "observable_ids.hpp"#include "wcoef_ids.hpp"#include "wgroup_ids.hpp"#include "parametertype_ids.hpp"#include "model_ids.hpp"#include "wilsonbasis_ids.hpp"#include "contributiontype_ids.hpp"#include "masstype_ids.hpp"#include "scaletype_ids.hpp"#include "uncertaintytype_ids.hpp"#include "decay_ids.hpp"#include "qcdorder_ids.hpp"

Go to the source code of this file.
Classes | |
| struct | IMapperView |
| Minimal runtime-polymorphic view over a mapper. More... | |
| struct | MapperViewSimple< Concrete > |
| Adapter for mappers with simple no-extra-data registration. More... | |
| struct | MapperViewReadOnly< Concrete > |
| Adapter for mappers that can be queried generically but not registered. More... | |
Enumerations | |
| enum class | MapperKind { Observable , WCoef , Group , ParameterType , Model , WilsonBasis , ContributionType , MassType , ScaleType , UncertaintyType , Decay , QCDOrder } |
| Enumeration of mapper families supported by the hub. More... | |
Functions | |
| IMapperView & | mapper_view (MapperKind k) |
| Return the mapper view associated with a mapper kind. | |
| std::string | canonical_of (MapperKind k, std::string_view s) |
| Resolve a name to its canonical representation for a mapper kind. | |
| std::vector< std::string > | list_all (MapperKind k) |
| List all canonical names known to a mapper kind. | |
| bool | register_custom (MapperKind k, std::string canonical, std::vector< std::string > aliases) |
| Generic registration helper for simple mapper kinds. | |
| bool | register_custom_wcoef (std::string canonical, std::vector< std::string > aliases, std::pair< int, int > flha) |
| Specialized registration helper for Wilson coefficients. | |
| bool | register_custom_observable (std::string canonical, std::vector< std::string > aliases, std::optional< LhaID > ext, std::string_view parent_decay) |
| Specialized registration helper for custom observables. | |
| bool | register_custom_decay_with_observables (std::string canonical, std::vector< std::string > aliases, std::vector< CustomObservableSpec > observables) |
| Specialized registration helper for a custom decay with observables. | |
Non-templated façade over the project mapper families.
The individual mappers are template-based and expose slightly different registration APIs. mapper_hub.hpp provides a small common interface for generic tooling such as CLI completion, validation or configuration parsing.
IMapperView::register_custom(). Definition in file mapper_hub.hpp.
|
strong |
Enumeration of mapper families supported by the hub.
| Enumerator | |
|---|---|
| Observable | |
| WCoef | |
| Group | |
| ParameterType | |
| Model | |
| WilsonBasis | |
| ContributionType | |
| MassType | |
| ScaleType | |
| UncertaintyType | |
| Decay | |
| QCDOrder | |
Definition at line 40 of file mapper_hub.hpp.
|
inline |
Resolve a name to its canonical representation for a mapper kind.
Definition at line 189 of file mapper_hub.hpp.
|
inline |
List all canonical names known to a mapper kind.
Definition at line 196 of file mapper_hub.hpp.
|
inline |
Return the mapper view associated with a mapper kind.
| k | Mapper family. |
Definition at line 154 of file mapper_hub.hpp.
|
inline |
Generic registration helper for simple mapper kinds.
Definition at line 205 of file mapper_hub.hpp.
|
inline |
Specialized registration helper for a custom decay with observables.
This enforces the project invariant that a decay must have at least one observable.
| canonical | Canonical decay name. |
| aliases | Optional decay aliases. |
| observables | Custom observable definitions to attach. |
Definition at line 266 of file mapper_hub.hpp.
|
inline |
Specialized registration helper for custom observables.
A custom observable must always be attached to a parent decay.
| canonical | Canonical observable name. |
| aliases | Optional aliases. |
| ext | Optional FLHA id. |
| parent_decay | Parent decay name or alias. |
Definition at line 242 of file mapper_hub.hpp.
|
inline |
Specialized registration helper for Wilson coefficients.
| canonical | Canonical coefficient name. |
| aliases | Optional aliases. |
| flha | FLHA base pair. |
Definition at line 220 of file mapper_hub.hpp.