10#ifdef MARTY_LIBRARY_PATH
11 lib.addLPath(MARTY_LIBRARY_PATH);
12 lib.addLPath(MARTY_LIBRARY_PATH
"/..");
13 lib.addLPath(MARTY_LIBRARY_PATH
"/marty");
14 lib.addLPath(MARTY_LIBRARY_PATH
"/marty/lha");
16#ifdef MARTY_INCLUDE_PATH
17 lib.addIPath(MARTY_INCLUDE_PATH);
23 model.getParticle(
"W")->setGaugeChoice(gauge);
24 model.getParticle(
"Z")->setGaugeChoice(gauge);
27 mty::option::excludeExternalLegsCorrections =
true;
29 Expr factorOperator = GetComplexConjugate(
V_cs) *
V_cb * pow_s(
e_em, 2)
30 / (2 * pow_s(sin_s(
theta_W), 2) * pow_s(
M_W, 2));
32 opts.setFermionOrder({1, 3, 2, 0});
33 opts.setWilsonOperatorCoefficient(factorOperator);
34 opts.addFilter(mty::filter::disableParticle(
"G"));
36 auto wil_LO = model.computeWilsonCoefficients(
37 mty::Order::TreeLevel,
38 {Incoming(
"b"), Outgoing(
"s"),
39 Outgoing(
"c"), Outgoing(AntiPart(
"c"))},
43 Expr C2_LO = getWilsonCoefficient(wil_LO, dimension6Operator(model, wil_LO, DiracCoupling::VL, DiracCoupling::VL, {1, 3, 0, 2}));
62 [[maybe_unused]]
int sysres = system(
"rm -rf libs/C2_SM");
63 mty::Library wilsonLib(
"C2_SM",
"libs");
64 wilsonLib.cleanExistingSources();
65 wilsonLib.addFunction(
"C2",
C2);