From 1b85711a57dae10ec667949cfd0cdae0193ec07e Mon Sep 17 00:00:00 2001 From: Laurids Jeppe Date: Mon, 31 Jul 2023 11:48:27 +0200 Subject: [PATCH] Fix EmissionVetoHook for BB4L --- .../Pythia8Interface/plugins/EmissionVetoHook1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GeneratorInterface/Pythia8Interface/plugins/EmissionVetoHook1.cc b/GeneratorInterface/Pythia8Interface/plugins/EmissionVetoHook1.cc index 342ba7c2d149d..23f59946d1bee 100644 --- a/GeneratorInterface/Pythia8Interface/plugins/EmissionVetoHook1.cc +++ b/GeneratorInterface/Pythia8Interface/plugins/EmissionVetoHook1.cc @@ -442,7 +442,7 @@ bool EmissionVetoHook1::doVetoFSREmission(int, const Pythia8::Event &e, int iSys return false; // only use for outside resonance vetos in combination with bb4l:FSREmission:veto - if (!inResonance && settingsPtr->flag("POWHEG:bb4l:FSREmission:veto") == 1) + if (inResonance && settingsPtr->flag("POWHEG:bb4l:FSREmission:veto") == 1) return false; // If we already have accepted 'vetoCount' emissions in a row, do nothing