Skip to content

[PWGHF] First draft of Omegac0 to OmegaPi QA workflow - #18126

Draft
mtorresc15 wants to merge 13 commits into
AliceO2Group:masterfrom
mtorresc15:omegac0-qa
Draft

mtorresc15 wants to merge 13 commits into
AliceO2Group:masterfrom
mtorresc15:omegac0-qa

Conversation

@mtorresc15

Copy link
Copy Markdown
Contributor

First draft of the QA workflow for the Omegac0 to OmegaPi analysis.

This PR introduces dedicated QA versions of the candidate selector, tree creator, analysis task, and ML response to allow a more detailed validation of the Omegac0 to OmegaPi analysis workflow.

The main additions are:

  • Candidate selector: QA monitoring of the selection steps, with dedicated DCAFitter and KFParticle processing.
  • Tree creator: dedicated QA output tables containing additional reconstruction and selection information for DCAFitter and KFParticle candidates.
  • ML response: common and reconstruction-specific ML input features for both DCAFitter and KFParticle.
  • Analysis task: processing DCAFitter and KFParticle candidates, with and without ML selections.

The implementation is based on the existing Omegac0 to OmegaPi analysis workflow and is intended to facilitate validation and comparison of the DCAFitter and KFParticle reconstruction and selection strategies.

This PR is opened as a draft for preliminary review and feedback.

@github-actions github-actions Bot added the pwghf PWG-HF label Sep 30, 2026
@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title First draft of Omegac0 to OmegaPi QA workflow [PWGHF] First draft of Omegac0 to OmegaPi QA workflow Sep 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The new executables lack build registration, and selector issues can alter cuts or fatally terminate ML workflows.

Review effort: Balanced
Findings: 4 High severity · 2 Medium severity · 1 Low severity

Open (7)
What changed in this PR

Adds QA workflows for comparing DCAFitter and KFParticle Ωc⁰→Ωπ reconstruction.

Changes:

  • Adds QA candidate selection and output trees.
  • Adds reconstruction-specific ML features.
  • Adds data/MC analysis modes with optional ML and centrality.
File Description
PWGHF/​TableProducer/​treeCreatorOmegac0ToOmegaPiQa.cxx Defines detailed QA output tables.
PWGHF/​TableProducer/​candidateSelectorOmegac0ToOmegaPiQa.cxx Implements selection, PID, ML, and QA monitoring.
PWGHF/​D2H/​Tasks/​taskOmegac0ToOmegaPiQa.cxx Adds data and MC analysis modes.
PWGHF/​Core/​HfMlResponseOmegacToOmegaPiQa.h Defines DCAFitter and KFParticle ML features.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread PWGHF/D2H/Tasks/taskOmegac0ToOmegaPiQa.cxx

if constexpr (svReco == doKfParticle) {
inputFeaturesOmegaC = hfMlResponseKf.getInputFeatures(candidate, trackPiFromLam, trackKaFromCasc, trackPiFromCharm);
isSelectedMlOmegac = hfMlResponseKf.isSelectedMl(inputFeaturesOmegaC, ptCandOmegac, outputMlOmegac);
Comment thread PWGHF/TableProducer/candidateSelectorOmegac0ToOmegaPiQa.cxx
Comment thread PWGHF/TableProducer/treeCreatorOmegac0ToOmegaPiQa.cxx
registry.fill(HIST("hSelStatusLf"), 14.0);

// Chi2
if (candidate.chi2GeoV0() < 0 || candidate.chi2GeoV0() > kfConfigurableGroup.v0Chi2OverNdfMax) {

// pT: Charm Bachelor
double ptPiFromCharmBaryon = RecoDecay::sqrtSumOfSquares(candidate.pxBachFromCharmBaryon(), candidate.pyBachFromCharmBaryon());
if (ptPiFromCharmBaryon < ptPiFromCharmBaryonMin) {
// or submit itself to any jurisdiction.

/// \file HfMlResponseOmegacToOmegaPiQa.h
/// \brief Class to compute the ML response for Ωc± → Ω∓ π± analysis selections
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.

2 participants