|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract initialization strategy for one parameter namespace. More...
#include <Parameters.h>

Public Member Functions | |
| virtual std::unordered_set< BlockName > | initializeParameters (class Parameters ¶ms)=0 |
| Initializes the block set for the target parameter repository. | |
| virtual void | postInitialization (Parameters ¶ms)=0 |
| Performs additional initialization after raw blocks are loaded. | |
| 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. | |
Protected Attributes | |
| std::unordered_set< BlockName > | absent_blocks |
Abstract initialization strategy for one parameter namespace.
A ModelStrategy is responsible for two phases:
It also stores the set of blocks that were absent during initialization.
Definition at line 90 of file Parameters.h.
|
virtualdefault |
Virtual destructor.
|
inline |
Stores the set of blocks absent during initialization.
| _ | Set of missing block names. |
Definition at line 125 of file Parameters.h.
|
pure virtual |
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.
| params | Parameter repository being initialized. |
Implemented in SMModelStrategy, BSMModelStrategy, FlavorStrategy, GeneralModelStrategy, WilsonInputStrategy, DecayStrategy, ObservableStrategy, and PassthroughStrategy.
|
pure virtual |
Performs additional initialization after raw blocks are loaded.
This hook is typically used to:
| params | Parameter repository being post-initialized. |
Implemented in FlavorStrategy, GeneralModelStrategy, DecayStrategy, ObservableStrategy, PassthroughStrategy, SMModelStrategy, BSMModelStrategy, and WilsonInputStrategy.
|
inline |
Clears the list of absent blocks.
Definition at line 130 of file Parameters.h.
|
protected |
Definition at line 132 of file Parameters.h.