Skip to content

[PWGHF] candidateCreatorXicToXiPiPi, candidateSelectorXicToXiPiPi: fixed bug caused by missing condition - #18657

Merged
fcatalan92 merged 3 commits into
AliceO2Group:masterfrom
hero-seo:histo-fix
Nov 9, 2026
Merged

fcatalan92 merged 3 commits into
AliceO2Group:masterfrom
hero-seo:histo-fix

Conversation

@hero-seo

@hero-seo hero-seo commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

This PR fixes a bug in the candidateCreatorXicToXiPiPi, candidateSelectorXicToXiPiPi caused by a missing fillMc(QA)Histograms condition.

The histogram was created only when fillMc(QA)Histograms was true, but it was filled unconditionally, causing the task to crash when fillMc(QA)Histograms was set to false.

To fix this issue, I've added the condition to prevent the crash

Thanks to @lubynets for pointing this out.

@github-actions github-actions Bot added the pwghf PWG-HF label Nov 9, 2026
@github-actions github-actions Bot changed the title fixed bug caused by missing condition [PWGHF] fixed bug caused by missing condition Nov 9, 2026
@vkucera

vkucera commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

@hero-seo the PR title does not specify the location. Please follow the contribution guidelines and add the file name in the PR title. See https://aliceo2group.github.io/analysis-framework/docs/gettingstarted/contributingtocode.html#pull-requests

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

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

@hero-seo hero-seo changed the title [PWGHF] fixed bug caused by missing condition [PWGHF] candidateCreatorXicToXiPiPi, candidateSelectorXicToXiPiPi: fixed bug caused by missing condition Nov 9, 2026
@hero-seo

hero-seo commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

@hero-seo the PR title does not specify the location. Please follow the contribution guidelines and add the file name in the PR title. See https://aliceo2group.github.io/analysis-framework/docs/gettingstarted/contributingtocode.html#pull-requests

Hi @vkucera, I've added the file name in the PR title. I'll be more careful next time.

@fcatalan92
fcatalan92 merged commit df135d6 into AliceO2Group:master Nov 9, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

3 participants