Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
StatParameterProxy.h
Go to the documentation of this file.
1#ifndef STAT_PARAMETER_PROXY_H
2#define STAT_PARAMETER_PROXY_H
3
4#include <memory>
5#include <string>
6#include <unordered_set>
7
9#include "ParameterProvider.h"
10#include "Include.h"
11#include "BinnedObservableId.h"
12#include "BlockProvider.h"
13#include "ExperimentObs.h"
14
61public:
70
77 std::shared_ptr<Parameter> get_param(const ParamId&) const override;
78
89 std::shared_ptr<Parameter> get_param(const std::string& block, const LhaID& id) const override;
90
104 scalar_t operator()(const ParamId&, DataType d_type=DataType::VALUE) const override;
105
116 std::map<ExperimentObs, double> operator()(const ObservableId&, DataType d_type=DataType::VALUE) const override;
117
128 std::map<ExperimentObs, double> operator()(const BinnedObservableId&, DataType d_type=DataType::VALUE) const override;
129
144 scalar_t operator()(const std::string& block, const LhaID& id, DataType d_type=DataType::VALUE) const override;
145
154 std::map<ExperimentObs, std::shared_ptr<Parameter>> get_obs_param(const BinnedObservableId&) const override;
155private:
157 ParameterProvider pp_with_type;
158 static inline const std::unordered_set<ParameterType> ALLOWED
160};
161
162#endif
Utilities for identifying observables together with numerical bins.
Concrete implementation of IBlockProvider for HyperISO parameter blocks.
Experiment-scoped observable identifiers.
ParameterType
DataType
Statistical-layer port for read-only access to parameters and observable entries.
High-level access to parameter values and uncertainties.
Abstract read-only interface to parameters and observables for the statistics layer.
Provides access to parameter values, errors, and existence checks.
Concrete read-only proxy used by the statistics layer.
scalar_t operator()(const ParamId &, DataType d_type=DataType::VALUE) const override
Returns a scalar quantity for a typed parameter.
std::map< ExperimentObs, std::shared_ptr< Parameter > > get_obs_param(const BinnedObservableId &) const override
Returns the parameter object associated with a binned observable.
std::shared_ptr< Parameter > get_param(const ParamId &) const override
Returns the parameter object identified by a typed ParamId.
Identifies an observable together with a numerical bin.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56
Composite identifier for a single parameter.
Definition ParamID.h:57