Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
DependencyPruner.cpp
Go to the documentation of this file.
1#include "DependencyPruner.h"
2
4 Parameters::GetInstance(tp)->reattach_block(block_name);
5}
6
8 Parameters::GetInstance(tp)->detach_block(block_name);
9}
10
11void DependencyPruner::reattach_parameter(ParameterType tp, const BlockName &block_name, const LhaID &id) {
12 Parameters::GetInstance(tp)->reattach_param(block_name, id);
13}
14
15void DependencyPruner::detach_parameter(ParameterType tp, const BlockName &block_name, const LhaID &id) {
16 Parameters::GetInstance(tp)->detach_param(block_name, id);
17}
Adapter implementing IDependencyPruner on top of Parameters.
ParameterType
Block identifier with alias support.
Definition BlockName.h:59
void reattach_parameter(ParameterType tp, const BlockName &block_name, const LhaID &id) override
Reattaches a previously detached dependent parameter.
void detach_block(ParameterType tp, const BlockName &block_name) override
Detaches a dependent block from its upstream dependencies.
void detach_parameter(ParameterType tp, const BlockName &block_name, const LhaID &id) override
Detaches a dependent parameter from its upstream dependencies.
void reattach_block(ParameterType tp, const BlockName &block_name) override
Reattaches a previously detached dependent block.
static std::shared_ptr< Parameters > GetInstance(ParameterType id=ParameterType::SM)
Returns the singleton-like repository for a given parameter type.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56