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

Dependency injection bundle for CoefficientGroup. More...

#include <WilsonGroupAdapterConfig.h>

Public Member Functions

 WilsonGroupAdapterConfig (std::shared_ptr< IParameterProxy< std::string, LhaID > > wilson_proxy, std::shared_ptr< IBlockComposer > ibc, std::shared_ptr< ICoreAPI< bool > > use_marty, std::shared_ptr< ICoreAPI< std::string > > marty_model_name, std::shared_ptr< ICoreAPI< fs::path > > marty_model_path, std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > marty_proxy=nullptr)
 Constructs the adapter bundle.
 

Public Attributes

std::shared_ptr< IParameterProxy< std::string, LhaID > > wilson_proxy
 Proxy used to read/write Wilson coefficients from Parameters (WILSON scope).
 
std::shared_ptr< IBlockComposeriblock_c
 Composer used to register dependent parameters / dependent blocks.
 
std::shared_ptr< ICoreAPI< bool > > use_marty
 Core API: true if MARTY is used for the current run.
 
std::shared_ptr< ICoreAPI< std::string > > marty_model_name
 Core API: provides current MARTY model name.
 
std::shared_ptr< ICoreAPI< fs::path > > marty_model_path
 Core API: provides current MARTY model header path.
 
std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > marty_proxy = nullptr
 Optional MARTY Wilson proxy used to compute coefficients and fetch dependencies.
 
fs::path sm_path {}
 Default path to the SM MARTY header under assets.
 

Detailed Description

Dependency injection bundle for CoefficientGroup.

Required adapters:

  • wilson_proxy: provides access to coefficient values stored in the WILSON parameter space.
  • iblock_c: dependency composer used to register DependentParameters / blocks.
  • use_marty: boolean core API controlling whether MARTY is used.
  • marty_model_name: core API providing MARTY model name.
  • marty_model_path: core API providing MARTY model header path.

Optional adapter:

  • marty_proxy: if provided, allows offloading Wilson coefficient computation/generation to MARTY (and tracking dependencies).

Convenience:

  • sm_path points to the default SM model header under assets.

Definition at line 48 of file WilsonGroupAdapterConfig.h.

Constructor & Destructor Documentation

◆ WilsonGroupAdapterConfig()

WilsonGroupAdapterConfig::WilsonGroupAdapterConfig ( std::shared_ptr< IParameterProxy< std::string, LhaID > >  wilson_proxy,
std::shared_ptr< IBlockComposer ibc,
std::shared_ptr< ICoreAPI< bool > >  use_marty,
std::shared_ptr< ICoreAPI< std::string > >  marty_model_name,
std::shared_ptr< ICoreAPI< fs::path > >  marty_model_path,
std::shared_ptr< IMartyWilsonProxy< InterpretedParam > >  marty_proxy = nullptr 
)
inline

Constructs the adapter bundle.

Parameters
wilson_proxyProxy used to access WILSON values by (block, LhaID).
ibcBlock composer used to build dependent parameters/blocks.
use_martyCore API returning whether MARTY is enabled (Model == MARTY).
marty_model_nameCore API returning MARTY model name.
marty_model_pathCore API returning MARTY model header path.
marty_proxyOptional MARTY Wilson proxy (may be nullptr).

Definition at line 59 of file WilsonGroupAdapterConfig.h.

Member Data Documentation

◆ iblock_c

std::shared_ptr<IBlockComposer> WilsonGroupAdapterConfig::iblock_c

Composer used to register dependent parameters / dependent blocks.

Definition at line 68 of file WilsonGroupAdapterConfig.h.

◆ marty_model_name

std::shared_ptr<ICoreAPI<std::string> > WilsonGroupAdapterConfig::marty_model_name

Core API: provides current MARTY model name.

Definition at line 74 of file WilsonGroupAdapterConfig.h.

◆ marty_model_path

std::shared_ptr<ICoreAPI<fs::path> > WilsonGroupAdapterConfig::marty_model_path

Core API: provides current MARTY model header path.

Definition at line 77 of file WilsonGroupAdapterConfig.h.

◆ marty_proxy

std::shared_ptr<IMartyWilsonProxy<InterpretedParam> > WilsonGroupAdapterConfig::marty_proxy = nullptr

Optional MARTY Wilson proxy used to compute coefficients and fetch dependencies.

Definition at line 80 of file WilsonGroupAdapterConfig.h.

◆ sm_path

fs::path WilsonGroupAdapterConfig::sm_path {}

Default path to the SM MARTY header under assets.

Used as a fallback/reference when building resolver/configuration.

Definition at line 87 of file WilsonGroupAdapterConfig.h.

◆ use_marty

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

Core API: true if MARTY is used for the current run.

Definition at line 71 of file WilsonGroupAdapterConfig.h.

◆ wilson_proxy

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

Proxy used to read/write Wilson coefficients from Parameters (WILSON scope).

Definition at line 65 of file WilsonGroupAdapterConfig.h.


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