Skip to content

[PWGLF] added x and y components separately for scalar product check of lambda polarisation - #17886

Merged
prottayCMT merged 1 commit into
AliceO2Group:masterfrom
prottayCMT:master
Sep 11, 2026
Merged

[PWGLF] added x and y components separately for scalar product check of lambda polarisation#17886
prottayCMT merged 1 commit into
AliceO2Group:masterfrom
prottayCMT:master

Conversation

@prottayCMT

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the pwglf label Sep 11, 2026
@github-actions github-actions Bot changed the title added x and y components separately for scalar product check of lambda polarisation [PWGLF] added x and y components separately for scalar product check of lambda polarisation Sep 11, 2026
@prottayCMT
prottayCMT enabled auto-merge (squash) September 11, 2026 18:19
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for c169ddb at 2026-09-11 20:33:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 2 errors and 54 warnings.'
Found 2 errors and 54 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/ff89fda434bafaad0eb8d3d88deed895573d2962/O2Physics-code-check/errors.txt
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1788:13: error: Value stored to 'tagb' during its initialization is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:2157:11: error: Value stored to 'tagb' during its initialization is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
++ [[ 54 -gt 0 ]]
++ cat /sw/BUILD/ff89fda434bafaad0eb8d3d88deed895573d2962/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:70:8: warning: constructor does not initialize these fields: mRunNumber, ccdb, pdg, hwgtAL, heffL, heffAL, hwgtRESO, modqxZDCA, modqyZDCA, modqxZDCC, modqyZDCC, accprofileL, accprofileAL [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:329:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:646:20: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:669:9: warning: uninitialized record type: 'cuts' [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:749:14: warning: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1096:33: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1424:24: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1426:29: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1428:29: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1430:29: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1566:25: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1589:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1596:45: 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/lambdapolsp.cxx:1760:14: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1760:28: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1760:39: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1767:13: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1773:13: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1780:26: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1780:37: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1784:40: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1795:13: warning: variable 'binxwgt' is not initialized [cppcoreguidelines-init-variables]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1796:16: warning: variable 'wgtvalue' is not initialized [cppcoreguidelines-init-variables]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1807:13: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1837:26: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1837:32: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1841:13: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1871:26: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1871:32: warning: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1888:24: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1890:29: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1892:29: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:1894:29: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:2034:39: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:2036:41: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:2055:33: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:2117:39: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Strangeness/lambdapolsp.cxx:2156:18: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
[0 more errors; see full log]

Full log here.

@prottayCMT
prottayCMT merged commit 5e60851 into AliceO2Group:master Sep 11, 2026
12 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.

3 participants