Skip to content

Commit 00ba0ad

Browse files
authored
[PWGHF] Apply associated-hadron selection for mixed-event electron-hadron correlation (#12554)
1 parent 5d9260d commit 00ba0ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PWGHF/HFC/TableProducer/correlatorHfeHadrons.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ struct HfCorrelatorHfeHadrons {
154154

155155
// Add hadron Table For Mix Event Electron Hadron correlation
156156
for (const auto& hTrack : tracks) {
157+
if (!selAssoHadron(hTrack)) {
158+
continue;
159+
}
157160
registry.fill(HIST("hTracksBin"), poolBin);
158161
entryHadron(hTrack.phi(), hTrack.eta(), hTrack.pt(), poolBin, gCollisionId, timeStamp);
159162
}

0 commit comments

Comments
 (0)