[Common,Tutorial,PWGDQ,PWGEM,PWGJE,PWGUD] DPl Analysis: avoid including ASoA.h in dictionary generation#16823
[Common,Tutorial,PWGDQ,PWGEM,PWGJE,PWGUD] DPl Analysis: avoid including ASoA.h in dictionary generation#16823aalkin wants to merge 5 commits into
Conversation
|
O2 linter results: ❌ 203 errors, |
|
@aalkin very nice! It looks like you forgot to add one file, though? Maybe we should split this by PWG so that the approval is faster? |
|
@ktf most of those are dependent on code from one another, unfortunately. |
|
Error while checking build/O2Physics/staging for 8579b48 at 2026-06-26 11:26: Full log here. |
|
Error while checking build/O2Physics/o2 for 8579b48 at 2026-06-26 11:27: Full log here. |
|
Error while checking build/O2Physics/staging for 9d8f0ad at 2026-06-26 11:40: Full log here. |
|
Error while checking build/O2Physics/o2 for 9d8f0ad at 2026-06-26 11:59: Full log here. |
|
Perfect, thanks. |
|
Error while checking build/O2Physics/o2 for be03d3a at 2026-06-29 09:28: Full log here. |
|
Error while checking build/O2Physics/o2 for faffeb9 at 2026-06-29 09:59: Full log here. |
|
Error while checking build/O2Physics/staging for faffeb9 at 2026-06-29 10:55: Full log here. |
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