Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
SpectrumCalculator.cpp
Go to the documentation of this file.
2
3void SpectrumCalculator::calculate_spectrum(fs::path in_lha_path, fs::path out_spectrum_path, Model model) {
4 LOG_DEBUG("Starting spectrum calculation...");
6 GeneralCalculatorFactory::executeCommand(calculatorType, "calculateSpectrum", in_lha_path.string(), out_spectrum_path.string());
7 LOG_DEBUG("Spectrum calculation completed successfully");
8}
Model
CalculatorType
Definition Interface.h:33
@ TwoHDM
Use 2HDMC–based calculator.
@ Softsusy
Use SOFTSUSY–based calculator.
#define LOG_DEBUG(...)
Macro for logging debug messages.
Definition Logger.h:45
Concrete spectrum calculator using external tools.
static void executeCommand(CalculatorType type, const std::string &commandName, const std::string &inputFilePath, const std::string &outputFilePath)
Executes a named command on a chosen calculator type.
Definition Interface.cpp:19
void calculate_spectrum(fs::path in_lha_path, fs::path out_spectrum_path, Model model) override
Calculates the physics spectrum by calling the appropriate external calculator.