Skip to content

[PWGHF] Add the D* - V0 Monte Carlo process to the charm-hadron femto task - #18830

Merged
zhangbiao-phy merged 1 commit into
AliceO2Group:masterfrom
Alascraker:mc-dstar-v0
Nov 20, 2026
Merged

zhangbiao-phy merged 1 commit into
AliceO2Group:masterfrom
Alascraker:mc-dstar-v0

Conversation

@Alascraker

Copy link
Copy Markdown
Contributor

The charm-hadron - V0 femtoscopy task (PWGHF/HFC/Tasks/taskCharmHadronsV0FemtoDream.cxx) implements data-level process functions for the Lc, D+, D0 and D* channels, but among them only D+ has a Monte Carlo counterpart (processMcDplusV0).

As a consequence the D* - K0S / D* - Lambda correlation cannot be analysed on MC at reconstruction level, which is needed for efficiency and feed-down studies of that channel.

Change

  • add processMcDstarV0, mirroring the existing processMcDplusV0 and the data-level processDataDstarV0:
    • MC collision/particle tables (FilteredMcCollisions, FDMcV0Particles)
    • MC D* candidate partition (partitionMcCharmHadronDstar, already present)
    • MC versions of the helpers (fillTables<true, DstarToD0Pi>, doSameEvent<true, ...>, runMixing<true, ...>)
  • the new PROCESS_SWITCH is false by default, so existing workflows are unaffected

All the required infrastructure (MC partitions for Lambda and K0S, FilteredCharmMcCandDstars, the DstarToD0Pi branches inside fillTables / doSameEvent / runMixing) was already in place, so the change is limited to the new process function and its switch.

Verification

  • the file compiles with the project compile flags (-fsyntax-only, no diagnostics)
  • clang-format clean (only the new lines are added, 37 lines, no other changes)
  • the logic is a one-to-one mirror of the existing D+ MC process function and of the D* data process function in the same file

Notes

  • the Lc and D0 channels still have no MC process function in the V0 task; this is a pre-existing gap and is intentionally left out of this PR to keep the scope minimal
  • to run the new process the wagon configuration needs processMcDstarV0 = 1 together with the existing charmHadMcSel / charmHadPDGCode = 413 and the Delta M window for the D* -> D0 pi channel

… task

The charm-hadron - V0 femtoscopy task provides data-level process
functions for the Lc, D+, D0 and D* channels, but only the D+ channel has
a Monte Carlo counterpart. As a consequence the D* - K0S / D* - Lambda
correlation cannot be analysed on MC at reconstruction level, which is
needed for the corresponding efficiency and feed-down studies.

Add processMcDstarV0, mirroring the existing processMcDplusV0 and the
data-level processDataDstarV0: it uses the MC collision and particle
tables, the MC D* candidate partition and the MC versions of the
fillTables / doSameEvent / runMixing helpers, all of which were already
in place.

The MC process is disabled by default, so no existing workflow changes
behaviour.
@github-actions

Copy link
Copy Markdown

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

@zhangbiao-phy
zhangbiao-phy merged commit 5bb200b into AliceO2Group:master Nov 20, 2026
14 checks passed
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