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);
35 auto wil = model.computeWilsonCoefficients(mty::Order::TreeLevel,
36 {Incoming(
"b"), Outgoing(
"s"),
37 Outgoing(
"c"), Outgoing(AntiPart(
"c"))},
40 auto O1 = dimension6Operator(model, wil, DiracCoupling::VL, DiracCoupling::VL, {
"C", ColorCoupling::Generator}, {1, 3, 0, 2});
41 Expr
C1 = getWilsonCoefficient(wil, O1);
43 [[maybe_unused]]
int sysres = system(
"rm -rf libs/C1_SM");
44 mty::Library wilsonLib(
"C1_SM",
"libs");
45 wilsonLib.cleanExistingSources();
46 wilsonLib.addFunction(
"C1",
C1);