|
Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
|
Command to calculate the spectrum using a given calculator. More...
#include <Interface.h>


Public Member Functions | |
| CalculateSpectrumCommand (ICalculator &calculator_, std::string inputFilePath_, std::string outputFilePath_) | |
| Constructs a new CalculateSpectrumCommand. | |
| void | execute () override |
| Executes the command to calculate the spectrum. | |
Public Member Functions inherited from ICommand | |
| virtual | ~ICommand ()=default |
| Virtual destructor. | |
Command to calculate the spectrum using a given calculator.
Encapsulates a request to calculate a particle spectrum, parameterized by:
This decouples the invocation site from the actual calculator type and makes it easier to extend with other commands later.
Definition at line 105 of file Interface.h.
|
inline |
Constructs a new CalculateSpectrumCommand.
| calculator | Reference to the calculator used for the spectrum. |
| inputFilePath | Path to the input model file. |
| outputFilePath | Path to the file where the spectrum will be written. |
Definition at line 119 of file Interface.h.
|
inlineoverridevirtual |
Executes the command to calculate the spectrum.
Simply forwards the stored input/output paths to the underlying ICalculator instance.
Implements ICommand.
Definition at line 128 of file Interface.h.