Skip to content

Commit 88b162a

Browse files
authored
Merge pull request #241 from saganatt/combinations-comment
Add a warning about correlation asymmetries
2 parents 061b7e6 + a565450 commit 88b162a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/basics-tasks/CombiningData.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,12 @@ combinations(combinationPolicy)
168168

169169
You can see some combinations examples in the <a href="https://github.com/AliceO2Group/O2Physics/blob/master/Tutorials/src/tracksCombinations.cxx" target="_blank">tracksCombinations.cxx</a> tutorial.
170170

171+
```warning
172+
The tracks in dataset might be implicitly ordered. As a result, for example, you can observe slight asymmetries in same-event 2-particle correlations obtained with `StrictlyUpperIndexPolicy`. The recommended solutions are:
173+
1. Randomly swap tracks in pairs or
174+
2. Use `FullIndexPolicy` and apply additional condition to exclude pairs with the same element repeated ((0, 0), (1, 1), and so on). At the end, you need to apply proper statistic corrections in your analysis, as you count each unique pair twice.
175+
```
176+
171177
## Weighted combinations
172178

173179
You might need to calculate weights for your event mixing. You can get useful variables:

0 commit comments

Comments
 (0)