Skip to content

[PWGLF] Fix MC process function for L1405 - #18446

Open
Marcellocosti wants to merge 4 commits into
AliceO2Group:masterfrom
Marcellocosti:l1405
Open

Marcellocosti wants to merge 4 commits into
AliceO2Group:masterfrom
Marcellocosti:l1405

Conversation

@Marcellocosti

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

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

Please consider the following formatting changes to AliceO2Group#18446
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 64eba02 at 2026-10-23 19:16:

## 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 4 warnings.'
Found 1 errors and 4 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/6a3014f306274e68f7196addd860f6a67cabb320/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/lambda1405analysis.cxx:1663:13: error: Value stored to 'sigmaPt' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/6a3014f306274e68f7196addd860f6a67cabb320/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/lambda1405analysis.cxx:84:3: warning: function 'pt' should be marked [[nodiscard]] [modernize-use-nodiscard]
PWGLF/Tasks/Resonances/lambda1405analysis.cxx:123:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Resonances/lambda1405analysis.cxx:542:7: warning: do not use 'else' after 'return' [readability-else-after-return]
PWGLF/Tasks/Resonances/lambda1405analysis.cxx:1296:5: warning: uninitialized record type: 'finalState' [cppcoreguidelines-pro-type-member-init]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

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.

2 participants