Repository navigation
[PWGHF] Add the D* - V0 Monte Carlo process to the charm-hadron femto task - #18830
Merged
Merged
Conversation
… 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.
Alascraker
requested review from
NicoleBastid,
alibuild,
apalasciano,
deepathoms,
fcatalan92,
fcolamar,
fgrosa,
gluparel,
hahassan7,
jpxrk,
mfaggin,
mmazzilli,
singhra1994,
stefanopolitano,
vkucera,
xinyepeng and
zhangbiao-phy
as code owners
November 20, 2026 13:18
|
O2 linter results: ❌ 0 errors, |
zhangbiao-phy
approved these changes
Nov 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
processMcDstarV0, mirroring the existingprocessMcDplusV0and the data-levelprocessDataDstarV0:FilteredMcCollisions,FDMcV0Particles)partitionMcCharmHadronDstar, already present)fillTables<true, DstarToD0Pi>,doSameEvent<true, ...>,runMixing<true, ...>)PROCESS_SWITCHisfalseby default, so existing workflows are unaffectedAll the required infrastructure (MC partitions for Lambda and K0S,
FilteredCharmMcCandDstars, theDstarToD0Pibranches insidefillTables/doSameEvent/runMixing) was already in place, so the change is limited to the new process function and its switch.Verification
-fsyntax-only, no diagnostics)clang-formatclean (only the new lines are added, 37 lines, no other changes)Notes
processMcDstarV0 = 1together with the existingcharmHadMcSel/charmHadPDGCode = 413and the Delta M window for the D* -> D0 pi channel