Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
WilsonGroupAdapterConfig.h
Go to the documentation of this file.
1#ifndef WILSON_GROUP_ADAPTER_CONFIG_H
2#define WILSON_GROUP_ADAPTER_CONFIG_H
3
4#include <memory>
5
6#include "InterpretedParam.h"
7#include "IBlockComposer.h"
8#include "ICoreAPI.h"
9#include "IMartyWilsonProxy.h"
10#include "IParameterProxy.h"
11
63
65 std::shared_ptr<IParameterProxy<std::string, LhaID>> wilson_proxy;
66
68 std::shared_ptr<IBlockComposer> iblock_c;
69
71 std::shared_ptr<ICoreAPI<bool>> use_marty;
72
74 std::shared_ptr<ICoreAPI<std::string>> marty_model_name;
75
77 std::shared_ptr<ICoreAPI<fs::path>> marty_model_path;
78
80 std::shared_ptr<IMartyWilsonProxy<InterpretedParam>> marty_proxy = nullptr;
81
87 fs::path sm_path{};
88};
89
90#endif // WILSON_GROUP_ADAPTER_CONFIG_H
Interface for composing (creating/removing/updating) dependent blocks and parameters.
Interface for MARTY-based Wilson coefficient calculations.
Lightweight key describing an interpreted LHA/SLHA parameter.
Generic interface returning a single value of type T from the core.
Definition ICoreAPI.h:30
Abstract proxy for Wilson coefficient calculations via MARTY.
Abstract interface for reading parameters and basic metadata.
Dependency injection bundle for CoefficientGroup.
std::shared_ptr< ICoreAPI< bool > > use_marty
Core API: true if MARTY is used for the current run.
std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > marty_proxy
Optional MARTY Wilson proxy used to compute coefficients and fetch dependencies.
std::shared_ptr< ICoreAPI< fs::path > > marty_model_path
Core API: provides current MARTY model header path.
std::shared_ptr< ICoreAPI< std::string > > marty_model_name
Core API: provides current MARTY model name.
fs::path sm_path
Default path to the SM MARTY header under assets.
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.
std::shared_ptr< IBlockComposer > iblock_c
Composer used to register dependent parameters / dependent blocks.
std::shared_ptr< IParameterProxy< std::string, LhaID > > wilson_proxy
Proxy used to read/write Wilson coefficients from Parameters (WILSON scope).