Skip to content

[Common,Tutorial,PWGDQ,PWGEM,PWGJE,PWGUD] DPl Analysis: avoid including ASoA.h in dictionary generation#16823

Draft
aalkin wants to merge 1 commit into
AliceO2Group:masterfrom
aalkin:no-asoa-in-rdict
Draft

[Common,Tutorial,PWGDQ,PWGEM,PWGJE,PWGUD] DPl Analysis: avoid including ASoA.h in dictionary generation#16823
aalkin wants to merge 1 commit into
AliceO2Group:masterfrom
aalkin:no-asoa-in-rdict

Conversation

@aalkin

@aalkin aalkin commented Jun 25, 2026

Copy link
Copy Markdown
Member

Various PWGs create ROOT dictionaries for some of their classes, which, unfortunately, through their inclusion chains pull ASoA.h and expose it to rootcling. ROOT's internal llvm is outdated and thus each time we need to update ASoA.h with new code, we have to employ workarounds in oder to keep O2Physics functional. This is highly inconvenient, and thus there will be an update in O2 that will explicitly forbid exposing ASoA.h to rootcling - the compilation will fail with an error. This PR removes all the instances of ASoA.h inclusion in dictionaries, that have been exposed by the upcoming O2 change.

This is a suggested change, the final fix may be different. Preferably, the dictionaries that are not required should be simply removed from CMakeLists.txt. From the codeowners, we request reviewing these changes, suggesting improvements, if needed, and validating that the updated code does not affect the analysis.

requires AliceO2Group/AliceO2#15557

Various PWG create ROOT dictionaries for some of their classes, that,
unfortunately, through their inclusion chains pull ASoA.h and expose it
to rootcling.
ROOT's internal llvm is outdated and thus each time we need to update
ASoA.h with new code, we have to employ workarounds in oder to keep
O2Physics functional.
This is highly inconvenient, and thus there will be an update in O2 that
will explicitly forbid exposing ASoA.h to cling - the compilation will
fail with an error.
This PR removes all the instances of ASoA.h inclusion in dictionaries,
that have been exposed by the upcoming O2 change.

This is a suggested change, the final fix may be different. Preferrably,
the dictionaries that are not required should be simply removed from
CMakeLists.txt. From the codeowners, we request reviewing these changes,
suggesting different changes, if needed, and validating that the updated
code does not affect the analysis.
@github-actions github-actions Bot changed the title DPl Analysis: avoid including ASoA.h in dictionary generation [Common,Tutorial,PWGDQ,PWGEM,PWGJE,PWGUD] DPl Analysis: avoid including ASoA.h in dictionary generation Jun 25, 2026
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.

1 participant