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

Public Member Functions

 __init__ (self)
 
 get_alphas (self, AlphasConfig alpha_config)
 
 get_qcd_masses (self, MassConfig mass_config)
 
QCDConstants get_qcd_constants (self)
 

Protected Attributes

 _cpp_obj
 

Detailed Description

Compute QCD quantities through the bound C++ provider.

The provider expects the global Hyperiso state to have been initialized
before use, typically through ``HyperisoMaster.init(...)``. The exact
numerical scheme and thresholds are managed by the C++ backend.

Example:
    >>> qcd = QCDProvider()
    >>> alpha_s = qcd.get_alphas(AlphasConfig(42.0))
    >>> mt_run = qcd.get_qcd_masses(MassConfig(5.0, pdg_id=6))
    >>> constants = qcd.get_qcd_constants()

Definition at line 13 of file QCDProvider.py.

Constructor & Destructor Documentation

◆ __init__()

pyhyperiso.core.Core.QCDProvider.QCDProvider.__init__ (   self)
Create a Python wrapper around the C++ ``QCDProvider``.

Definition at line 27 of file QCDProvider.py.

Member Function Documentation

◆ get_alphas()

pyhyperiso.core.Core.QCDProvider.QCDProvider.get_alphas (   self,
AlphasConfig  alpha_config 
)
Compute the strong coupling for the requested configuration.

Args:
    alpha_config: Python configuration object describing the scale and
        any backend-specific options required by the C++ provider.

Returns:
    float: The value returned by ``QCDProvider::compute_alphas``.

Definition at line 31 of file QCDProvider.py.

◆ get_qcd_constants()

QCDConstants pyhyperiso.core.Core.QCDProvider.QCDProvider.get_qcd_constants (   self)
Return QCD constants used internally by the backend.

Returns:
    QCDConstants: Read-only Python wrapper around the C++ constants
    object.

Definition at line 55 of file QCDProvider.py.

◆ get_qcd_masses()

pyhyperiso.core.Core.QCDProvider.QCDProvider.get_qcd_masses (   self,
MassConfig  mass_config 
)
Compute a running QCD mass for the requested configuration.

Args:
    mass_config: Python configuration object containing the scale, PDG
        identifier, and mass convention expected by the C++ backend.

Returns:
    float: The value returned by ``QCDProvider::compute_mass``.

Definition at line 43 of file QCDProvider.py.

Member Data Documentation

◆ _cpp_obj

pyhyperiso.core.Core.QCDProvider.QCDProvider._cpp_obj
protected

Definition at line 29 of file QCDProvider.py.


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