Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IDataMonitor Class Referenceabstract

Interface for monitoring and retrieving information about parameter blocks. More...

#include <IDataMonitor.h>

Inheritance diagram for IDataMonitor:

Public Member Functions

virtual ~IDataMonitor ()=default
 
virtual std::unordered_set< BlockNameget_all_blocks ()=0
 Retrieves the names of all parameter blocks across all models.
 
virtual std::unordered_set< BlockNameget_blocks_list (ParameterType param_type=ParameterType::SM)=0
 Retrieves the list of blocks for a specific model type.
 
virtual std::map< LhaID, scalar_tget_block_infos (const BlockName &block, ParameterType param_type=ParameterType::SM)=0
 Retrieves all parameter values within a block.
 
virtual std::vector< ParameterTypeget_type_of_block (const BlockName &block)=0
 Retrieves the model types owning a specific block.
 
virtual ~IDataMonitor ()=default
 Virtual destructor for polymorphic use.
 
virtual std::unordered_set< BlockNameget_all_blocks ()=0
 Retrieves the names of all parameter blocks across all models.
 
virtual std::unordered_set< BlockNameget_blocks_list (ParameterType param_type=ParameterType::SM)=0
 Retrieves the list of blocks for a specific model type.
 
virtual std::map< LhaID, scalar_tget_block_infos (const BlockName &block, ParameterType param_type=ParameterType::SM)=0
 Retrieves all parameter values within a block.
 
virtual std::vector< ParameterTypeget_type_of_block (const BlockName &block)=0
 Retrieves the model types owning a specific block.
 

Detailed Description

Interface for monitoring and retrieving information about parameter blocks.

Implementations provide read-only access to:

  • the list of all blocks across models,
  • per-type block lists,
  • the map of parameter values inside a block,
  • the mapping between blocks and owning ParameterTypes.

Definition at line 31 of file IDataMonitor.h.

Constructor & Destructor Documentation

◆ ~IDataMonitor() [1/2]

virtual IDataMonitor::~IDataMonitor ( )
virtualdefault

◆ ~IDataMonitor() [2/2]

virtual IDataMonitor::~IDataMonitor ( )
virtualdefault

Virtual destructor for polymorphic use.

Member Function Documentation

◆ get_all_blocks() [1/2]

virtual std::unordered_set< BlockName > IDataMonitor::get_all_blocks ( )
pure virtual

Retrieves the names of all parameter blocks across all models.

Returns
A set of block names.

Implemented in APIAdapter.

◆ get_all_blocks() [2/2]

virtual std::unordered_set< BlockName > IDataMonitor::get_all_blocks ( )
pure virtual

Retrieves the names of all parameter blocks across all models.

Implementations may aggregate block lists from multiple ParameterType instances as well as additional sources (e.g. input cache).

Returns
A set of block names.

Implemented in APIAdapter.

◆ get_block_infos() [1/2]

virtual std::map< LhaID, scalar_t > IDataMonitor::get_block_infos ( const BlockName block,
ParameterType  param_type = ParameterType::SM 
)
pure virtual

Retrieves all parameter values within a block.

Parameters
blockName of the block.
param_typeModel type associated with the block (default: SM).
Returns
A map of LHA IDs to their corresponding values.

Implemented in APIAdapter.

◆ get_block_infos() [2/2]

virtual std::map< LhaID, scalar_t > IDataMonitor::get_block_infos ( const BlockName block,
ParameterType  param_type = ParameterType::SM 
)
pure virtual

Retrieves all parameter values within a block.

Parameters
blockName of the block.
param_typeModel type associated with the block (default: SM).
Returns
A map of LHA IDs to their corresponding values.

Implemented in APIAdapter.

◆ get_blocks_list() [1/2]

virtual std::unordered_set< BlockName > IDataMonitor::get_blocks_list ( ParameterType  param_type = ParameterType::SM)
pure virtual

Retrieves the list of blocks for a specific model type.

Parameters
param_typeThe type of model (default: SM).
Returns
A set of block names.

Implemented in APIAdapter.

◆ get_blocks_list() [2/2]

virtual std::unordered_set< BlockName > IDataMonitor::get_blocks_list ( ParameterType  param_type = ParameterType::SM)
pure virtual

Retrieves the list of blocks for a specific model type.

Typically delegates to Parameters::GetInstance(param_type)->get_blocks_list().

Parameters
param_typeThe type of model (default: SM).
Returns
A set of block names.

Implemented in APIAdapter.

◆ get_type_of_block() [1/2]

virtual std::vector< ParameterType > IDataMonitor::get_type_of_block ( const BlockName block)
pure virtual

Retrieves the model types owning a specific block.

Parameters
blockName of the block.
Returns
A vector of model types associated with the block.

Implemented in APIAdapter.

◆ get_type_of_block() [2/2]

virtual std::vector< ParameterType > IDataMonitor::get_type_of_block ( const BlockName block)
pure virtual

Retrieves the model types owning a specific block.

For a given block, a model can appear multiple times in different contexts (SM, BSM, WILSON, etc.). Implementations generally rely on ParamRouter::GetType(block) to determine the corresponding types.

Parameters
blockName of the block.
Returns
A vector of model types associated with the block.

Implemented in APIAdapter.


The documentation for this class was generated from the following files: