Skip to content

Commit 4f8820e

Browse files
victor-gonzalezVictor
andauthored
Fix for asymmetry in weighted correlation functions (#6261)
Co-authored-by: Victor <victor@cern.ch>
1 parent d29b341 commit 4f8820e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PWGCF/Tasks/dptdptcorrelations.cxx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,11 +338,13 @@ struct DptDptCorrelationsTask {
338338
/* checking the same track id condition */
339339
if (track1 == track2) {
340340
/* exclude autocorrelations */
341+
index2++;
341342
continue;
342343
}
343344

344345
if constexpr (doptorder) {
345346
if (track2.pt() >= track1.pt()) {
347+
index2++;
346348
continue;
347349
}
348350
}

0 commit comments

Comments
 (0)