Skip to content

[PWGLF] Replace remaining THnSparse by CompactTHnSparse in strangenessderivedbinnedinfo.cxx - #18993

Merged
romainschotter merged 5 commits into
AliceO2Group:masterfrom
romainschotter:compactthnsparse
Nov 30, 2026
Merged

romainschotter merged 5 commits into
AliceO2Group:masterfrom
romainschotter:compactthnsparse

Conversation

@romainschotter

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot added the pwglf label Nov 30, 2026
@github-actions github-actions Bot changed the title Replace remaining THnSparse by CompactTHnSparse in strangenessderivedbinnedinfo.cxx [PWGLF] Replace remaining THnSparse by CompactTHnSparse in strangenessderivedbinnedinfo.cxx Nov 30, 2026
@github-actions

Copy link
Copy Markdown

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

@romainschotter
romainschotter marked this pull request as ready for review November 30, 2026 12:21
@romainschotter
romainschotter enabled auto-merge (squash) November 30, 2026 12:21

@alibuild alibuild 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.

Auto-approving on behalf of @romainschotter.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 0a8cc67 at 2026-11-30 13:29:

## 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 3 errors and 107 warnings.'
Found 3 errors and 107 warnings.
++ [[ 3 -gt 0 ]]
++ cat /sw/BUILD/68a74ee8a7dd04298862e88e4eda17bf1183f609/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:56:1: error: included header THnSparse.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:61:1: error: included header map is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:315:16: error: no header providing "CompactTHnSparse" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 107 -gt 0 ]]
++ cat /sw/BUILD/68a74ee8a7dd04298862e88e4eda17bf1183f609/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:79:8: warning: constructor does not initialize these fields: ccdb, pdgDB [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:125:20: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:133:87: 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]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:239:20: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:240:65: 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]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:269:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:275:9: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:275:26: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:275:42: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:275:62: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:275:74: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:356:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:362:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:368:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:374:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:380:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:386:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:392:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:398:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:404:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:410:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:416:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:422:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:428:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:434:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:440:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:446:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:453:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:459:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:467:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/strangenessderivedbinnedinfo.cxx:473:21: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@romainschotter
romainschotter merged commit 038431d into AliceO2Group:master Nov 30, 2026
14 of 15 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.

2 participants