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

Strategy responsible for Wilson-coefficient input blocks. More...

#include <Parameters.h>

Inheritance diagram for WilsonInputStrategy:
Collaboration diagram for WilsonInputStrategy:

Public Member Functions

std::unordered_set< BlockNameinitializeParameters (class Parameters &params) override
 Initializes the block set for the target parameter repository.
 
void postInitialization (Parameters &params) 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 Wilson-coefficient input blocks.

This strategy loads the WILSON namespace from the input cache.

In the current implementation, post-initialization additionally synchronizes the helper block EW_SCALE with the scale carried by the FWCOEF block, but only if the configuration flag ExternalFlag::HAS_WILSON_INPUT is enabled.

Definition at line 249 of file Parameters.h.

Member Function Documentation

◆ initializeParameters()

std::unordered_set< BlockName > WilsonInputStrategy::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 463 of file Parameters.cpp.

◆ postInitialization()

void WilsonInputStrategy::postInitialization ( Parameters params)
overridevirtual

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.

Implements ModelStrategy.

Definition at line 468 of file Parameters.cpp.


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