98 std::shared_ptr<IMartyWilsonProxy<InterpretedParam>>
marty_proxy;
113 return fs::temp_directory_path() /
"pyhyperiso" /
"MartyTemp" / (
model_name +
"_wilson.csv");
137 const std::string& storage_block_name,
140 std::shared_ptr<IMartyWilsonPathProxy> paths =
nullptr)
164 const std::string& storage_block_name,
167 std::shared_ptr<IMartyWilsonPathProxy> paths =
nullptr)
189 const std::string& storage_block_name,
192 std::shared_ptr<IMartyWilsonPathProxy> paths =
nullptr)
257 std::shared_ptr<WilsonCoefficient>
clone()
const override {
258 return std::make_shared<MartyWilson>(*
this);
263 std::string model{
"SM"};
Helper for loading CSV files into a DataFrame.
Minimal tabular container with column-wise storage and CSV I/O.
Port used by the Wilson layer to access MARTY-generated output paths.
Interface for MARTY-based Wilson coefficient calculations.
Lightweight key describing an interpreted LHA/SLHA parameter.
Domain objects representing Wilson coefficients and their matching metadata.
Abstract proxy for Wilson coefficient calculations via MARTY.
WilsonCoefficient whose matching value is computed through MARTY.
std::shared_ptr< WilsonCoefficient > clone() const override
Polymorphic clone.
void set_model(std::string model)
Sets the MARTY model name used by this coefficient.
std::string get_model()
Returns the MARTY model name used by this coefficient.
Abstract base class representing a Wilson coefficient and its matching information.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Configuration bundle for constructing a MartyWilson coefficient.
void refresh_csv_path()
Resolves and stores the CSV path using the path provider when available.
std::string model_name
Output model label used for generated libraries/CSV files (e.g. "SM", "THDM").
LhaID coeff_id
Full coefficient id used to store the matching value (including order/type parts).
static fs::path fallback_csv_path(const std::string &model_name)
Fallback path used only when legacy code constructs MartyWilsonConfig without a path provider.
std::string storage_block
Name of the block where matching coefficients are stored (e.g. "WC_B_MATCH").
bool full_target_generation
fs::path model_path
Path to the MARTY model header file.
std::string csv_path
Absolute path to the CSV output produced by MARTY for this model.
std::shared_ptr< IMartyWilsonProxy< InterpretedParam > > marty_proxy
Proxy used to run MARTY and retrieve dependencies/special blocks.
std::string generation_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.
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.
std::shared_ptr< IMartyWilsonPathProxy > path_provider
Path provider used to resolve MARTY generated outputs.
bool bsm_split_generation