|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Block provider bound to HyperISO Parameters / ParameterType. More...
#include <BlockProvider.h>


Public Member Functions | |
| bool | exists (const std::string &blockname, ParameterType) override |
| Checks whether a block exists for the given ParameterType. | |
| void | log_all_blocks (ParameterType type) override |
| Logs all blocks for a given ParameterType. | |
| void | log_block (ParameterType type, const std::string &blockname) override |
| Logs the content of a single block for a given ParameterType. | |
| std::map< LhaID, scalar_t > | get_block (ParameterType type, const std::string &blockname) override |
| Retrieve the content of a single block for a given ParameterType. | |
| std::unordered_set< std::string > | get_all_blocks (ParameterType type) override |
| return all blocks for a given ParameterType. | |
Public Member Functions inherited from IBlockProvider< ParameterType, const std::string & > | |
| virtual | ~IBlockProvider ()=default |
| Virtual destructor. | |
Block provider bound to HyperISO Parameters / ParameterType.
This class specializes IBlockProvider with:
It delegates its operations to the corresponding Parameters instance:
Definition at line 34 of file BlockProvider.h.
|
overridevirtual |
Checks whether a block exists for the given ParameterType.
| blockname | Name of the block to check. |
| pt | ParameterType for which to check the block. |
Implements IBlockProvider< ParameterType, const std::string & >.
Definition at line 3 of file BlockProvider.cpp.
|
overridevirtual |
return all blocks for a given ParameterType.
Internally calls:
| type | ParameterType whose blocks should be returned. |
Implements IBlockProvider< ParameterType, const std::string & >.
Definition at line 25 of file BlockProvider.cpp.
|
overridevirtual |
Retrieve the content of a single block for a given ParameterType.
Internally calls Parameters::GetInstance(type)->get_block_infos(blockname).
| type | ParameterType owning the block. |
| blockname | Name of the block to retrieve. |
Implements IBlockProvider< ParameterType, const std::string & >.
Definition at line 21 of file BlockProvider.cpp.
|
overridevirtual |
Logs all blocks for a given ParameterType.
Internally calls:
| type | ParameterType whose blocks should be logged. |
Implements IBlockProvider< ParameterType, const std::string & >.
Definition at line 13 of file BlockProvider.cpp.
|
overridevirtual |
Logs the content of a single block for a given ParameterType.
Internally calls Parameters::GetInstance(type)->print_block(blockname).
| type | ParameterType owning the block. |
| blockname | Name of the block to log. |
Implements IBlockProvider< ParameterType, const std::string & >.
Definition at line 17 of file BlockProvider.cpp.