Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IBlockProvider.h
Go to the documentation of this file.
1#ifndef IBLOCK_PROVIDER_H
2#define IBLOCK_PROVIDER_H
3
30template<typename T, typename U>
32public:
40 virtual bool exists(U blockname, T) = 0;
41
50 virtual void log_all_blocks(T type) = 0;
51
58 virtual void log_block(T type, U blockname) = 0;
59
67 virtual std::map<LhaID, scalar_t> get_block(ParameterType type, const std::string& blockname) = 0;
68
80 virtual std::unordered_set<std::string> get_all_blocks(ParameterType type) = 0;
81
85 virtual ~IBlockProvider() = default;
86};
87
88#endif
ParameterType
Generic interface for providing information about parameter blocks.
virtual bool exists(U blockname, T)=0
Checks whether a given block exists for a given category/model.
virtual ~IBlockProvider()=default
Virtual destructor.
virtual std::map< LhaID, scalar_t > get_block(ParameterType type, const std::string &blockname)=0
Retrieve the content of a specific block for a given category/model.
virtual void log_all_blocks(T type)=0
Logs all blocks for a given category/model.
virtual void log_block(T type, U blockname)=0
Logs the content of a specific block for a given category/model.
virtual std::unordered_set< std::string > get_all_blocks(ParameterType type)=0
return all blocks for a given ParameterType.
double T(double x)
Wilson coefficient T(x).