Skip to content

Commit d728e97

Browse files
committed
Minor fix
1 parent 9ecfc60 commit d728e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MC/config/PWGHF/external/generator/generator_pythia8_gaptriggered_hf.C

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ protected:
293293
mPythia.event.remove(iPartToReplace, iPartToReplace, true); // we remove the original particle
294294

295295
int status = std::abs(mPythia.event[iPartToReplace].status());
296-
if (status < 81) {
296+
if (status < 81 || status > 89) {
297297
status = 81;
298298
}
299299
mPythia.event.append(charge * pdgCodeNew, status, mothers[0], mothers[1], 0, 0, 0, 0, px, py, pz, energy, mass);

0 commit comments

Comments
 (0)