Skip to content

Commit

Permalink
Merge pull request #43173 from lauridsj/fix_emission_veto_CMSSW_7_1_X
Browse files Browse the repository at this point in the history
[Backport 7_1_X] Fix EmissionVetoHook for BB4L
  • Loading branch information
cmsbuild authored Nov 7, 2023
2 parents 92ad642 + 793c53d commit 17cafb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ bool EmissionVetoHook1::doVetoFSREmission(int, const Pythia8::Event &e, int iSys
if (iSys != 0) return false;

// only use for outside resonance vetos in combination with bb4l:FSREmission:veto
if (!inResonance && settingsPtr->flag("POWHEG:bb4l:FSREmission:veto")==1) return false;
if (inResonance && settingsPtr->flag("POWHEG:bb4l:FSREmission:veto")==1) return false;

// If we already have accepted 'vetoCount' emissions in a row, do nothing
if (vetoOn && nAcceptSeq >= vetoCount) return false;
Expand Down

0 comments on commit 17cafb5

Please sign in to comment.