Skip to content

[PWGCF] Handle the case with more than 3 axis - #18564

Merged
jgrosseo merged 1 commit into
AliceO2Group:masterfrom
ktf:pr18564
Nov 3, 2026
Merged

jgrosseo merged 1 commit into
AliceO2Group:masterfrom
ktf:pr18564

Conversation

@ktf

@ktf ktf commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

No description provided.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title Handle the case with more than 3 axis [PWGCF] Handle the case with more than 3 axis Nov 3, 2026
@alibuild

alibuild commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for b46c107 at 2026-11-03 11:12:

## 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 1 errors and 47 warnings.'
Found 1 errors and 47 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/c690a528ebfe5e0b1db38c2c2599c55d6fd722dc/O2Physics-code-check/errors.txt
PWGCF/Core/CorrelationContainer.cxx:629:9: error: Value stored to 'mixedNormError' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
++ [[ 47 -gt 0 ]]
++ cat /sw/BUILD/c690a528ebfe5e0b1db38c2c2599c55d6fd722dc/O2Physics-code-check/warnings.txt
PWGCF/Core/CorrelationContainer.cxx:54:48: warning: initializer for base class 'TNamed' is redundant [readability-redundant-member-init]
PWGCF/Core/CorrelationContainer.cxx:69:64: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Core/CorrelationContainer.cxx:96:116: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Core/CorrelationContainer.cxx:142:1: warning: constructor does not initialize these fields: mEventCount [cppcoreguidelines-pro-type-member-init]
PWGCF/Core/CorrelationContainer.cxx:156:93: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Core/CorrelationContainer.cxx:265:3: warning: use auto when initializing with new to avoid duplicating the type name [modernize-use-auto]
PWGCF/Core/CorrelationContainer.cxx:274:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGCF/Core/CorrelationContainer.cxx:340:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:341:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:368:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:375:10: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Core/CorrelationContainer.cxx:376:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:432:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:433:51: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:698:9: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:699:9: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:743:24: warning: narrowing conversion from 'Double_t' (aka 'double') to 'int64_t' (aka 'long') [bugprone-narrowing-conversions]
PWGCF/Core/CorrelationContainer.cxx:756:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:757:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:837:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:838:72: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:839:71: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:918:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:919:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:963:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:970:10: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Core/CorrelationContainer.cxx:1059:7: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:1063:70: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:1077:71: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:1464:17: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:1465:17: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGCF/Core/CorrelationContainer.cxx:1467:54: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGCF/Core/CorrelationContainer.cxx:1468:52: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
[0 more errors; see full log]

Full log here.

@jgrosseo
jgrosseo merged commit 8eda4f5 into AliceO2Group:master Nov 3, 2026
13 of 14 checks passed
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.

3 participants