Skip to content

Conversation

@Tao-Fang
Copy link
Contributor

1, Added centrality for MC collisions and updated relevant event split and event loose processing functions.

1, Added centrality for MC collisions and updated relevant event split and event loose processing functions.
@github-actions github-actions bot added the pwghf PWG-HF label Nov 23, 2025
@github-actions
Copy link

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 0 disabled

@github-actions github-actions bot changed the title Add centrality information to MC collisions [PWGHF] Add centrality information to MC collisions Nov 23, 2025
@Tao-Fang Tao-Fang marked this pull request as ready for review November 23, 2025 13:26
#include "PWGHF/Core/HfHelper.h"
#include "PWGHF/DataModel/CandidateReconstructionTables.h"
#include "PWGHF/DataModel/CandidateSelectionTables.h"
#include "PWGLF/DataModel/mcCentrality.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @Tao-Fang ! Thanks for the development. This is fine for me, I just have a doubt about this line: do you really need to include the centrality from LF? Could you not use the centrality table from HF?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @stefanopolitano, thanks for your comment, I think the structure with mccentrality seems fine, which has same cite on other HF codes like candidateCreator3Prong.cxx, candidateCreatorCascade.cxx, and taskOmegac0ToOmegaPi.cxx

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @stefanopolitano, the centrality from the LF task assigns a value to all generated events (also those not reconstructed) according to the generated particles in the FT0 acceptance, and it has been calibrated to match the data. This information is needed, e.g., to compute the event loss as a function of multiplicity, where you need the multiplicity interval also for events not reconstructed.
What is done in HF is to assign to the generated collision the centrality of the associated reconstructed collision with the larger number of contributors (to address split vertices). BTW, I'm not sure how much we can trust the centrality intervals obtained in this way, given also that we are using enriched HF MCs.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hi @fcatalan92! Thanks for the clarification (and sorry for the delay). Good for me!

@stefanopolitano stefanopolitano merged commit 711570a into AliceO2Group:master Nov 25, 2025
17 checks passed
yakparo pushed a commit to yakparo/O2Physics that referenced this pull request Nov 29, 2025
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

3 participants