11#ifdef MARTY_LIBRARY_PATH
12 lib.addLPath(MARTY_LIBRARY_PATH);
13 lib.addLPath(MARTY_LIBRARY_PATH
"/..");
14 lib.addLPath(MARTY_LIBRARY_PATH
"/marty");
15 lib.addLPath(MARTY_LIBRARY_PATH
"/marty/lha");
17#ifdef MARTY_INCLUDE_PATH
18 lib.addIPath(MARTY_INCLUDE_PATH);
24 model.getParticle(
"W")->setGaugeChoice(gauge);
25 model.getParticle(
"Z")->setGaugeChoice(gauge);
28 mty::option::excludeExternalLegsCorrections =
true;
30 Expr factorOperator = -GetComplexConjugate(
V_ts) *
V_tb * pow_s(
e_em, 3) *
m_b
31 / (32 * CSL_PI * CSL_PI * pow_s(sin_s(
theta_W), 2) * pow_s(
M_W, 2));
33 opts.setWilsonOperatorCoefficient(factorOperator);
35 auto wil = model.computeWilsonCoefficients(mty::Order::OneLoop,
36 {Incoming(
"b"), Outgoing(
"s"), Outgoing(
"A")},
39 auto O7 = chromoMagneticOperator(model, wil, DiracCoupling::R);
40 Expr
C7 = getWilsonCoefficient(wil, O7);
42 [[maybe_unused]]
int sysres = system(
"rm -rf libs/C7_SM");
43 mty::Library wilsonLib(
"C7_SM",
"libs");
44 wilsonLib.cleanExistingSources();
45 wilsonLib.addFunction(
"C7",
C7);