15 namespace fs = std::filesystem;
17 std::string lha_dir = project_assets_root.data() + std::string(
"scan");
18 std::ofstream ofs(
"B_s_gamma_SI_scan_LO.csv");
19 ofs <<
"lha_file,M_Hp,BR,u(BR)\n";
26 config.
mty_model_path = project_assets_root.data() + std::string(
"input_files/marty_model/thdm.h");
28 hyp.
init(
"lha/testinput_thdm.lha", config);
31 for (
const auto& entry : fs::directory_iterator(lha_dir)) {
32 if (entry.path().extension() !=
".lha")
continue;
34 std::string lha_path = entry.path().string();
35 std::string lha_name = entry.path().filename().string();
40 hyp.
init(lha_path, config);
43 std::cout <<
"aah" << std::endl;
50 std::cout <<
"zh" << std::endl;
53 std::cout <<
"ah" << std::endl;
55 std::cout <<
"ch" << std::endl;
57 std::cout <<
"dh" << std::endl;
62 std::cout <<
"eh" << std::endl;
64 std::cout <<
"hh" << std::endl;
67 std::cout <<
"bh" << std::endl;
78 ofs << lha_name <<
"," << std::setprecision(8) << mhp <<
"," << br <<
"," << ubr <<
"\n";
High-level helpers for initializing and monitoring the Hyperiso framework.
#define LOG_INFO(...)
Macro for logging informational messages.
High-level, user-facing entry point to compute flavor observables.
Strategy responsible for BSM parameters.
std::unordered_set< BlockName > initializeParameters(class Parameters ¶ms) override
Initializes the block set for the target parameter repository.
High-level interface to initialize and monitor the main framework configuration.
void init(const std::string &lhaFile, HyperisoConfig config)
Initializes Hyperiso using a LHA file and a full Config object.
void setLevel(LogLevel level)
Sets the logging level.
static Logger * getInstance()
Retrieves the singleton instance of the Logger.
void switch_lha(const std::string &lhaFile, HyperisoConfig config)
Registers several additional LHA block prototypes.
static MemoryManager * GetInstance()
Retrieves the singleton instance of MemoryManager.
std::vector< ObservableValue > compute_observable(Observables obs) const
Compute a theory prediction for an observable (enum API).
ObservableInterface & add_observable(Observables obs, QCDOrder order, bool add_dependencies=false)
Add an observable to the manager (enum API).
Provides access to parameter values, errors, and existence checks.
static std::shared_ptr< Parameters > GetInstance(ParameterType id=ParameterType::SM)
Returns the singleton-like repository for a given parameter type.
Strategy responsible for Standard Model parameters.
Configuration object controlling model, input flags and optional MARTY resources.
std::optional< fs::path > mty_model_path
Path to the MARTY model file, if needed.
std::optional< std::string > mty_model_name
MARTY model class name, if needed.
Model model
Current model.
Configuration for building sets of Wilson coefficients.
QCDOrder order
Perturbative QCD order used for the evolution and matching of Wilson coefficients....