|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Concrete implementation for freezing and unfreezing blocks and parameters. More...
#include <Freezer.h>


Static Public Member Functions | |
| static void | freeze (const ParameterType &, const std::string &) |
| Freezes a block given its type and name. | |
| static void | freeze (const ParamId &) |
| Freezes a single parameter. | |
| static void | unfreeze (const ParameterType &, const std::string &) |
| Unfreezes a block given its type and name. | |
| static void | unfreeze (const ParamId &) |
| Unfreezes a single parameter. | |
Static Public Member Functions inherited from IFreezer< ParameterType, std::string, ParamId > | |
| static void | freeze (const ParameterType &, const std::string &)=delete |
| Freezes a block given its type and name. | |
| static void | freeze (const ParamId &)=delete |
| Freezes a single object (typically a parameter). | |
| static void | unfreeze (const ParameterType &, const std::string &)=delete |
| Unfreezes a block given its type and name. | |
| static void | unfreeze (const ParamId &)=delete |
| Unfreezes a single object (typically a parameter). | |
Additional Inherited Members | |
Public Member Functions inherited from IFreezer< ParameterType, std::string, ParamId > | |
| virtual | ~IFreezer ()=default |
| Virtual destructor for proper polymorphic cleanup if ever inherited non-statically. | |
Concrete implementation for freezing and unfreezing blocks and parameters.
This class provides a static API to:
All operations are delegated to the corresponding Parameters instance, which in turn propagates the freeze/unfreeze requests to Block and Parameter objects (via Block::freeze, Block::unfreeze, Parameter::freeze, Parameter::unfreeze).
|
static |
Freezes a block given its type and name.
Delegates to Parameters::GetInstance(p_type)->freeze_block(block_name).
| p_type | The parameter type (e.g., SM, BSM). |
| block_name | The name of the block to freeze. |
Definition at line 3 of file Freezer.cpp.
|
static |
Freezes a single parameter.
Delegates to the appropriate Parameters instance based on pid.type and calls freeze_param(pid.block, pid.code).
| pid | The parameter ID to freeze. |
Definition at line 7 of file Freezer.cpp.
|
static |
Unfreezes a block given its type and name.
Delegates to Parameters::GetInstance(p_type)->unfreeze_block(block_name).
| p_type | The parameter type. |
| block_name | The name of the block to unfreeze. |
Definition at line 11 of file Freezer.cpp.
|
static |
Unfreezes a single parameter.
Delegates to the appropriate Parameters instance based on pid.type and calls unfreeze_param(pid.block, pid.code).
| pid | The parameter ID to unfreeze. |
Definition at line 15 of file Freezer.cpp.