|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Contains the repartition of parameter blocks according to their ParameterType. More...
#include <ParameterRouter.h>
Static Public Member Functions | |
| static std::vector< BlockName > | filter_custom_blocks (const std::vector< BlockName > &source) |
| Filters custom (non-standard) blocks from a source list. | |
| static void | register_custom_bsm_block (BlockName blockName) |
| Registers one runtime block as BSM-owned. | |
| static void | register_custom_bsm_blocks (const std::vector< BlockName > &blockNames) |
| Registers several runtime blocks as BSM-owned. | |
| static bool | is_custom_bsm_block (BlockName blockName) |
| Checks whether one block was registered dynamically as BSM-owned. | |
| static const std::unordered_set< BlockName > & | custom_bsm_blocks () |
| Returns the registered runtime BSM blocks. | |
| static std::unordered_set< BlockName > | get_blocks (ParameterType type) |
| Returns the static blocks plus runtime BSM blocks when relevant. | |
Static Public Attributes | |
| static const std::map< ParameterType, std::unordered_set< BlockName > > | BLOCKS |
| Static map associating a ParameterType with a set of block names. | |
| static std::unordered_set< BlockName > | CUSTOM_BSM_BLOCKS {} |
| Runtime-registered blocks that should be treated as BSM blocks. | |
Contains the repartition of parameter blocks according to their ParameterType.
This is essentially a static "routing table" telling the framework which LHA / FLHA blocks conceptually belong to each high-level parameter family (SM, BSM, flavor, Wilson, decay, observable, passthrough).
Definition at line 30 of file ParameterRouter.h.
|
static |
Returns the registered runtime BSM blocks.
Definition at line 17 of file ParameterRouter.cpp.
|
static |
Filters custom (non-standard) blocks from a source list.
A block is considered "custom" if its lower-cased name is not found in any of the standard BLOCKS sets, with two special exceptions:
source.| source | A list of input block names (as found in a file or DB). |
Definition at line 31 of file ParameterRouter.cpp.
|
static |
Returns the static blocks plus runtime BSM blocks when relevant.
Definition at line 21 of file ParameterRouter.cpp.
|
static |
Checks whether one block was registered dynamically as BSM-owned.
Definition at line 13 of file ParameterRouter.cpp.
|
static |
Registers one runtime block as BSM-owned.
Definition at line 3 of file ParameterRouter.cpp.
|
static |
Registers several runtime blocks as BSM-owned.
Definition at line 7 of file ParameterRouter.cpp.
|
inlinestatic |
Static map associating a ParameterType with a set of block names.
Interpretation:
Note: some blocks such as "MASS" and "GAUGE" can be used by multiple parameter types (e.g. SM vs BSM). In those cases, finer logic is implemented in ParamRouter::GetType(block, id).
Definition at line 47 of file ParameterRouter.h.
|
inlinestatic |
Runtime-registered blocks that should be treated as BSM blocks.
This is used by HyperisoMaster::pre_init() / ILhaPrototypeRegistry to make additional LHA prototypes available through Parameters::GetInstance(BSM) without hard-coding their names in the static BLOCKS table.
Definition at line 78 of file ParameterRouter.h.