Skip to content

Commit 0bcbba3

Browse files
Tao-Fangvkucera
andauthored
Update PWGHF/TableProducer/candidateSelectorXic0ToXiPiKf.cxx
Co-authored-by: Vít Kučera <vit.kucera@cern.ch>
1 parent 5f01df3 commit 0bcbba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/TableProducer/candidateSelectorXic0ToXiPiKf.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ struct HfCandidateSelectorXic0ToXiPiKf {
224224
// looping over charm baryon candidates
225225
for (const auto& candidate : candidates) {
226226

227-
auto ptCand = RecoDecay::sqrtSumOfSquares(candidate.pxCharmBaryon(), candidate.pyCharmBaryon());
227+
auto ptCand = RecoDecay::pt(candidate.pxCharmBaryon(), candidate.pyCharmBaryon());
228228

229229
bool resultSelections = true; // True if the candidate passes all the selections, False otherwise
230230

0 commit comments

Comments
 (0)