Skip to content

Commit 519a410

Browse files
Update HfHelper.h based on vit's comment
1 parent 51cee7b commit 519a410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGHF/Core/HfHelper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -967,8 +967,8 @@ class HfHelper
967967
bool selectionLbToLcPiTopol(const T1& candLb, const T2& cuts, const T3& binsPt)
968968
{
969969
auto ptCandLb = candLb.pt();
970-
auto ptLc = RecoDecay::pt(candLb.pxProng0(), candLb.pyProng0());
971-
auto ptPi = RecoDecay::pt(candLb.pxProng1(), candLb.pyProng1());
970+
auto ptLc = candLb.ptProng0();
971+
auto ptPi = candLb.ptProng1();
972972

973973
int pTBin = o2::analysis::findBin(binsPt, ptCandLb);
974974
if (pTBin == -1) {

0 commit comments

Comments
 (0)