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

Statistics-layer proxy for read-only access to parameters and observables. More...

#include <memory>
#include <string>
#include <unordered_set>
#include "IStatParameterProxy.h"
#include "ParameterProvider.h"
#include "Include.h"
#include "BinnedObservableId.h"
#include "BlockProvider.h"
#include "ExperimentObs.h"
Include dependency graph for StatParameterProxy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  StatParameterProxy
 Concrete read-only proxy used by the statistics layer. More...
 

Detailed Description

Statistics-layer proxy for read-only access to parameters and observables.

This proxy adapts ParameterProvider to the needs of the statistics module. It provides:

  • access to generic typed parameters via ParamId,
  • access to typed block entries via (block, LhaID),
  • access to observable entries via ObservableId,
  • access to binned observable entries via BinnedObservableId,
  • and direct retrieval of the underlying Parameter objects.

Two internal providers are maintained:

  • pp : generic provider used with fully typed ParamId access,
  • pp_with_type : provider bound to a specific ParameterType, used for (block, LhaID) queries.

Special handling is provided for Wilson parameters: if a Wilson entry is missing, the proxy returns a default-constructed scalar_t instead of failing. This is convenient because some Wilson blocks may be optional, backend-dependent, or group-dependent.

See also
IStatParameterProxy
ParameterProvider
Parameter

Definition in file StatParameterProxy.h.