Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
IObsParameterProxy.h File Reference

Interface for read-only access to parameters used by observable computations. More...

#include <memory>
#include "Math.h"
#include "ParameterProvider.h"
Include dependency graph for IObsParameterProxy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  IObsParameterProxy< T, V, U, W >
 

Detailed Description

Interface for read-only access to parameters used by observable computations.

The observable layer (a.k.a. business/phenomenology layer) needs to read many kinds of parameters produced by the core:

  • SM and BSM inputs (masses, couplings, ...)
  • Wilson coefficients (matching/hadronic blocks, various contributions/orders)
  • Flavor / decay / observable blocks computed upstream

This interface abstracts the retrieval mechanism, so observable code does not depend on a concrete storage/backend implementation.

Implementations typically wrap a ParameterProvider (or a proxy thereof), and may enforce business rules (allowed parameter types, default behavior for missing Wilson parameters, etc.).

Template parameters:

  • T : typed parameter identifier type (e.g. ParamId)
  • V : “data selector” type (e.g. DataType for VALUE/ERROR/...)
  • U : block identifier type (e.g. std::string)
  • W : in-block code type (e.g. LhaID)

Two access styles are supported: 1) Fully typed access via (T pid, V d_type) — recommended. 2) Low-level access via (U block, W id, V d_type) — useful for legacy calls.

Implementations may also expose the underlying Parameter object when needed.

See also
ObsParameterProxy
ParameterProvider
ParamId
LhaID

Definition in file IObsParameterProxy.h.