|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Abstract read-only interface to parameters and observables for the statistics layer. More...
#include <IStatParameterProxy.h>

Public Member Functions | |
| virtual | ~IStatParameterProxy ()=default |
| Virtual destructor. | |
| virtual std::shared_ptr< Parameter > | get_param (const ParamId &) const =0 |
| Returns the underlying parameter object identified by a typed ParamId. | |
| 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 scalar_t | operator() (const ParamId &, DataType d_type=DataType::VALUE) const =0 |
| Returns a scalar quantity for a typed parameter. | |
| 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 ObservableId. | |
| 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 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. | |
| 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. | |
Abstract read-only interface to parameters and observables for the statistics layer.
This interface provides two families of access:
operator(),get_param() / get_obs_param().The object-returning methods are useful when the caller needs more than the scalar value itself (uncertainties, binning, metadata, ownership, etc.).
Definition at line 51 of file IStatParameterProxy.h.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Returns a vector of the underlying parameter objects for a binned observable entry.
This is useful when the caller needs access to the full parameter metadata associated with a binned observable, such as uncertainties or binning info.
| id | Binned observable identifier. |
Implemented in StatParameterProxy.
|
pure virtual |
Returns the underlying parameter object identified by a typed ParamId.
| pid | Fully typed parameter identifier. |
Implemented in StatParameterProxy.
|
pure virtual |
Returns the underlying parameter object identified by block and LHA id.
This overload is intended for proxies already bound to a specific ParameterType.
| block | Block name. |
| id | LHA-like identifier inside the block. |
Implemented in StatParameterProxy.
|
pure virtual |
Returns a vector of scalar quantities (for each experiments) for a binned observable entry.
This overload is used when the observable is identified not only by its base observable id but also by a bin definition encoded in BinnedObservableId.
| id | Binned observable identifier. |
| d_type | Requested quantity type. |
Implemented in StatParameterProxy.
|
pure virtual |
Returns a vector of scalar quantities (for each experiments) for an observable identified by ObservableId.
This is typically used for experimental observable entries stored in the observable parameter blocks.
| id | Observable identifier. |
| d_type | Requested quantity type. |
Implemented in StatParameterProxy.
|
pure virtual |
Returns a scalar quantity for a typed parameter.
Depending on d_type, returns the central value or one of its uncertainties.
| pid | Fully typed parameter identifier. |
| d_type | Requested quantity type. |
Implemented in StatParameterProxy.
|
pure virtual |
Returns a scalar quantity for a parameter identified by block and LHA id.
This overload is intended for proxies already bound to a specific ParameterType.
| block | Block name. |
| id | LHA-like identifier inside the block. |
| d_type | Requested quantity type. |
Implemented in StatParameterProxy.