Example usage of SpectrumCalculator to calculate a physics spectrum.
Example usage of SpectrumCalculator to calculate a physics spectrum.
#include <iostream>
fs::path input_lha = "input.lha";
fs::path output_spectrum = "spectrum_output.lha";
std::cout << "Spectrum calculation completed successfully." << std::endl;
return 0;
}
Concrete spectrum calculator using external tools.
Concrete implementation of ISpectrumCalculator.
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.