From 05e4d3824ca48651d8fe6971ab5e22cc86219b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= Date: Mon, 13 Dec 2021 10:18:46 +0100 Subject: [PATCH] PWGHF: Fix isPhysicalPrimary --- PWGHF/Tasks/qaPidRejection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/Tasks/qaPidRejection.cxx b/PWGHF/Tasks/qaPidRejection.cxx index 872492f5ec0..fefb90fadf7 100644 --- a/PWGHF/Tasks/qaPidRejection.cxx +++ b/PWGHF/Tasks/qaPidRejection.cxx @@ -182,7 +182,7 @@ struct QaTrackingRejection { bool isRICHhpProton = !(selectorProton.getStatusTrackPIDRICH(track) == TrackSelectorPID::Status::PIDRejected); bool isMIDhpMuon = (selectorMuon.getStatusTrackPIDMID(track) == TrackSelectorPID::Status::PIDAccepted); - if (MC::isPhysicalPrimary(mcParticle)) { + if (mcParticle.isPhysicalPrimary()) { histos.fill(HIST("tracking/pteta"), track.pt(), track.eta()); if (isTOFhpElectron) { histos.fill(HIST("trackingTOFselElectron/pteta"), track.pt(), track.eta());