Skip to content

Commit c7e5ab6

Browse files
authored
Update correlatorDplusHadrons.cxx
1 parent d77722e commit c7e5ab6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGHF/HFC/TableProducer/correlatorDplusHadrons.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ struct HfCorrelatorDplusHadrons {
558558
listDaughters.clear();
559559
RecoDecay::getDaughters(particle1, &listDaughters, arrDaughDplusPDG, 2);
560560
int counterDaughters = 0;
561-
if (listDaughters.size() == 3) {
561+
int nDaughters = listDaughters.size();
562+
if (nDaughters == 3) {
562563
for (const auto& dauIdx : listDaughters) {
563564
auto daughI = mcParticles.rawIteratorAt(dauIdx - mcParticles.offset());
564565
counterDaughters += 1;

0 commit comments

Comments
 (0)