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

Interface for spectrum calculators based on input LHA files. More...

#include <ISpectrumCalculator.h>

Inheritance diagram for ISpectrumCalculator:

Public Member Functions

virtual ~ISpectrumCalculator ()=default
 Virtual destructor for interface.
 
virtual void calculate_spectrum (fs::path in_lha_path, fs::path out_spectrum_path, Model model)=0
 Calculates the spectrum based on an input LHA file and outputs the result.
 

Detailed Description

Interface for spectrum calculators based on input LHA files.

Implementations of this interface wrap concrete spectrum generators (e.g. TwoHDM-specific tools, SUSY codes like Softsusy, etc.).

The primary entry point is calculate_spectrum(), which:

  • takes an existing LHA file as input,
  • performs spectrum calculation according to the provided Model,
  • writes the resulting spectrum to a separate LHA file.

Definition at line 47 of file ISpectrumCalculator.h.

Constructor & Destructor Documentation

◆ ~ISpectrumCalculator()

virtual ISpectrumCalculator::~ISpectrumCalculator ( )
virtualdefault

Virtual destructor for interface.

Member Function Documentation

◆ calculate_spectrum()

virtual void ISpectrumCalculator::calculate_spectrum ( fs::path  in_lha_path,
fs::path  out_spectrum_path,
Model  model 
)
pure virtual

Calculates the spectrum based on an input LHA file and outputs the result.

Implementations are expected to:

  • read the input file in_lha_path,
  • run an external spectrum generator consistent with model,
  • write the resulting spectrum to out_spectrum_path.

Existing files at out_spectrum_path may be overwritten depending on the concrete implementation.

Parameters
in_lha_pathPath to the input LHA file.
out_spectrum_pathPath where the calculated spectrum should be saved.
modelThe physics model to use for the spectrum calculation.

Implemented in SpectrumCalculator.


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