Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
BPrimeWilson.cpp
Go to the documentation of this file.
1#include "BPrimeWilson.h"
2
3
4// ---------- C'7 ----------
5
8 {
9 {"WPARAM_MATCH_SM", {2, 1}}, // x_t
10 {"WPARAM_MATCH_SM", {5, 1}}, // m_b(muW)
11 {ParameterType::SM, "MASS", 3} // m_s
12 },
15 };
16
18
20}
21
22double CP7::compute_LO(const ParamSrc& src) {
23 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
24 double mb = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {5, 1});
25 double ms = src.get_val(ParameterType::SM, "MASS", 3);
26
27 // printf("ms in SM (LO) : %.8lf\n", ms);
28 // printf("mb in SM (LO) : %.8lf\n", mb);
29 // printf("xt : %.8lf\n", xt);
30
31 // printf("CP7 in SM (LO) : %.8lf\n", ms / mb * (-0.5 * A0t(xt) - 23. / 36.));
32 return ms / mb * (-0.5 * A0t(xt) - 23. / 36.);
33}
34
35// ---------- C'8 ----------
36
39 {
40 {"WPARAM_MATCH_SM", {2, 1}}, // x_t
41 {"WPARAM_MATCH_SM", {5, 1}}, // m_b(muW)
42 {ParameterType::SM, "MASS", 3} // m_s
43 },
46 };
47
49
51}
52
53double CP8::compute_LO(const ParamSrc& src) {
54 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});;
55 double mb = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {5, 1});;
56 double ms = src.get_val(ParameterType::SM, "MASS", 3);
57 // printf("CP8 in SM (LO) : %.8lf\n", ms / mb * (-0.5 * F0t(xt) - 1. / 3.));
58 return ms / mb * (-0.5 * F0t(xt) - 1. / 3.);
59}
ScaleType
WGroup
static double compute_LO(const ParamSrc &src)
static double compute_LO(const ParamSrc &src)
Mapper for WGroup <-> WGroupId <-> optional external string.
Lightweight view over a set of source parameters keyed by ParamId.
scalar_t get_val(const ParamId &id) const
Retrieves the current value of a parameter.
Abstract base class representing a Wilson coefficient and its matching information.
Definition Wilson.h:153
LhaID get_lhaid_from_name(QCDOrder order)
Computes the LhaID directly from the coefficient base name and mapping conventions.
Definition Wilson.cpp:61
std::map< QCDOrder, MatchingInfo > matching_info
Matching metadata indexed by QCD order.
Definition Wilson.h:330
double A0t(double x)
Scalar one-loop Wilson coefficient A0t.
double F0t(double x)
Scalar one-loop Wilson coefficient F0t.
Matching metadata for a Wilson coefficient at a specific QCD order.
Definition Wilson.h:62