Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IObsParameterProxy< T, V, U, W > Class Template Referenceabstract

#include <IObsParameterProxy.h>

Public Member Functions

virtual scalar_t operator() (const T &pid, V d_type)=0
 Retrieve a parameter value using a typed identifier.
 
virtual scalar_t operator() (const U &block, const W &id, V d_type) const =0
 Retrieve a parameter value using (block, code) addressing.
 
virtual std::shared_ptr< Parameterget_parameter (const T &pid) const =0
 Retrieve the underlying Parameter object for a given id.
 

Detailed Description

template<typename T, typename V, typename U, typename W>
class IObsParameterProxy< T, V, U, W >

Definition at line 44 of file IObsParameterProxy.h.

Member Function Documentation

◆ get_parameter()

template<typename T , typename V , typename U , typename W >
virtual std::shared_ptr< Parameter > IObsParameterProxy< T, V, U, W >::get_parameter ( const T pid) const
pure virtual

Retrieve the underlying Parameter object for a given id.

This is useful when downstream code needs metadata beyond the scalar value (mode, uncertainty model, provenance, etc.).

Parameters
pidTyped parameter identifier.
Returns
Shared pointer to the underlying Parameter.

Implemented in ObsParameterProxy.

◆ operator()() [1/2]

template<typename T , typename V , typename U , typename W >
virtual scalar_t IObsParameterProxy< T, V, U, W >::operator() ( const T pid,
V  d_type 
)
pure virtual

Retrieve a parameter value using a typed identifier.

Parameters
pidTyped parameter identifier (usually includes type + block + code).
d_typeWhich value component to retrieve (central value, error, etc.).
Returns
The requested value as scalar_t.
Note
Implementations may:
  • warn on missing type information,
  • restrict allowed parameter namespaces (SM/BSM/WILSON/...),
  • return a default-constructed scalar_t when a parameter is absent (commonly done for optional Wilson coefficients).

Implemented in ObsParameterProxy.

◆ operator()() [2/2]

template<typename T , typename V , typename U , typename W >
virtual scalar_t IObsParameterProxy< T, V, U, W >::operator() ( const U &  block,
const W &  id,
V  d_type 
) const
pure virtual

Retrieve a parameter value using (block, code) addressing.

Parameters
blockBlock name.
idIn-block identifier (LHA-like code).
d_typeWhich value component to retrieve (central value, error, etc.).
Returns
The requested value as scalar_t.
Note
Implementations may apply special missing-parameter behavior (e.g. Wilson blocks may be sparse depending on group/backend).

Implemented in ObsParameterProxy.


The documentation for this class was generated from the following file: