Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
MartyWilsonPathProxy.cpp
Go to the documentation of this file.
2
3#include <stdexcept>
4#include <system_error>
5
8
9 std::error_code ec;
10 fs::create_directories(dir, ec);
11 if (ec) {
12 throw std::runtime_error("Cannot create MARTY temp directory: " + dir.string() + " (" + ec.message() + ")");
13 }
14
15 return dir;
16}
17
18fs::path MartyWilsonPathProxy::wilson_csv_path(const std::string& model_name) const {
19 return marty_temp_dir() / (model_name + "_wilson.csv");
20}
Core-side adapter exposing MemoryManager-managed MARTY paths to Wilson.
fs::path get_path(MartyPath path_name) override
Retrieves a required MARTY-related path.
fs::path wilson_csv_path(const std::string &model_name) const override
CSV output produced by MARTY for a given model name.
fs::path marty_temp_dir() const override
Writable directory containing MARTY generated files and CSV outputs.