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

Read-only proxy to access parameters needed by observable computations. More...

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

Go to the source code of this file.

Classes

class  ObsParameterProxy
 

Detailed Description

Read-only proxy to access parameters needed by observable computations.

This proxy is meant to be used by the observable/business layer to query:

  • SM parameters
  • BSM parameters
  • Wilson coefficients
  • Flavor/decay/observable blocks

The proxy enforces an allow-list of parameter types (see ALLOWED).

Special behavior for Wilson parameters:

  • If the parameter does not exist, returns a default-constructed scalar_t instead of raising (this is convenient when some Wilson blocks are optional, group-dependent, or not produced for a given backend).

Two access styles are provided:

  • by ParamId (typed access, recommended)
  • by (block, LhaID) (legacy/low-level access)

Typical usage:

double mt = sm("MASS", 6); // depending on your LhaID overloads
scalar_t c7 = wil("B_MATCHING", LhaID(...));
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56
See also
ParameterProvider
IObsParameterProxy

Definition in file ObsParameterProxy.h.