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

Configuration of a user-defined Wilson group built from lambdas. More...

#include <CustomWilsonLambda.h>

Collaboration diagram for CustomWilsonGroupConfig:

Public Member Functions

 CustomWilsonGroupConfig ()=default
 
 CustomWilsonGroupConfig (WGroupId group)
 
CustomWilsonGroupConfigadd_coefficient (CustomWilsonCoefficientConfig coef)
 Add a coefficient config to the group.
 
CustomWilsonGroupConfigset_running (WilsonBasis basis, QCDOrder order, std::unordered_map< ParameterType, std::vector< std::string > > sources, std::function< std::unordered_map< WCoefId, scalar_t >(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &, const BlockSrc &)> compute)
 Attach a running lambda for a basis/order pair.
 

Public Attributes

WGroupId group
 Dynamic group id. Register it with GroupMapper before use if it is custom.
 
std::string display_name
 Optional display name used by CustomCoefficientGroup; the mapper name remains authoritative.
 
double matching_scale {81.0}
 Matching scale used when the group is added to the manager.
 
double hadronic_scale {4.8}
 Hadronic/running scale used when the group is added to the manager.
 
QCDOrder order {QCDOrder::LO}
 Highest QCD order to initialize.
 
ContributionType contribution {ContributionType::SM}
 Contribution slot computed by the custom matching lambdas.
 
std::vector< CustomWilsonCoefficientConfigcoefficients
 Coefficients belonging to the group.
 
std::unordered_map< WilsonBasis, std::map< QCDOrder, CoefficientGroupSources > > running
 Running rules keyed by basis and QCD order.
 
bool install_identity_running_if_empty {true}
 If true, install identity running for B_STANDARD when no running rules were provided.
 

Detailed Description

Configuration of a user-defined Wilson group built from lambdas.

The group config contains:

  • a dynamic group id,
  • group-level scales and maximum QCD order,
  • the contribution slot computed by coefficient lambdas,
  • a list of coefficient configs,
  • optional running rules per Wilson basis and QCD order.

If no running rule is supplied, an identity running rule is installed for WilsonBasis::B_STANDARD at LO/NLO/NNLO. It forwards the best available matching coefficients to the hadronic block without additional evolution.

Definition at line 99 of file CustomWilsonLambda.h.

Constructor & Destructor Documentation

◆ CustomWilsonGroupConfig() [1/2]

CustomWilsonGroupConfig::CustomWilsonGroupConfig ( )
default

◆ CustomWilsonGroupConfig() [2/2]

CustomWilsonGroupConfig::CustomWilsonGroupConfig ( WGroupId  group)
inlineexplicit

Definition at line 128 of file CustomWilsonLambda.h.

Member Function Documentation

◆ add_coefficient()

CustomWilsonGroupConfig & CustomWilsonGroupConfig::add_coefficient ( CustomWilsonCoefficientConfig  coef)
inline

Add a coefficient config to the group.

Definition at line 133 of file CustomWilsonLambda.h.

◆ set_running()

CustomWilsonGroupConfig & CustomWilsonGroupConfig::set_running ( WilsonBasis  basis,
QCDOrder  order,
std::unordered_map< ParameterType, std::vector< std::string > >  sources,
std::function< std::unordered_map< WCoefId, scalar_t >(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &, const BlockSrc &)>  compute 
)
inline

Attach a running lambda for a basis/order pair.

The lambda receives all matching coefficients already available by QCD order and a BlockSrc for additional source blocks. It must return the flat map of hadronic coefficients for the requested order.

Definition at line 145 of file CustomWilsonLambda.h.

Member Data Documentation

◆ coefficients

std::vector<CustomWilsonCoefficientConfig> CustomWilsonGroupConfig::coefficients

Coefficients belonging to the group.

Definition at line 119 of file CustomWilsonLambda.h.

◆ contribution

ContributionType CustomWilsonGroupConfig::contribution {ContributionType::SM}

Contribution slot computed by the custom matching lambdas.

Definition at line 116 of file CustomWilsonLambda.h.

◆ display_name

std::string CustomWilsonGroupConfig::display_name

Optional display name used by CustomCoefficientGroup; the mapper name remains authoritative.

Definition at line 104 of file CustomWilsonLambda.h.

◆ group

WGroupId CustomWilsonGroupConfig::group

Dynamic group id. Register it with GroupMapper before use if it is custom.

Definition at line 101 of file CustomWilsonLambda.h.

◆ hadronic_scale

double CustomWilsonGroupConfig::hadronic_scale {4.8}

Hadronic/running scale used when the group is added to the manager.

Definition at line 110 of file CustomWilsonLambda.h.

◆ install_identity_running_if_empty

bool CustomWilsonGroupConfig::install_identity_running_if_empty {true}

If true, install identity running for B_STANDARD when no running rules were provided.

Definition at line 125 of file CustomWilsonLambda.h.

◆ matching_scale

double CustomWilsonGroupConfig::matching_scale {81.0}

Matching scale used when the group is added to the manager.

Definition at line 107 of file CustomWilsonLambda.h.

◆ order

QCDOrder CustomWilsonGroupConfig::order {QCDOrder::LO}

Highest QCD order to initialize.

Definition at line 113 of file CustomWilsonLambda.h.

◆ running

std::unordered_map<WilsonBasis, std::map<QCDOrder, CoefficientGroupSources> > CustomWilsonGroupConfig::running

Running rules keyed by basis and QCD order.

Definition at line 122 of file CustomWilsonLambda.h.


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