diff --git a/PWGHF/TableProducer/candidateCreator3Prong.cxx b/PWGHF/TableProducer/candidateCreator3Prong.cxx index 7ae95c956b7..74fb8468af5 100644 --- a/PWGHF/TableProducer/candidateCreator3Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator3Prong.cxx @@ -267,7 +267,7 @@ struct HfCandidateCreator3Prong { fillProngPid(track2, rowProng2PidKa); /// fill proton PID information only if necessary - if (createLc || createXic) { + if (createLc || createXic || createCharmNuclei) { fillProngPid(track0, rowProng0PidPr); fillProngPid(track1, rowProng1PidPr); fillProngPid(track2, rowProng2PidPr);