|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Extension of GroupMapper for building composite group strings. More...
#include <GroupMapper.h>


Static Public Member Functions | |
| static std::string | str (WGroup g, ScaleType scale, WilsonBasis basis=WilsonBasis::B_STANDARD) |
| Returns a composite label "GROUP_SCALE[_BASIS]" for a Wilson group. | |
Static Public Member Functions inherited from GroupMapper | |
| static bool | register_custom (std::string canonical, std::vector< std::string > aliases={}, std::optional< std::string > ext=std::nullopt) |
| Registers a custom Wilson group with optional external label. | |
| static std::string | str (const WGroupId &gid, ScaleType s, WilsonBasis b=WilsonBasis::B_STANDARD) |
| Builds a composite block name using a WGroupId, scale and basis. | |
| static std::string | str (WGroup g, ScaleType s, WilsonBasis b=WilsonBasis::B_STANDARD) |
| Builds a composite block name using a WGroup enum, scale and basis. | |
Static Public Member Functions inherited from GenericMapperWithExt< WGroupTag, WGroup, std::string, std::hash< std::string >, group_mapping, group_external_mapping > | |
| static void | init_builtins () |
| Explicitly initializes builtin entries. | |
| static std::vector< std::string > | get_str () |
| Returns the list of builtin string names from MapFn(). | |
| static std::vector< WGroup > | get_enum () |
| Returns the list of builtin enum values. | |
| static std::vector< std::string > | get_str_all () |
| Returns all known names (builtin + custom). | |
| static WGroup | enum_elt_legacy (std::string_view s) |
| Legacy enum lookup using only the static MapFn() table. | |
| static IdOf< WGroupTag > | id_of (std::string_view s) |
| Resolves a string into an IdOf<Tag> via the registry. | |
| static IdOf< WGroupTag > | enum_elt (std::string_view s) |
| Alias for id_of(), kept for compatibility. | |
| static std::optional< IdOf< WGroupTag > > | from_external (const std::string &k) |
| Resolves an external key into an identifier. | |
| static std::optional< std::string > | external_of (const IdOf< WGroupTag > &id) |
| Returns the external key associated with a given identifier. | |
| static bool | register_custom (std::string canonical, std::vector< std::string > aliases={}, std::optional< std::string > ext=std::nullopt) |
| Registers a custom entry with optional external key. | |
| static bool | set_external (const IdOf< WGroupTag > &id, const std::string &k) |
| Sets or updates the external key of an existing identifier. | |
| static std::vector< IdOf< WGroupTag > > | list_all () |
| Lists all distinct identifiers currently registered. | |
| static std::string | str (const IdOf< WGroupTag > &id) |
| Returns the string representation of an identifier. | |
| static std::string | str (WGroup e) |
| Returns the builtin string name of an enum value. | |
| static IdOf< WGroupTag > | to_id (WGroup e) |
| Converts an enum value to an IdOf<Tag>. | |
| static std::optional< WGroup > | enum_of (const IdOf< WGroupTag > &id) |
| Attempts to recover the enum value associated with an identifier. | |
Additional Inherited Members | |
Public Types inherited from GroupMapper | |
| using | Base = GenericMapperWithExt< WGroupTag, WGroup, std::string, std::hash< std::string >, group_mapping, group_external_mapping > |
Extension of GroupMapper for building composite group strings.
Definition at line 29 of file GroupMapper.h.
|
inlinestatic |
Returns a composite label "GROUP_SCALE[_BASIS]" for a Wilson group.
Examples:
| g | Wilson operator group. |
| scale | Scale type (matching / hadronic). |
| basis | Wilson basis (used only if scale == HADRONIC). |
Definition at line 45 of file GroupMapper.h.