1#ifndef HYPERISO_MASTER_H
2#define HYPERISO_MASTER_H
63 std::map<APIPath, fs::path> path_overrides;
65 void ensure_memory_manager_created();
66 bool should_validate_marty_runtime(
const HyperisoConfig& config)
const;
67 bool validate_marty_runtime_if_needed(
const HyperisoConfig& config,
const std::string& context)
const;
97 bool globalScale=
false);
164 void init(
const std::string &lhaFile);
ExternalFlag
Flags describing external input characteristics.
Generic interface for monitoring flags within the framework.
Manages memory caching, parameter blocks, and LHA reader instances.
Loads parameter blocks from a file into a BlockAccessor.
Concrete spectrum calculator using external tools.
Block identifier with alias support.
High-level interface to initialize and monitor the main framework configuration.
void pre_init_add_block(BlockName blockName, size_t itemCount=2, size_t valueIdx=1, int scaleIdx=-1, int rgIdx=-1, int binIdx=-1, bool globalScale=false)
Registers one additional LHA block prototype before init().
void init(const std::string &lhaFile, HyperisoConfig config)
Initializes Hyperiso using a LHA file and a full Config object.
bool check_flag(ExternalFlag flag)
Checks if a specific external flag is active.
void pre_init_add_blocks(const std::vector< LhaPrototypeSpec > &prototypes)
Registers several additional LHA block prototypes before init().
void pre_init_set_paths(const std::map< APIPath, std::string > &pathOverrides)
Overrides selected HyperISO filesystem paths before init().
void switch_lha(const std::string &lhaFile, HyperisoConfig config)
Switches the LHA file and applies a new configuration.
void pre_init_set_marty_path(const std::string &martyInstallPath)
Registers an existing MARTY installation before init().
void pre_init_set_spectrum_cache_dir(const std::string &cacheDir)
Sets the writable spectrum cache directory before init().
Model get_model()
Retrieves the current model type used by Hyperiso.
void pre_init_set_marty_cache_dir(const std::string &cacheDir)
Sets the writable MARTY generated-code/cache directory before init().
void pre_init_set_softsusy_path(const std::string &softsusyPath)
Registers a SOFTSUSY executable or installation directory before init().
Interface for monitoring flags inside the framework (internal or external).
Configuration object controlling model, input flags and optional MARTY resources.