|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Provides utilities for identifying the type of parameter blocks/entries. More...
#include <ParameterRouter.h>
Static Public Member Functions | |
| static ParameterType | GetType (BlockName block, LhaID id) |
| Determines the ParameterType of a given (block, LhaID) pair. | |
| static std::vector< ParameterType > | GetType (BlockName block) |
| Retrieves all ParameterTypes associated with a block. | |
| static std::unordered_set< BlockName > | GetOwnedBlocks (ParameterType ptype) |
| Retrieves all blocks owned by a given ParameterType. | |
Provides utilities for identifying the type of parameter blocks/entries.
The router answers questions of the form:
It relies on:
Definition at line 170 of file ParameterRouter.h.
|
static |
Retrieves all blocks owned by a given ParameterType.
Returns the static routing table, enriched with runtime BSM blocks.
| ptype | The ParameterType of interest. |
| std::out_of_range | if ptype is not present in BLOCKS. |
Definition at line 91 of file ParameterRouter.cpp.
|
static |
Retrieves all ParameterTypes associated with a block.
This can be useful when a block is shared by multiple categories (e.g. "MASS" for SM and BSM). Unlike the (block,id) version, this does not attempt to resolve conflicts; it simply reports all types that list block in ParameterBlockRepartition::BLOCKS.
| block | Name of the block. |
Definition at line 80 of file ParameterRouter.cpp.
|
static |
Determines the ParameterType of a given (block, LhaID) pair.
Resolution logic:
block.| block | Name of the block. |
| id | LHA ID of the parameter (used for conflict resolution). |
Definition at line 59 of file ParameterRouter.cpp.