Skip to content

Commit

Permalink
PWGHF: Fix isPhysicalPrimary (AliceO2Group#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
vkucera authored Dec 13, 2021
1 parent d31224d commit 40641b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PWGHF/Tasks/qaPidRejection.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 40641b6

Please sign in to comment.