9#ifdef MARTY_LIBRARY_PATH
10 lib.addLPath(MARTY_LIBRARY_PATH);
11 lib.addLPath(MARTY_LIBRARY_PATH
"/..");
12 lib.addLPath(MARTY_LIBRARY_PATH
"/marty");
13 lib.addLPath(MARTY_LIBRARY_PATH
"/marty/lha");
15#ifdef MARTY_INCLUDE_PATH
16 lib.addIPath(MARTY_INCLUDE_PATH);
22 model.getParticle(
"W")->setGaugeChoice(gauge);
23 model.getParticle(
"Z")->setGaugeChoice(gauge);
26 mty::option::excludeExternalLegsCorrections =
true;
28 Expr factorOperator = -4 * GetComplexConjugate(
V_ts) *
V_tb *
G_F / csl::sqrt_s(2);
30 opts.setFermionOrder({1, 0, 2, 3});
31 opts.setWilsonOperatorCoefficient(factorOperator);
33 auto wil_u = model.computeWilsonCoefficients(mty::Order::TreeLevel,
34 {Incoming(
"b"), Outgoing(
"s"),
35 Outgoing(
"u"), Outgoing(AntiPart(
"u"))},
38 auto O3_u = dimension6Operator(model, wil_u, DiracCoupling::VR, DiracCoupling::V, {0, 2, 1, 3});
39 Expr C3_u = getWilsonCoefficient(wil_u, O3_u);
42 auto wil_c = model.computeWilsonCoefficients(mty::Order::TreeLevel,
43 {Incoming(
"b"), Outgoing(
"s"),
44 Outgoing(
"c"), Outgoing(AntiPart(
"c"))},
47 auto O3_c = dimension6Operator(model, wil_u, DiracCoupling::VL, DiracCoupling::V, {0, 2, 1, 3});
48 Expr C3_c = getWilsonCoefficient(wil_c, O3_c);
51 [[maybe_unused]]
int sysres = system(
"rm -rf libs/CP3_SM");
52 mty::Library wilsonLib(
"CP3_SM",
"libs");
53 wilsonLib.cleanExistingSources();
54 wilsonLib.addFunction(
"CP3", C3_u + C3_c);