Skip to content

[Tools,Common,Trigger,DPG,PWGDQ,PWGEM,PWGHF,PWGJE,PWGLF,PWGMM,PWGUD] Fix includes - #19000

Merged
vkucera merged 1 commit into
AliceO2Group:masterfrom
vkucera:includes
Nov 30, 2026
Merged

vkucera merged 1 commit into
AliceO2Group:masterfrom
vkucera:includes

Conversation

@vkucera

@vkucera vkucera commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot changed the title Fix includes [Tools,Common,Trigger,DPG,PWGDQ,PWGEM,PWGHF,PWGJE,PWGLF,PWGMM,PWGUD] Fix includes Nov 30, 2026
@github-actions

Copy link
Copy Markdown

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

@vkucera

vkucera commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

Compiles fine. Merging.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 46bff75 at 2026-11-30 20:06:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 22 errors and 341 warnings.'
Found 22 errors and 341 warnings.
++ [[ 22 -gt 0 ]]
++ cat /sw/BUILD/625396680146d393b8eba4d379d1a610bf77ab49/O2Physics-code-check/errors.txt
Common/Tasks/qaMuon.cxx:560:109: error: string concatenation results in allocation of unnecessary temporary strings; consider using 'operator+=' or 'string::append()' instead [performance-inefficient-string-concatenation,-warnings-as-errors]
Common/Tasks/qaMuon.cxx:569:98: error: string concatenation results in allocation of unnecessary temporary strings; consider using 'operator+=' or 'string::append()' instead [performance-inefficient-string-concatenation,-warnings-as-errors]
Common/Tasks/qaMuon.cxx:586:109: error: string concatenation results in allocation of unnecessary temporary strings; consider using 'operator+=' or 'string::append()' instead [performance-inefficient-string-concatenation,-warnings-as-errors]
Common/Tasks/qaMuon.cxx:592:98: error: string concatenation results in allocation of unnecessary temporary strings; consider using 'operator+=' or 'string::append()' instead [performance-inefficient-string-concatenation,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:124:35: error: comparison of integers of different signs: 'size_type' (aka 'unsigned long') and 'const int' [clang-diagnostic-sign-compare,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:149:26: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:152:18: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:152:31: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:153:27: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:153:40: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:154:31: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:154:44: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:165:35: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:165:47: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:176:18: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:177:18: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:178:18: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:179:18: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:180:18: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:181:15: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:182:26: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
PWGHF/HFC/Macros/FitCorrel.C:183:26: error: variable length arrays in C++ are a Clang extension [clang-diagnostic-vla-cxx-extension,-warnings-as-errors]
++ [[ 341 -gt 0 ]]
++ cat /sw/BUILD/625396680146d393b8eba4d379d1a610bf77ab49/O2Physics-code-check/warnings.txt
Common/Tasks/qaMuon.cxx:80:10: warning: inclusion of deprecated C++ header 'math.h'; consider using 'cmath' instead [modernize-deprecated-headers]
Common/Tasks/qaMuon.cxx:100:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
Common/Tasks/qaMuon.cxx:101:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
Common/Tasks/qaMuon.cxx:107:23: warning: variable 'zRefPlane' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Common/Tasks/qaMuon.cxx:115:45: warning: variable 'referencePlanes' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
Common/Tasks/qaMuon.cxx:181:8: warning: constructor does not initialize these fields: fCurrentRun, mImproveCutChi2, ccdb, Bz [cppcoreguidelines-pro-type-member-init]
Common/Tasks/qaMuon.cxx:1152:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
Common/Tasks/qaMuon.cxx:1169:9: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
Common/Tasks/qaMuon.cxx:1253:9: warning: do not use 'else' after 'break' [readability-else-after-return]
Common/Tasks/qaMuon.cxx:1293:14: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]
Common/Tasks/qaMuon.cxx:1308:48: warning: statement should be inside braces [readability-braces-around-statements]
Common/Tasks/qaMuon.cxx:1327:41: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@amatyja amatyja 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 it is fine with UD.

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.

3 participants