Skip to content

[PWGCF] Add a new method to calculate correlation#15376

Merged
wenyaCern merged 2 commits intoAliceO2Group:masterfrom
huinaibing:master
Mar 14, 2026
Merged

[PWGCF] Add a new method to calculate correlation#15376
wenyaCern merged 2 commits intoAliceO2Group:masterfrom
huinaibing:master

Conversation

@huinaibing
Copy link
Contributor

  • Added several histograms for PID particle count statistics
  • Added comparison for the v2 flow
  • Implemented a brand-new method for correlation coefficient calculation
  • Fixed a bug that caused half of some particles to be missing
  • Added a switch to prevent filling events without PID particles
  • Optimized code readability

#define O2_DEFINE_CONFIGURABLE(NAME, TYPE, DEFAULT, HELP) Configurable<TYPE> NAME{#NAME, DEFAULT, HELP};

struct PidFlowPtCorr {
#pragma region // configurable
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please use a regular type comment

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thank you for your comment. The code has been modified.

@huinaibing huinaibing marked this pull request as draft March 14, 2026 09:10
@huinaibing huinaibing marked this pull request as ready for review March 14, 2026 10:15
@wenyaCern wenyaCern merged commit 3ebe857 into AliceO2Group:master Mar 14, 2026
13 checks passed
scannito pushed a commit to scannito/O2Physics that referenced this pull request Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants