Skip to content

[PWGCF,PWGHF] Add track mc origin and DCAxy into the charm+track femto derived table - #18907

Merged
xinyepeng merged 14 commits into
AliceO2Group:masterfrom
zhangbiao-phy:charm-track-mc-origin
Nov 25, 2026
Merged

xinyepeng merged 14 commits into
AliceO2Group:masterfrom
zhangbiao-phy:charm-track-mc-origin

Conversation

@zhangbiao-phy

@zhangbiao-phy zhangbiao-phy commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

This PR adds the track DCAxy and MC origin to the charm–track femtoscopy output tree, enabling offline studies of track PID purity, track-source fractions, and their contributions to the CF.

Tag @fgrosa @Yunfan-Liu @FDUEnrich

zhangbiao-phy and others added 11 commits November 11, 2026 14:09
Extend the existing HFC producer and pairing task with SigmaC(2455) ->
LambdaC pi candidates, both LambdaC mass hypotheses, and data/MC modes.
Process neutral and doubly charged candidates together, preserving charge
in the output tables and using the corresponding mass for each pair.
Reject tracks shared with any of the four decay daughters.

Validate both tasks with syntax checks and synthetic regression tests for
legacy channels, output schemas, MC filters, charge-dependent kinematics,
and active workflow inputs. Real-AO2D and ONNX/CCDB inference were not run.
Use a fixed 0.135 GeV/c2 producer DeltaM lower bound and the common charm mass-window and histogram parameters in the pairing task. Remove the particle-sign selector and duplicate LambdaC mass selection while retaining charge information in the candidate output.

Apply the SigmaC review cleanup for redundant upstream checks and task selections.

Validation: O2 linter and diff checks; syntax checks for both workflows; SigmaC data/MC and legacy Lc, D+, D0, D*, Xic regression checks.
Please consider the following formatting changes to AliceO2Group#18692
Resolve the HFC producer and task conflicts while retaining SigmaC(2455) reconstruction and the upstream D+ / D* generated-particle correlation workflows. Include all 14 process switches and qualify the new Gen output writers through ProducesGroup.

Hoist the Gen mixing histogram name outside the generic lambda for Clang compatibility without changing its contents.
Include cstddef directly for std::size_t, use std::array for event labels, and explicitly pass the first ML cut element to LabeledArray. Reject unsupported mixing policies in the generated-particle workflow with a fatal diagnostic.
@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title Add track mc origin and DCAxy into the charm+track femto derived table [PWGCF,PWGHF] Add track mc origin and DCAxy into the charm+track femto derived table Nov 24, 2026
@xinyepeng
xinyepeng enabled auto-merge (squash) November 25, 2026 08:54
@xinyepeng
xinyepeng merged commit 49c1109 into AliceO2Group:master Nov 25, 2026
17 checks passed
@zhangbiao-phy
zhangbiao-phy deleted the charm-track-mc-origin branch November 25, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants