Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
GroupDef_K.cpp
Go to the documentation of this file.
1#include "GroupDefinition.h"
2#include "KWilsonGroup.h"
3
5
6namespace GroupDefinitions {
7 const GroupDefinition& K() {
8 static const GroupDefinition def = []{
12 std::map<QCDOrder, CGS> m;
13 CGS lo;
14 lo.sources = {
16 };
18 m[QCDOrder::LO] = lo;
19
20
21 CGS nlo = lo;
23
24 CGS nnlo = lo;
26
27 m[QCDOrder::NLO] = nlo;
28 m[QCDOrder::NNLO] = nnlo;
29
30 d.sources.emplace(WilsonBasis::B_STANDARD, std::move(m));
31 return d;
32 }();
33 return def;
34 }
35}
Declarative registry describing Wilson coefficient groups, their sources, and setup hooks.
constexpr const char * MATCHING_BLOCK_PLACEHOLDER
Placeholder string used in GroupDefinition sources to refer to the matching block.
static std::unordered_map< WCoefId, scalar_t > base_1_NNLO_calculation(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &coef_matching, const BlockSrc &src)
static std::unordered_map< WCoefId, scalar_t > base_1_NLO_calculation(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &coef_matching, const BlockSrc &src)
static std::unordered_map< WCoefId, scalar_t > base_1_LO_calculation(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &coef_matching, const BlockSrc &src)
static std::vector< WCoef > get_group(WGroup g)
Returns the list of Wilson coefficients belonging to a WGroup.
Registry/factory of built-in and custom GroupDefinition objects.
Definition GroupDef_B.cpp:6
const GroupDefinition & K()
Definition GroupDef_K.cpp:7
Source specification and aggregation function for a coefficient group block.
Definition WilsonGroup.h:68
std::unordered_map< ParameterType, std::vector< std::string > > sources
Map of required source blocks for each ParameterType scope.
Definition WilsonGroup.h:70
std::function< std::unordered_map< WCoefId, scalar_t >(const std::unordered_map< QCDOrder, std::unordered_map< WCoefId, scalar_t > > &, const BlockSrc &)> func
Computes a set of coefficients from existing values and source blocks.
Definition WilsonGroup.h:82
Declarative description of a Wilson coefficient group.