Skip to content

[PWGEM] add new deduplication modes + MC information - #17407

Merged
mhemmer-cern merged 3 commits into
AliceO2Group:masterfrom
Steffimro:master
Aug 11, 2026
Merged

[PWGEM] add new deduplication modes + MC information#17407
mhemmer-cern merged 3 commits into
AliceO2Group:masterfrom
Steffimro:master

Conversation

@Steffimro

Copy link
Copy Markdown
Contributor

Two new deduplication modes added:

Deduplaction Mode 2: Instead of ranking V0 candidates by score and accepting them one by one, as the greedy mode does, the whole group of candidates connected through shared tracks is decided at once, keeping the maximum number of V0s that do not share a track. Among equally large solutions the one with the smallest sum of scores wins, so the score still decides, but only between solutions of the same size.

Dedpulication Mode 3: Keeps all V0s. No deduplication - more for cross-checks.

For better diagnostics of the deduplication procedure truth categories where added. processMC now classifies every candidate from the MC mothers of its two legs: true (both legs from the same photon), cross-leg fake (legs from two different photons), other fake (at least one leg is not a conversion leg) — and records which surviving candidate took a leg from a rejected one. A true photon counts as lost when all of its true candidates were rejected, and those blockers give the reason.

@github-actions github-actions Bot added pwgem photon Photon and neutral meson PAG label labels Aug 11, 2026
@github-actions github-actions Bot changed the title add new deduplication modes + MC information [PWGEM] add new deduplication modes + MC information Aug 11, 2026
@github-actions

github-actions Bot commented Aug 11, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 31 errors, ⚠️ 79 warnings, 🔕 16 disabled

@Steffimro
Steffimro marked this pull request as ready for review August 11, 2026 12:12
Comment thread PWGEM/PhotonMeson/Utils/PCMUtilities.h Outdated
Comment thread PWGEM/PhotonMeson/Utils/PCMUtilities.h Outdated
Comment thread PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.cxx Outdated
@alibuild

This comment was marked as outdated.

@mhemmer-cern
mhemmer-cern merged commit 0feb6d3 into AliceO2Group:master Aug 11, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

photon Photon and neutral meson PAG label pwgem

Development

Successfully merging this pull request may close these issues.

3 participants