1#ifndef IBLOCK_PROVIDER_H
2#define IBLOCK_PROVIDER_H
30template<
typename T,
typename U>
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).