Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
KWilson.cpp
Go to the documentation of this file.
1#include "KWilson.h"
2
4 // LO
6 {
7 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
8 },
11 };
12
13}
14
15double CK9::compute_LO(const ParamSrc& src) {
16 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
17 return -0.5 * F0t(xt) - 1. / 3.;
18}
19
21 // LO
23 {
24 {"WPARAM_MATCH_SM", LhaID(2, 1)}, // x_t
25 {"WPARAM_SI_SM", 4} // sw2
26 },
29 };
30
32 {
33 {"WPARAM_MATCH_SM", LhaID(2, 1)}, // x_t
34 {"WPARAM_SI_SM", 4}, // sw2
35 {ParameterType::SM, "MASS", 24}, // mW
36 {ParameterType::SM, "QCD", 6}, //mt
37 },
40 };
41
42}
43
44double CK10::compute_LO(const ParamSrc& src) {
45 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
46 double sw2 = src.get_val(ParameterType::WILSON, "WPARAM_SI_SM", 4);
47 return -Y0(xt)/sw2;
48}
49
50//TODO : careful with NLO, alpha/4pi is not the same than before (not same scale)
51double CK10::compute_NLO(const ParamSrc& src) {
52 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
53 double sw2 = src.get_val(ParameterType::WILSON, "WPARAM_SI_SM", 4);
54 double mW = src.get_val(ParameterType::SM, "MASS", 24);
55 double mtmt = src.get_val(ParameterType::SM, "QCD", 6);
56 return -Y1(xt,mtmt,mW)/sw2;
57}
58
60 // LO
62 {
63 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
64 },
67 };
68
69}
70
71double CKQ1::compute_LO(const ParamSrc& src) {
72 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
73 return -0.5 * F0t(xt) - 1. / 3.;
74}
75
77 // LO
79 {
80 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
81 },
84 };
85
86}
87
88double CKQ2::compute_LO(const ParamSrc& src) {
89 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
90 return -0.5 * F0t(xt) - 1. / 3.;
91}
92
94 // LO
96 {
97 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
98 },
101 };
102
103}
104
105double CPK9::compute_LO(const ParamSrc& src) {
106 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
107 return -0.5 * F0t(xt) - 1. / 3.;
108}
109
111 // LO
113 {
114 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
115 },
118 };
119
120}
121
122double CPK10::compute_LO(const ParamSrc& src) {
123 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
124 return -0.5 * F0t(xt) - 1. / 3.;
125}
126
128 // LO
130 {
131 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
132 },
135 };
136
137}
138
139double CPKQ1::compute_LO(const ParamSrc& src) {
140 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
141 return -0.5 * F0t(xt) - 1. / 3.;
142}
143
145 // LO
147 {
148 {"WPARAM_MATCH_SM", LhaID(2, 1)} // x_t
149 },
152 };
153
154}
155
156double CPKQ2::compute_LO(const ParamSrc& src) {
157 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
158 return -0.5 * F0t(xt) - 1. / 3.;
159}
160
162 // LO
164 {
165 {"WPARAM_MATCH_SM", LhaID(2, 1)}, // x_t
166 {"WPARAM_SI_SM", 4}, // sw2
167 },
170 };
171
173 {
174 {"WPARAM_MATCH_SM", LhaID(2, 1)}, // x_t
175 {"WPARAM_SI_SM", 4}, // sw2
176 {ParameterType::SM, "MASS", 24}, // mW
177 {ParameterType::SM, "QCD", 6}, //mt
178 },
181 };
182
183}
184
185double CK_L::compute_LO(const ParamSrc& src) {
186 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
187 double sw2 = src.get_val(ParameterType::WILSON, "WPARAM_SI_SM", 4);
188 return X0(xt)/std::pow(sw2,2);
189}
190
191double CK_L::compute_NLO(const ParamSrc& src) {
192 double xt = src.get_val(ParameterType::WILSON, "WPARAM_MATCH_SM", {2, 1});
193 double sw2 = src.get_val(ParameterType::WILSON, "WPARAM_SI_SM", 4);
194 double mW = src.get_val(ParameterType::SM, "MASS", 24);
195 double mtmt = src.get_val(ParameterType::SM, "QCD", 6);
196 return X1(xt, mtmt, mW)/std::pow(sw2,2);
197}
ScaleType
WGroup
static double compute_NLO(const ParamSrc &src)
Definition KWilson.cpp:51
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:44
CK10()
Definition KWilson.cpp:20
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:15
CK9()
Definition KWilson.cpp:3
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:71
CKQ1()
Definition KWilson.cpp:59
CKQ2()
Definition KWilson.cpp:76
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:88
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:185
CK_L()
Definition KWilson.cpp:161
static double compute_NLO(const ParamSrc &src)
Definition KWilson.cpp:191
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:122
CPK10()
Definition KWilson.cpp:110
CPK9()
Definition KWilson.cpp:93
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:105
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:139
CPKQ1()
Definition KWilson.cpp:127
static double compute_LO(const ParamSrc &src)
Definition KWilson.cpp:156
CPKQ2()
Definition KWilson.cpp:144
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 X0(double xt)
double Y1(double xt, double mu, double mass_W)
double X1(double xt, double mu, double mass_W)
double F0t(double x)
Scalar one-loop Wilson coefficient F0t.
double Y0(double xt)
Represents an identifier of a LHA element, possibly containing several sub-ids.
Definition LhaID.h:56