Skip to content

Commit fc76474

Browse files
authored
Update correlatorDplusHadrons.cxx
Change of variable name of an array.
1 parent 9a6d720 commit fc76474

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/HFC/TableProducer/correlatorDplusHadrons.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -554,8 +554,8 @@ struct HfCorrelatorDplusHadrons {
554554

555555
// prompt and non-prompt division
556556
std::vector<int> listDaughters{};
557-
std::array<int, 3> arrDaughDplusPDG = {+kPiPlus, -kKPlus, kPiPlus};
558-
std::array<int, 3> prongsId;
557+
std::array<int, NDaughters> arrDaughDplusPDG = {+kPiPlus, -kKPlus, kPiPlus};
558+
std::array<int, NDaughters> prongsId;
559559
listDaughters.clear();
560560
RecoDecay::getDaughters(particle1, &listDaughters, arrDaughDplusPDG, 2);
561561
int counterDaughters = 0;

0 commit comments

Comments
 (0)