Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IStatParameterProxy.h
Go to the documentation of this file.
1#ifndef ISTAT_PARAMETER_PROXY_H
2#define ISTAT_PARAMETER_PROXY_H
3
4#include <memory>
5#include <string>
6
8#include "Include.h"
9#include "ExperimentObs.h"
10
52public:
56 virtual ~IStatParameterProxy() = default;
57
64 virtual std::shared_ptr<Parameter> get_param(const ParamId&) const = 0;
65
76 virtual std::shared_ptr<Parameter> get_param(const std::string& block, const LhaID& id) const = 0;
77
87 virtual scalar_t operator()(const ParamId&, DataType d_type=DataType::VALUE) const = 0;
88
99 virtual std::map<ExperimentObs, double> operator()(const ObservableId&, DataType d_type=DataType::VALUE) const = 0;
100
112 virtual std::map<ExperimentObs, double> operator()(const BinnedObservableId& id, DataType d_type = DataType::VALUE) const = 0;
113
125 virtual scalar_t operator()(const std::string& block, const LhaID& id, DataType d_type=DataType::VALUE) const = 0;
126
136 virtual std::map<ExperimentObs, std::shared_ptr<Parameter>> get_obs_param(const BinnedObservableId&) const = 0;
137};
138
139#endif
High-level access to parameter and experiment-scoped observable correlations.
Experiment-scoped observable identifiers.
DataType
Abstract read-only interface to parameters and observables for the statistics layer.
virtual std::shared_ptr< Parameter > get_param(const std::string &block, const LhaID &id) const =0
Returns the underlying parameter object identified by block and LHA id.
virtual std::map< ExperimentObs, double > operator()(const BinnedObservableId &id, DataType d_type=DataType::VALUE) const =0
Returns a vector of scalar quantities (for each experiments) for a binned observable entry.
virtual std::shared_ptr< Parameter > get_param(const ParamId &) const =0
Returns the underlying parameter object identified by a typed ParamId.
virtual scalar_t operator()(const ParamId &, DataType d_type=DataType::VALUE) const =0
Returns a scalar quantity for a typed parameter.
virtual ~IStatParameterProxy()=default
Virtual destructor.
virtual std::map< ExperimentObs, double > operator()(const ObservableId &, DataType d_type=DataType::VALUE) const =0
Returns a vector of scalar quantities (for each experiments) for an observable identified by Observab...
virtual std::map< ExperimentObs, std::shared_ptr< Parameter > > get_obs_param(const BinnedObservableId &) const =0
Returns a vector of the underlying parameter objects for a binned observable entry.
virtual scalar_t operator()(const std::string &block, const LhaID &id, DataType d_type=DataType::VALUE) const =0
Returns a scalar quantity for a parameter identified by block and LHA id.
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