Skip to content

[PWGHF] Update treeCreator for Xic0 -> Xi Pi#16583

Open
jinhyunni wants to merge 6 commits into
AliceO2Group:masterfrom
jinhyunni:update
Open

[PWGHF] Update treeCreator for Xic0 -> Xi Pi#16583
jinhyunni wants to merge 6 commits into
AliceO2Group:masterfrom
jinhyunni:update

Conversation

@jinhyunni

Copy link
Copy Markdown
Contributor

This PR aims to update tree creator for Xic0->Xi Pi workflow.
Additional information on generated particles will be stored to perform corrections to raw yields.
Also, new headerfile PWGLF/DataModel/mcCentrality.h was added to support multiplicity dependent studies with MC.

@github-actions github-actions Bot added the pwghf PWG-HF label Jun 9, 2026
@github-actions github-actions Bot changed the title Update treeCreator for Xic0 -> Xi Pi [PWGHF] Update treeCreator for Xic0 -> Xi Pi Jun 9, 2026
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

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

Please consider the following formatting changes to AliceO2Group#16583
for (const auto& particle : mcParticles) {
fillParticle(particle, o2::constants::physics::MassXiC0);
}
fillParticle<MyEventTableWithMcLabels, aod::McCollisions>(mcParticles, collsWithMcLable);

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.

Why do you need to provide CollType?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi @vkucera, thanks for the review!
Can I ask more specifically what you mean by providing the CollType?
Do you mean that I don’t need to provide it within <> in this case?

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.

Yes, the type is deducible from the argument.

@jinhyunni jinhyunni Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I see your point. I've updated to pass template arguements as your advice.
Thanks for letting me know!

If everything seems okay with you, could you approve this PR and merge it?

Comment thread PWGHF/TableProducer/treeCreatorToXiPiQa.cxx Outdated
Comment thread PWGHF/TableProducer/treeCreatorToXiPiQa.cxx Outdated
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