Skip to content

[PWGCF,PWGHF] Split kaon DCA secondary templates into HF and LF - #18481

Open
FDUEnrich wants to merge 2 commits into
AliceO2Group:masterfrom
FDUEnrich:master
Open

FDUEnrich wants to merge 2 commits into
AliceO2Group:masterfrom
FDUEnrich:master

Conversation

@FDUEnrich

@FDUEnrich FDUEnrich commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Separate kaon MC DCAxy templates into HF and LF using RecoDecay::getParticleOrigin. Include Omega contributions in LF; leave other particle classifications unchanged.

FDUEnrich and others added 2 commits October 27, 2026 16:26
Follow RecoDecay::getParticleOrigin with its default arguments and classify nonzero origins as HF, as suggested by Fabrizio. Remove the custom PDG and ancestry helpers without changing the remaining origin routing.

Co-authored-by: Fabrizio Grosa <fabrizio.grosa@cern.ch>
@github-actions

Copy link
Copy Markdown

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

@FDUEnrich
FDUEnrich requested a review from jaelpark as a code owner October 27, 2026 18:23
@xinyepeng
xinyepeng enabled auto-merge (squash) October 28, 2026 00:46

/// Classify true kaons from the correct collision for the DCA templates.
template <typename T>
inline int getKaonOrigin(T const& particles, typename T::iterator const& particle)

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.

This function is used only y HF. Would it be possible to move this template to the HF charm producer instead of implementing it here?

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.

3 participants