Skip to content
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions PWGLF/Tasks/QC/efficiencyQA.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -811,8 +811,7 @@ struct efficiencyQA {
fillHistTrack(track, hPtRes, track.sign() * trackParCov.getPt(), trackParCov.getPt() - mcTrack.pt());
fillHistTrack(track, hEtaRes, track.sign() * trackParCov.getPt(), trackParCov.getEta() - mcTrack.eta());
fillHistTrack(track, hPhiRes, track.sign() * trackParCov.getPt(), trackParCov.getPhi() - mcTrack.phi());
}
else {
} else {
for (auto& mother : mcTrack.template mothers_as<aod::McParticles>()) {
if (mother.pdgCode() != 310) {
continue;
Expand All @@ -839,8 +838,7 @@ struct efficiencyQA {
}
if (partMC.isPhysicalPrimary()) {
hPiRec->Fill(0., pdgCode / std::abs(pdgCode) * partMC.pt(), partMC.eta());
}
else {
} else {
for (auto& mother : partMC.template mothers_as<aod::McParticles>()) {
if (mother.pdgCode() != 310) {
continue;
Expand Down