Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IStatParamOptimizerProxy.h
Go to the documentation of this file.
1#ifndef ISTAT_PARAM_OPTIMIZER_PROXY_H
2#define ISTAT_PARAM_OPTIMIZER_PROXY_H
3
4#include "Include.h"
5#include "Parameter.h"
6
49public:
53 virtual ~IStatParamOptimizerProxy() = default;
54
65 virtual void set_value(const BlockName& block, const LhaID& id, scalar_t v) = 0;
66
77 virtual void set_param(const BlockName& block, const LhaID& id, std::shared_ptr<Parameter> p) = 0;
78
88 virtual void remove(const BlockName& block, const LhaID& id) = 0;
89
98 virtual void commit(bool coalesce = true) = 0;
99
103 virtual void clear() = 0;
104
105};
106
107#endif
Defines the Parameter class used to store individual physical/model parameters.
Block identifier with alias support.
Definition BlockName.h:59
Abstract interface for batched parameter mutation in the statistics layer.
virtual void remove(const BlockName &block, const LhaID &id)=0
Stages the removal of a parameter.
virtual void set_value(const BlockName &block, const LhaID &id, scalar_t v)=0
Stages a scalar value update for a parameter.
virtual void set_param(const BlockName &block, const LhaID &id, std::shared_ptr< Parameter > p)=0
Stages a full parameter replacement/update.
virtual void commit(bool coalesce=true)=0
Applies all staged operations.
virtual void clear()=0
Clears all staged operations without applying them.
virtual ~IStatParamOptimizerProxy()=default
Virtual destructor.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56