|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Composer that registers dependent entities into ParameterType::WILSON. More...
#include <WilsonParamComposer.h>


Public Member Functions | |
| void | compose_block (const std::string &block_name, const std::unordered_map< ParameterType, std::vector< std::string > > &source_names, const DepUpdateFunc &update_func) override |
| Creates a dependent block in the Wilson scope. | |
| void | compose_parameter (const ParamId &, const std::unordered_set< ParamId > &, const DepParamUpdateFunc &) override |
| Creates a dependent parameter in the Wilson scope. | |
| void | remove_block (const std::string &) override |
| Removes a dependent block from the Wilson scope and from the registry. | |
| void | update (const std::string &block_name) override |
| Triggers an update on a dependent block in the Wilson scope. | |
| void | remove_all_composed_blocks () override |
| Removes all dependent blocks composed via this composer. | |
Public Member Functions inherited from IBlockComposer | |
| virtual | ~IBlockComposer ()=default |
| bool | has_composed_block (const std::string &block_name) const |
| Returns whether a block has already been composed by this composer instance. | |
Additional Inherited Members | |
Protected Attributes inherited from IBlockComposer | |
| std::unordered_set< std::string > | composed_blocks |
| Registry of blocks composed through this composer instance. | |
Composer that registers dependent entities into ParameterType::WILSON.
Responsibilities:
Notes on typing behavior:
Definition at line 39 of file WilsonParamComposer.h.
|
overridevirtual |
Creates a dependent block in the Wilson scope.
Delegates to:
Also records block_name into the instance-local composed-block registry.
Implements IBlockComposer.
Definition at line 6 of file WilsonParamComposer.cpp.
|
overridevirtual |
Creates a dependent parameter in the Wilson scope.
Also records the destination block name into the instance-local composed-block registry.
Implements IBlockComposer.
Definition at line 14 of file WilsonParamComposer.cpp.
|
overridevirtual |
Removes all dependent blocks composed via this composer.
Iterates over the instance-local composed-block registry and removes each block from the Wilson scope, then clears the registry.
Implements IBlockComposer.
Definition at line 40 of file WilsonParamComposer.cpp.
|
overridevirtual |
Removes a dependent block from the Wilson scope and from the registry.
Implements IBlockComposer.
Definition at line 31 of file WilsonParamComposer.cpp.
|
overridevirtual |
Triggers an update on a dependent block in the Wilson scope.
Implements IBlockComposer.
Definition at line 36 of file WilsonParamComposer.cpp.