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_cs) *
V_cb *
G_F / csl::sqrt_s(2);
30 opts.setFermionOrder({1, 3, 2, 0});
31 opts.setWilsonOperatorCoefficient(factorOperator);
33 auto wil = model.computeWilsonCoefficients(mty::Order::TreeLevel,
34 {Incoming(
"b"), Outgoing(
"s"),
35 Outgoing(
"c"), Outgoing(AntiPart(
"c"))},
38 auto O1 = dimension6Operator(model, wil, DiracCoupling::VR, DiracCoupling::VR, {
"C", ColorCoupling::Generator}, {1, 3, 0, 2});
39 Expr
C1 = getWilsonCoefficient(wil, O1);
42 [[maybe_unused]]
int sysres = system(
"rm -rf libs/CP1_SM");
43 mty::Library wilsonLib(
"CP1_SM",
"libs");
44 wilsonLib.cleanExistingSources();
45 wilsonLib.addFunction(
"CP1",
C1);