|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Configuration bundle for constructing a MartyWilson coefficient. More...
#include <MartyWilson.h>

Public Member Functions | |
| void | refresh_csv_path () |
| Resolves and stores the CSV path using the path provider when available. | |
| MartyWilsonConfig (const LhaID &id, const std::string &storage_block_name, fs::path model_path, std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > proxy, std::shared_ptr< IMartyWilsonPathProxy > paths=nullptr) | |
| Constructs config for a coefficient with a provided model path and proxy. | |
| MartyWilsonConfig (const std::string &model_name, const LhaID &id, const std::string &storage_block_name, fs::path model_path, std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > proxy, std::shared_ptr< IMartyWilsonPathProxy > paths=nullptr) | |
| Constructs config including an explicit model name. | |
| MartyWilsonConfig (const std::string &output_model_name, const std::string &generation_model_name, bool sm_like_filter, bool bsm_split_generation, bool full_target_generation, const LhaID &id, const std::string &storage_block_name, fs::path model_path, std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > proxy, std::shared_ptr< IMartyWilsonPathProxy > paths=nullptr) | |
| Constructs config with a separate output label and generated model. | |
Static Public Member Functions | |
| static fs::path | fallback_csv_path (const std::string &model_name) |
| Fallback path used only when legacy code constructs MartyWilsonConfig without a path provider. | |
Public Attributes | |
| std::string | model_name {"SM"} |
| Output model label used for generated libraries/CSV files (e.g. "SM", "THDM"). | |
| std::string | generation_model_name {"SM"} |
| bool | sm_like_filter {false} |
| bool | bsm_split_generation {false} |
| bool | full_target_generation {false} |
| LhaID | coeff_id |
| Full coefficient id used to store the matching value (including order/type parts). | |
| std::string | storage_block |
| Name of the block where matching coefficients are stored (e.g. "WC_B_MATCH"). | |
| fs::path | model_path {} |
| Path to the MARTY model header file. | |
| std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > | marty_proxy |
| Proxy used to run MARTY and retrieve dependencies/special blocks. | |
| std::shared_ptr< IMartyWilsonPathProxy > | path_provider |
| Path provider used to resolve MARTY generated outputs. | |
| std::string | csv_path |
| Absolute path to the CSV output produced by MARTY for this model. | |
Configuration bundle for constructing a MartyWilson coefficient.
It describes:
Default values target the SM model shipped in the assets directory.
Definition at line 65 of file MartyWilson.h.
|
inline |
Constructs config for a coefficient with a provided model path and proxy.
| id | LHA identifier for the coefficient. |
| storage_block_name | Destination block name where the value is stored. |
| model_path | Path to the MARTY model header file. |
| proxy | Proxy to run MARTY and query dependencies. |
| paths | Path provider resolving MARTY temp/CSV outputs. |
Definition at line 136 of file MartyWilson.h.
|
inline |
Constructs config including an explicit model name.
The CSV path is resolved from IMartyWilsonPathProxy, typically to <cache>/MartyTemp/<model_name>_wilson.csv.
| model_name | MARTY model class name. |
| id | LHA identifier for the coefficient. |
| storage_block_name | Destination block name where the value is stored. |
| model_path | Path to the MARTY model header file. |
| proxy | Proxy to run MARTY and query dependencies. |
| paths | Path provider resolving MARTY temp/CSV outputs. |
Definition at line 162 of file MartyWilson.h.
|
inline |
Constructs config with a separate output label and generated model.
Used for SM-like contributions inside an extended MARTY model.
Definition at line 183 of file MartyWilson.h.
|
inlinestatic |
Fallback path used only when legacy code constructs MartyWilsonConfig without a path provider.
New code should pass path_provider so the CSV path comes from MemoryManager/APIPathMARTY_TEMP_DIR rather than project_assets_root.
Definition at line 112 of file MartyWilson.h.
|
inline |
Resolves and stores the CSV path using the path provider when available.
Definition at line 119 of file MartyWilson.h.
| bool MartyWilsonConfig::bsm_split_generation {false} |
If true, use the dedicated reg_prop split generation. For BSM-only requests the generated diagrams are filtered; for a full target-model request the complete target expression is kept.
Definition at line 80 of file MartyWilson.h.
| LhaID MartyWilsonConfig::coeff_id |
Full coefficient id used to store the matching value (including order/type parts).
Definition at line 89 of file MartyWilson.h.
| std::string MartyWilsonConfig::csv_path |
Absolute path to the CSV output produced by MARTY for this model.
Definition at line 104 of file MartyWilson.h.
| bool MartyWilsonConfig::full_target_generation {false} |
If true, generate the complete target-model coefficient for explicit diagnostics. The normal WilsonBuilder path does not use this mode for physical BSM composition because subtracting a separately implemented SM can leak C9/C10 convention differences into the BSM result.
Definition at line 86 of file MartyWilson.h.
| std::string MartyWilsonConfig::generation_model_name {"SM"} |
C++ MARTY model class to instantiate. Usually equal to model_name, except for SM-like generation inside a BSM model.
Definition at line 71 of file MartyWilson.h.
| std::shared_ptr<IMartyWilsonProxy<InterpretedParam> > MartyWilsonConfig::marty_proxy |
Proxy used to run MARTY and retrieve dependencies/special blocks.
Definition at line 98 of file MartyWilson.h.
| std::string MartyWilsonConfig::model_name {"SM"} |
Output model label used for generated libraries/CSV files (e.g. "SM", "THDM").
Definition at line 67 of file MartyWilson.h.
| fs::path MartyWilsonConfig::model_path {} |
Path to the MARTY model header file.
Definition at line 95 of file MartyWilson.h.
| std::shared_ptr<IMartyWilsonPathProxy> MartyWilsonConfig::path_provider |
Path provider used to resolve MARTY generated outputs.
Definition at line 101 of file MartyWilson.h.
| bool MartyWilsonConfig::sm_like_filter {false} |
If true, generated code instantiates generation_model_name but disables all particles not present in SM_Model.
Definition at line 75 of file MartyWilson.h.
| std::string MartyWilsonConfig::storage_block |
Name of the block where matching coefficients are stored (e.g. "WC_B_MATCH").
Definition at line 92 of file MartyWilson.h.