Skip to content

[PWGEM] PhotonMeson: Add faster V0 deduplication mode - #17336

Merged
mhemmer-cern merged 1 commit into
AliceO2Group:masterfrom
jokonig:master
Aug 5, 2026
Merged

[PWGEM] PhotonMeson: Add faster V0 deduplication mode#17336
mhemmer-cern merged 1 commit into
AliceO2Group:masterfrom
jokonig:master

Conversation

@jokonig

@jokonig jokonig commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator
  • current deduplication relies on nested for-loop of a map with 30000 elements. This makes computation slow
  • New mode ranks all V0 candidates with a score, based on their cosPA and PCA
  • V0s are accepted starting from V0s with the best score. A new V0 is only added if its daughter tracks have not yet been included in another V0 that has been accepted already

@github-actions github-actions Bot added pwgem photon Photon and neutral meson PAG label labels Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 40 errors, ⚠️ 79 warnings, 🔕 3 disabled

@jokonig
jokonig marked this pull request as draft August 5, 2026 11:33
@alibuild

This comment was marked as outdated.

@alibuild

This comment was marked as outdated.

@alibuild

This comment was marked as outdated.

@jokonig
jokonig marked this pull request as ready for review August 5, 2026 11:41
@jokonig
jokonig marked this pull request as draft August 5, 2026 11:41
@jokonig
jokonig marked this pull request as ready for review August 5, 2026 11:48

@mhemmer-cern mhemmer-cern left a comment

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.

I think we can speed this up further plus reducing memory foot print by using std::vector instead of std::unordered_set

Comment thread PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.cxx Outdated
Comment thread PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.cxx
Comment thread PWGEM/PhotonMeson/TableProducer/photonconversionbuilder.cxx Outdated
- current deduplication relies on nested for-loop of a map with 30000 elements. This makes computation slow
- New mode ranks all V0 candidates with a score, based on their cosPA and PCA
- V0s are accepted starting from V0s with the best score. A new V0 is only added if its daughter tracks have not yet been included in another V0 that has been accepted already

@mhemmer-cern mhemmer-cern left a comment

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.

Looks good to me

@mhemmer-cern
mhemmer-cern enabled auto-merge (squash) August 5, 2026 13:31
@mhemmer-cern
mhemmer-cern merged commit 84af8ca into AliceO2Group:master Aug 5, 2026
16 of 17 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