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);
22 model.getParticle(
"W")->setGaugeChoice(gauge);
23 model.getParticle(
"Z")->setGaugeChoice(gauge);
26 mty::option::excludeExternalLegsCorrections =
true;
28 Expr factorOperator = 1;
30 opts.setWilsonOperatorCoefficient(factorOperator);
31 opts.setFermionOrder({1, 0, 3, 2});
32 opts.addFilter([&](mty::FeynmanDiagram
const &
diag) {
return !
diag.contains(
"G", mty::FeynmanDiagram::DiagramParticleType::Loop);});
34 auto wil_t = model.computeWilsonCoefficients(mty::Order::OneLoop,
35 {Incoming(
"c"), Incoming(AntiPart(
"u")), Outgoing(AntiPart(
"c")), Outgoing(
"u")},
38 auto O = dimension6Operator(model, wil_t, mty::DiracCoupling::L, mty::DiracCoupling::R);
39 Expr C = getWilsonCoefficient(wil_t, O);
41 [[maybe_unused]]
int sysres = system(
"rm -rf libs/C_CU_4_SM");
42 mty::Library wilsonLib(
"C_CU_4_SM",
"libs");
43 wilsonLib.cleanExistingSources();
44 wilsonLib.addFunction(
"C_CU_4", C);