Skip to content

[PWGDQ] optimized the computation of match attempts in QA task#16770

Open
aferrero2707 wants to merge 1 commit into
AliceO2Group:masterfrom
aferrero2707:PWGDQ-matching-qa-optimize-match-attempts-calculation
Open

[PWGDQ] optimized the computation of match attempts in QA task#16770
aferrero2707 wants to merge 1 commit into
AliceO2Group:masterfrom
aferrero2707:PWGDQ-matching-qa-optimize-match-attempts-calculation

Conversation

@aferrero2707

Copy link
Copy Markdown
Contributor

The computation of the number of match attempts for each MCH track is rather heavy and the code was calling the corresponding function multiple times.
The number of attempts is now computed only once and stored internally.

This gives a nice 3x speedup in the processing time for a typical 2024 Pb-Pb AO2D.

@github-actions

github-actions Bot commented Jun 23, 2026

Copy link
Copy Markdown

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

Comment thread PWGDQ/Tasks/qaMatching.cxx Outdated
@aferrero2707 aferrero2707 force-pushed the PWGDQ-matching-qa-optimize-match-attempts-calculation branch 2 times, most recently from ab24e59 to 8f1fffd Compare June 23, 2026 12:46
The computation of the number of match attempts for each MCH track is
rather heavy and the code was calling the corresponding function multiple
times.
The number of attempts is now computed only once and stored internally.
@aferrero2707 aferrero2707 force-pushed the PWGDQ-matching-qa-optimize-match-attempts-calculation branch from 8f1fffd to ed0711b Compare June 23, 2026 13:59
@aferrero2707 aferrero2707 marked this pull request as ready for review June 23, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants