Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
SpectrumCalculator Class Reference

Concrete implementation of ISpectrumCalculator. More...

#include <SpectrumCalculator.h>

Inheritance diagram for SpectrumCalculator:
Collaboration diagram for SpectrumCalculator:

Public Member Functions

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.
 
- Public Member Functions inherited from ISpectrumCalculator
virtual ~ISpectrumCalculator ()=default
 Virtual destructor for interface.
 

Detailed Description

Concrete implementation of ISpectrumCalculator.

SpectrumCalculator wraps calls to external spectrum generators through GeneralCalculatorFactory. The mapping between Model and CalculatorType is handled internally:

It is designed to be plugged into MemoryManager via ISpectrumCalculator, so that spectrum computation can be transparently toggled or replaced.

Examples
spectrum_calculator_example.cpp.

Definition at line 33 of file SpectrumCalculator.h.

Member Function Documentation

◆ calculate_spectrum()

void SpectrumCalculator::calculate_spectrum ( fs::path  in_lha_path,
fs::path  out_spectrum_path,
Model  model 
)
overridevirtual

Calculates the physics spectrum by calling the appropriate external calculator.

For a given model, the method:

Parameters
in_lha_pathPath to the input LHA file.
out_spectrum_pathPath where the output spectrum should be saved.
modelThe model to be used for the calculation (e.g., THDM, SUSY).

Implements ISpectrumCalculator.

Examples
spectrum_calculator_example.cpp.

Definition at line 3 of file SpectrumCalculator.cpp.


The documentation for this class was generated from the following files: