Skip to content

Commit 51ffa5c

Browse files
authored
Update derivedDataCreatorDstarToD0Pi.cxx
Void duplicating function call
1 parent f3411e4 commit 51ffa5c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

PWGHF/TableProducer/derivedDataCreatorDstarToD0Pi.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,12 +290,13 @@ struct HfDerivedDataCreatorDstarToD0Pi {
290290
if (candidate.signSoftPi() > 0) {
291291
double massDstar = candidate.invMassDstar();
292292
double invMassD0 = candidate.invMassD0();
293-
fillTablesCandidate(candidate, prong0, prong1, prongSoftPi, 0, massDstar, invMassD0, y, flagMcRec, flagMcRecD0, origin, nTracksDecayed, ptBhadMotherPart, pdgBhadMotherPart, mlScoresDstarToD0Pi);
293+
int flagSign = 0;
294294
} else {
295295
double massDstar = candidate.invMassAntiDstar();
296296
double invMassD0 = candidate.invMassD0Bar();
297-
fillTablesCandidate(candidate, prong1, prong0, prongSoftPi, 1, massDstar, invMassD0, y, flagMcRec, flagMcRecD0, origin, nTracksDecayed, ptBhadMotherPart, pdgBhadMotherPart, mlScoresDstarToD0Pi);
297+
int flagSign = 1
298298
}
299+
fillTablesCandidate(candidate, prong0, prong1, prongSoftPi, flagSign, massDstar, invMassD0, y, flagMcRec, flagMcRecD0, origin, nTracksDecayed, ptBhadMotherPart, pdgBhadMotherPart, mlScoresDstarToD0Pi);
299300
}
300301
}
301302
}

0 commit comments

Comments
 (0)