Skip to content

support for randomization via Fisher-Yates algorithm - #4360

Merged
victor-gonzalez merged 1 commit into
AliceO2Group:masterfrom
abilandz:master
Jan 18, 2024
Merged

support for randomization via Fisher-Yates algorithm#4360
victor-gonzalez merged 1 commit into
AliceO2Group:masterfrom
abilandz:master

Conversation

@abilandz

Copy link
Copy Markdown
Collaborator

No description provided.

if (tc.fRandomIndices) {
LOGF(fatal, "in function \033[1;31m%s at line %d\033[0m", __PRETTY_FUNCTION__, __LINE__);
}
this->RandomIndices(tracks.size());

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

this is redundant, right?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Yes, but it's a matter of taste - I like to use it to indicate that I am calling a member function directly implemented in a given class, and not inherited. It's not a very strong argument, I know...

@victor-gonzalez
victor-gonzalez merged commit 9d2aef2 into AliceO2Group:master Jan 18, 2024
rspijkers pushed a commit to rspijkers/O2Physics that referenced this pull request Jan 19, 2024
hahassan7 pushed a commit to hahassan7/O2Physics that referenced this pull request Feb 1, 2024
basiach pushed a commit to basiach/O2Physics that referenced this pull request Feb 23, 2024
ercolessi pushed a commit to ercolessi/O2Physics that referenced this pull request Feb 28, 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