Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
CustomWilsonLambda.h File Reference

High-level configuration helpers for user-defined Wilson groups and coefficients. More...

#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <vector>
#include "CustomWilson.h"
#include "CustomWilsonGroup.h"
#include "WilsonBlockNames.h"
Include dependency graph for CustomWilsonLambda.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CustomWilsonCoefficientConfig
 Configuration of one user-defined Wilson coefficient. More...
 
struct  CustomWilsonGroupConfig
 Configuration of a user-defined Wilson group built from lambdas. More...
 

Functions

std::unordered_map< WCoefId, scalar_tcustom_identity_running (const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &matching, const BlockSrc &)
 Identity running rule used as a safe default for custom groups.
 
std::shared_ptr< CustomCoefficientGroupmake_custom_wilson_group (const CustomWilsonGroupConfig &cfg, WilsonGroupAdapterConfig adapters)
 Build a CustomCoefficientGroup from a lambda config.
 

Detailed Description

High-level configuration helpers for user-defined Wilson groups and coefficients.

The lower domain layer already contains CustomWilson and CustomCoefficientGroup. This header adds small value objects that make the public API easy to use from examples, bindings and configuration-driven code:

All identifiers are dynamic ids (WGroupId and WCoefId). Builtin enums are not required, so this path works for symbols registered at runtime through GroupMapper and WCoefMapper.

Definition in file CustomWilsonLambda.h.

Function Documentation

◆ custom_identity_running()

std::unordered_map< WCoefId, scalar_t > custom_identity_running ( const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &  matching,
const BlockSrc  
)
inline

Identity running rule used as a safe default for custom groups.

It selects the best matching order available in the input map: NNLO, else NLO, else LO. If no matching coefficient exists, it returns an empty map.

Definition at line 168 of file CustomWilsonLambda.h.

◆ make_custom_wilson_group()

std::shared_ptr< CustomCoefficientGroup > make_custom_wilson_group ( const CustomWilsonGroupConfig cfg,
WilsonGroupAdapterConfig  adapters 
)
inline

Build a CustomCoefficientGroup from a lambda config.

Parameters
cfgUser-facing group config.
adaptersAdapter bundle used by the Wilson domain layer.
Returns
A ready-to-register group whose matching and running rules are wired.

Definition at line 185 of file CustomWilsonLambda.h.