Skip to content

Commit

Permalink
Adding isGlobalTrack requirement (AliceO2Group#7216)
Browse files Browse the repository at this point in the history
  • Loading branch information
scattaru authored Aug 8, 2024
1 parent 0ada3f0 commit c8f7d61
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions PWGHF/HFC/Tasks/taskCorrelationDsHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,9 @@ struct HfTaskCorrelationDsHadrons {

// reconstructed track loop
for (const auto& track : groupedTracks) {
if (!track.isGlobalTrackWoDCA()) {
continue;
}
if (track.has_mcParticle()) {
hAssocTracks->Fill(kAssocTrackStepRecoMcMatch, track.eta(), track.pt(), multiplicityReco, posZReco);
auto mcParticle = track.template mcParticle_as<aod::McParticles>();
Expand Down

0 comments on commit c8f7d61

Please sign in to comment.