Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
BlockProvider.h
Go to the documentation of this file.
1#ifndef BLOCK_PROVIDER_H
2#define BLOCK_PROVIDER_H
3
4#include "Include.h"
5#include "Parameters.h"
6#include "IBlockProvider.h"
7
34class BlockProvider : public IBlockProvider<ParameterType, const std::string&> {
35public:
43 bool exists(const std::string& blockname, ParameterType) override;
44
55 void log_all_blocks(ParameterType type) override;
56
65 void log_block(ParameterType type, const std::string& blockname) override;
66
76 std::map<LhaID, scalar_t> get_block(ParameterType type, const std::string& blockname) override;
77
89 std::unordered_set<std::string> get_all_blocks(ParameterType type) override;
90
91};
92
93#endif
ParameterType
Defines a generic interface to query and log parameter blocks.
Model-dependent parameter repository and initialization strategies.
Block provider bound to HyperISO Parameters / ParameterType.
bool exists(const std::string &blockname, ParameterType) override
Checks whether a block exists for the given ParameterType.
std::unordered_set< std::string > get_all_blocks(ParameterType type) override
return all blocks for a 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.
Generic interface for providing information about parameter blocks.