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

Strategy responsible for flavor-sector input blocks. More...

#include <Parameters.h>

Inheritance diagram for FlavorStrategy:
Collaboration diagram for FlavorStrategy:

Public Member Functions

std::unordered_set< BlockNameinitializeParameters (class Parameters &params) override
 Initializes the block set for the target parameter repository.
 
void postInitialization (Parameters &) override
 Performs additional initialization after raw blocks are loaded.
 
- Public Member Functions inherited from ModelStrategy
virtual ~ModelStrategy ()=default
 Virtual destructor.
 
void add_absent_block (std::unordered_set< BlockName > _)
 Stores the set of blocks absent during initialization.
 
void remove_absent_block ()
 Clears the list of absent blocks.
 

Additional Inherited Members

- Protected Attributes inherited from ModelStrategy
std::unordered_set< BlockNameabsent_blocks
 

Detailed Description

Strategy responsible for flavor-sector input blocks.

This strategy loads the FLAVOR parameter namespace from the input cache. It currently has no extra post-initialization step.

Definition at line 195 of file Parameters.h.

Member Function Documentation

◆ initializeParameters()

std::unordered_set< BlockName > FlavorStrategy::initializeParameters ( class Parameters params)
overridevirtual

Initializes the block set for the target parameter repository.

Typical implementations call Parameters::init_blocks with the appropriate ParameterType and return the set of missing blocks.

Parameters
paramsParameter repository being initialized.
Returns
Set of block names that were expected but absent from the input.

Implements ModelStrategy.

Definition at line 458 of file Parameters.cpp.

◆ postInitialization()

void FlavorStrategy::postInitialization ( Parameters )
inlineoverridevirtual

Performs additional initialization after raw blocks are loaded.

This hook is typically used to:

  • initialize helper modules,
  • create derived / dependent blocks,
  • add fallback blocks when some inputs are absent,
  • synchronize scales or helper quantities.
Parameters
paramsParameter repository being post-initialized.

Current implementation does nothing.

Implements ModelStrategy.

Definition at line 207 of file Parameters.h.


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