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

Provides strong coupling constant and MS-bar mass values at various energy scales. More...

#include <QCDProvider.h>

Inheritance diagram for QCDProvider:
Collaboration diagram for QCDProvider:

Public Member Functions

double operator() (AlphasConfig)
 Computes the strong coupling constant $\alpha_s$ at a given scale.
 
double operator() (MassConfig)
 Computes the MS-bar running mass at a given scale for a quark.
 
QCDConstantsget_constants () override
 Retrieves the constants related to QCD calculations.
 
- Public Member Functions inherited from IDataProvider< QCDProvider >
virtual ~IDataProvider ()=default
 
double operator() (Args &&... args)
 
bool exists (Args &&... args) const
 
- Public Member Functions inherited from IQCDProvider
virtual ~IQCDProvider ()=default
 Virtual destructor for interface.
 

Detailed Description

Provides strong coupling constant and MS-bar mass values at various energy scales.

QCDProvider is a thin convenience wrapper around QCDHelper, offering a callable interface for:

  • computing the strong coupling $\alpha_s(\mu)$ from an AlphasConfig,
  • computing running MS-bar quark masses at scale $\mu$ from a MassConfig,
  • accessing the underlying QCDConstants used in these calculations.

Typical usage:

AlphasConfig a_cfg{ .scale = 91.1876, .m_b_type = MassType::POLE, .m_t_type = MassType::POLE };
MassConfig m_cfg{ .pdg_id = 5, .scale = 4.2, .m_b_type = MassType::POLE, .m_t_type = MassType::POLE };
double alpha_s_mZ = qcd(a_cfg);
double mb_MSbar = qcd(m_cfg);
auto* consts = qcd.get_constants();
Provides strong coupling constant and MS-bar mass values at various energy scales.
Definition QCDProvider.h:45
QCDConstants * get_constants() override
Retrieves the constants related to QCD calculations.
Configuration for evaluating the strong coupling constant .
Definition Configs.h:206
double scale
Renormalization scale at which is evaluated.
Definition Configs.h:210
Configuration for computing a particle mass at a given scale.
Definition Configs.h:242
int pdg_id
PDG identifier of the particle whose mass is requested.
Definition Configs.h:246
Examples
data_provider_example.cpp.

Definition at line 45 of file QCDProvider.h.

Member Function Documentation

◆ get_constants()

QCDConstants * QCDProvider::get_constants ( )
overridevirtual

Retrieves the constants related to QCD calculations.

Provides access to the QCDConstants structure used internally by QCDHelper (Casimir operators, beta-function coefficients, etc.).

Returns
Pointer to QCDConstants structure.

Implements IQCDProvider.

Definition at line 11 of file QCDProvider.cpp.

◆ operator()() [1/2]

double QCDProvider::operator() ( AlphasConfig  config)

Computes the strong coupling constant $\alpha_s$ at a given scale.

Delegates to QCDHelper::alpha_s, using the configuration provided (renormalization scale and mass-scheme choices for b and t quarks).

Parameters
configAlphasConfig object containing scale and mass type settings.
Returns
Value of $\alpha_s$ at the specified scale.

Definition at line 3 of file QCDProvider.cpp.

◆ operator()() [2/2]

double QCDProvider::operator() ( MassConfig  config)

Computes the MS-bar running mass at a given scale for a quark.

Delegates to QCDHelper::msbar_mass using the supplied MassConfig (PDG ID, renormalization scale, and mass schemes).

Parameters
configMassConfig object containing PDG ID and scale information.
Returns
The MS-bar mass at the specified scale.

Definition at line 7 of file QCDProvider.cpp.


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