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

User-definable WilsonCoefficient with explicit per-order matching definitions. More...

#include <functional>
#include <memory>
#include <string>
#include <unordered_set>
#include "Wilson.h"
Include dependency graph for CustomWilson.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CustomWilson
 Concrete WilsonCoefficient whose matching rules are provided by the user. More...
 

Detailed Description

User-definable WilsonCoefficient with explicit per-order matching definitions.

This header defines CustomWilson, a convenience concrete implementation of WilsonCoefficient intended for:

  • quick prototyping,
  • external/custom EFT extensions,
  • unit tests, where the user provides the dependency sources and compute functor directly.

Unlike built-in or MARTY-backed coefficients, CustomWilson does not assume any physics computation by itself. Instead, clients fill MatchingInfo per QCD order using set_order_info().

Typical usage

auto c = std::make_shared<CustomWilson>(LhaID(1,2,0,0), "WCUSTOM");
c->set_order_info(QCDOrder::LO,
{ ParamId{ParameterType::SM,"SMINPUTS",1} },
[](const ParamSrc& src){ return src.get_val("SMINPUTS",1); },
LhaID(1,2,0,0));
Lightweight view over a set of source parameters keyed by ParamId.
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56
Composite identifier for a single parameter.
Definition ParamID.h:57
See also
WilsonCoefficient
MatchingInfo

Definition in file CustomWilson.h.