Skip to content

Conversation

@glromane
Copy link
Collaborator

Dear @victor-gonzalez ,

In this commit we're trying to improve the randomness mechanism for a pair assignment. In case of 3d we're sensitive to the projections of the relative momentum (in 1d we take an abs. value -- irrelevant). In principle pairs must be the same but the pair order [particle1, particle2] must be random. The pairing has a pattern and in order to eliminate it we used shuffling before, this time we just randomly choose the sign of the momenta difference p1 - p2 I.e. order. We expect it to be a more correct way of eliminating any patterns. Could you please approve this commit? Thank you.

Sincerely yours, Gleb.

Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!
I wonder if, as you peak the time since epoch, a pattern in the execution time would not as well bias the pair ordering

@victor-gonzalez victor-gonzalez merged commit f273983 into AliceO2Group:master Apr 15, 2024
christianreckziegel pushed a commit to christianreckziegel/O2Physics that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants