Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
WilsonPortsConfig Struct Reference

Aggregates “ports” / APIs that connect the manager to the rest of the framework. More...

#include <WilsonManager.h>

Public Member Functions

 WilsonPortsConfig (std::shared_ptr< IBlockComposer > iblock_c, std::shared_ptr< IParameterProxy< std::string, LhaID > > wilson_proxy, std::shared_ptr< ICoreAPI< bool > > use_marty, std::shared_ptr< ICoreAPI< bool > > has_wilson, std::shared_ptr< ICoreAPI< Model > > model_api, std::shared_ptr< IParamSetter< ScaleType > > scale_setter_api, std::shared_ptr< ICoreAPI< bool > > hard_coded_lo, std::shared_ptr< IMartyWilsonPathProxy > marty_paths=nullptr)
 Constructs the port bundle.
 

Public Attributes

std::shared_ptr< IBlockComposeriblock_c
 Dependency engine used to compose derived blocks/parameters.
 
std::shared_ptr< IParameterProxy< std::string, LhaID > > wilson_proxy
 Read-only access to existing blocks/parameters (FWCOEF, matching blocks, etc.).
 
std::shared_ptr< ICoreAPI< bool > > use_marty
 Backend selector: true => Marty, false => builtin.
 
std::shared_ptr< ICoreAPI< bool > > has_wilson
 Whether an input Wilson block exists (FWCOEF-style input present).
 
std::shared_ptr< ICoreAPI< Model > > model_api
 Current model selector (SM/SUSY/THDM...).
 
std::shared_ptr< IParamSetter< ScaleType > > scale_setter_api
 Scale setter used to switch and set mu_W / mu_h.
 
std::shared_ptr< ICoreAPI< bool > > hard_coded_lo
 
std::shared_ptr< IMartyWilsonPathProxymarty_paths
 Path provider for MARTY-generated Wilson CSV files.
 
std::vector< WilsonMatchingPatchmatching_patches
 Additive matching patches applied before group initialization.
 
std::function< std::shared_ptr< CoefficientGroup >(WGroupId, Model, bool, ContributionType, std::string)> build_group
 Optional group builder hook.
 

Detailed Description

Aggregates “ports” / APIs that connect the manager to the rest of the framework.

This struct is deliberately a “wiring” object: it stores shared services and small pieces of policy needed by CoefficientManager.

Required services:

Optional hook:

  • build_group: a factory that can build a group for a given (gid, model, backend, contrib, blockname). This is used notably to build an “SM-only intermediate group” even when the active model is BSM.

Definition at line 81 of file WilsonManager.h.

Constructor & Destructor Documentation

◆ WilsonPortsConfig()

WilsonPortsConfig::WilsonPortsConfig ( std::shared_ptr< IBlockComposer iblock_c,
std::shared_ptr< IParameterProxy< std::string, LhaID > >  wilson_proxy,
std::shared_ptr< ICoreAPI< bool > >  use_marty,
std::shared_ptr< ICoreAPI< bool > >  has_wilson,
std::shared_ptr< ICoreAPI< Model > >  model_api,
std::shared_ptr< IParamSetter< ScaleType > >  scale_setter_api,
std::shared_ptr< ICoreAPI< bool > >  hard_coded_lo,
std::shared_ptr< IMartyWilsonPathProxy marty_paths = nullptr 
)
inline

Constructs the port bundle.

Parameters
iblock_cBlock composer used to register dependent blocks/parameters.
wilson_proxyProxy to read/write Wilson parameters by (block, LhaID).
use_martyRuntime flag: whether Marty backend is enabled.
has_wilsonRuntime flag: whether an input FWCOEF block is present.
model_apiRuntime access to the currently selected physics model.
scale_setter_apiRuntime setter for switching and setting the active scale.

Definition at line 92 of file WilsonManager.h.

Member Data Documentation

◆ build_group

std::function<std::shared_ptr<CoefficientGroup>(WGroupId, Model, bool, ContributionType, std::string)> WilsonPortsConfig::build_group

Optional group builder hook.

Signature: (group id, model, use_marty, contribution type, storage block name) -> group instance.

When provided, the manager uses it to build:

  • SM-only intermediate groups (stored in a block name like "<MATCHING>_SM"),
  • possibly other specializations depending on the application.

If null, the manager falls back to cloning existing groups via CoefficientGroup::get_sm_group().

Definition at line 139 of file WilsonManager.h.

◆ hard_coded_lo

std::shared_ptr<ICoreAPI<bool> > WilsonPortsConfig::hard_coded_lo

Definition at line 120 of file WilsonManager.h.

◆ has_wilson

std::shared_ptr<ICoreAPI<bool> > WilsonPortsConfig::has_wilson

Whether an input Wilson block exists (FWCOEF-style input present).

Definition at line 111 of file WilsonManager.h.

◆ iblock_c

std::shared_ptr<IBlockComposer> WilsonPortsConfig::iblock_c

Dependency engine used to compose derived blocks/parameters.

Definition at line 102 of file WilsonManager.h.

◆ marty_paths

std::shared_ptr<IMartyWilsonPathProxy> WilsonPortsConfig::marty_paths

Path provider for MARTY-generated Wilson CSV files.

Definition at line 123 of file WilsonManager.h.

◆ matching_patches

std::vector<WilsonMatchingPatch> WilsonPortsConfig::matching_patches

Additive matching patches applied before group initialization.

Definition at line 126 of file WilsonManager.h.

◆ model_api

std::shared_ptr<ICoreAPI<Model> > WilsonPortsConfig::model_api

Current model selector (SM/SUSY/THDM...).

Definition at line 114 of file WilsonManager.h.

◆ scale_setter_api

std::shared_ptr<IParamSetter<ScaleType> > WilsonPortsConfig::scale_setter_api

Scale setter used to switch and set mu_W / mu_h.

Definition at line 117 of file WilsonManager.h.

◆ use_marty

std::shared_ptr<ICoreAPI<bool> > WilsonPortsConfig::use_marty

Backend selector: true => Marty, false => builtin.

Definition at line 108 of file WilsonManager.h.

◆ wilson_proxy

std::shared_ptr<IParameterProxy<std::string, LhaID> > WilsonPortsConfig::wilson_proxy

Read-only access to existing blocks/parameters (FWCOEF, matching blocks, etc.).

Definition at line 105 of file WilsonManager.h.


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