Skip to content

[PWGLF] Fixed the bug in storing track PID information. - #18763

Merged
romainschotter merged 6 commits into
AliceO2Group:masterfrom
15071832337:master
Nov 16, 2026
Merged

romainschotter merged 6 commits into
AliceO2Group:masterfrom
15071832337:master

Conversation

@15071832337

Copy link
Copy Markdown
Contributor

Dear Experts,

The recent code is mainly used to calculate the Lambda spin correlation. I have two .cxx files and one header file to complete my analysis. These codes have been updated.

DataModel: LFSpincorrelationTables.h: no change

TableProducer: in lambdaspincorrelation.cxx Fixed the bug in storing track PID information.

Tasks: lambdaspincorrderived.cxx : Add additional Lambda and track selection

I am preparing to further run the analysis on Hyperloop and hope that the experts can approve my pull request.

Best wishes,
Youpeng Su
Nov 16, 2026

@github-actions github-actions Bot added the pwglf label Nov 16, 2026
@github-actions github-actions Bot changed the title Fixed the bug in storing track PID information. [PWGLF] Fixed the bug in storing track PID information. Nov 16, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 6f86788 at 2026-11-16 08:45:

## 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 70 errors and 343 warnings.'
Found 70 errors and 343 warnings.
++ [[ 70 -gt 0 ]]
++ cat /sw/BUILD/64bb9e98c5682de27da4a43047aeb9bcf778f357/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:531:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:606:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:608:49: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1038:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1038:67: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1863:25: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2079:13: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2246:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2271:47: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2460:64: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2460:88: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2476:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2476:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2565:62: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2565:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2580:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2580:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2678:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2679:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2953:27: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2954:23: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3049:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3104:40: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3109:29: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3109:42: error: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3187:33: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3225:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3225:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3225:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3233:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3233:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3233:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3376:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3376:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3426:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3426:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 11cbc71 at 2026-11-16 08:51:

## 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 70 errors and 343 warnings.'
Found 70 errors and 343 warnings.
++ [[ 70 -gt 0 ]]
++ cat /sw/BUILD/b4faec7dcdd396f28f6685b359dd31bec3b6f639/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:531:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:606:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:608:49: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1036:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1036:67: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1861:25: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2077:13: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2244:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2269:47: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2458:64: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2458:88: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2474:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2474:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2563:62: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2563:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2578:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2578:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2676:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2677:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2951:27: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2952:23: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3047:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3102:40: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3107:29: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3107:42: error: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3185:33: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3372:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3372:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3422:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3422:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 73aa975 at 2026-11-16 08:57:

## 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 70 errors and 343 warnings.'
Found 70 errors and 343 warnings.
++ [[ 70 -gt 0 ]]
++ cat /sw/BUILD/e3127626ecebbbef970f46fc1e84faa5c4291294/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:531:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:606:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:608:49: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1036:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1036:67: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1861:25: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2077:13: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2244:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2269:47: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2458:64: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2458:88: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2474:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2474:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2563:62: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2563:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2578:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2578:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2676:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2677:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2951:27: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2952:23: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3047:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3102:40: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3107:29: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3107:42: error: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3185:33: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3372:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3372:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3422:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3422:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for d140a90 at 2026-11-16 09:00:

## 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 70 errors and 343 warnings.'
Found 70 errors and 343 warnings.
++ [[ 70 -gt 0 ]]
++ cat /sw/BUILD/b71454f83f00d52103c06d232e41ea987691d382/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:531:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:606:17: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:608:49: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1036:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1036:67: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:1861:25: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2077:13: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2244:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2269:47: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2458:64: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2458:88: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2474:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2474:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2563:62: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2563:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2578:60: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2578:86: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2676:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2677:44: error: C-style casts are discouraged; use static_cast/const_cast/reinterpret_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2951:27: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:2952:23: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3047:11: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3102:40: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3107:29: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3107:42: error: C-style casts are discouraged; use static_cast (if needed, the cast may be redundant) [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3185:33: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3223:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:39: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:80: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3231:133: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3372:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3372:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3422:52: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdaspincorrderived.cxx:3422:73: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@romainschotter
romainschotter merged commit 4f9e921 into AliceO2Group:master Nov 16, 2026
11 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