Skip to content

[PWGLF] Charge-dependent analysis + fixes warnings#17110

Merged
omvazque merged 1 commit into
AliceO2Group:masterfrom
omvazque:master
Jul 17, 2026
Merged

[PWGLF] Charge-dependent analysis + fixes warnings#17110
omvazque merged 1 commit into
AliceO2Group:masterfrom
omvazque:master

Conversation

@omvazque

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot added the pwglf label Jul 17, 2026
@github-actions github-actions Bot changed the title Charge-dependent analysis + fixes warnings [PWGLF] Charge-dependent analysis + fixes warnings Jul 17, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 2a9ec15 at 2026-07-17 17:04:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 54 errors and 1 warnings.'
Found 54 errors and 1 warnings.
++ [[ 54 -gt 0 ]]
++ cat /sw/BUILD/398b2aaf5a07af5fdfb53050e47f0b837cbdb497/O2Physics-code-check/errors.txt
PWGLF/Tasks/Nuspex/piKpRAA.cxx:85:46: error: variable 'dEdxPiTOF' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:86:46: error: variable 'dEdxPiTOF2' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:87:46: error: variable 'dEdxPiV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:88:46: error: variable 'dEdxPrV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:89:46: error: variable 'dEdxElV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:90:46: error: variable 'dEdx' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:91:46: error: variable 'pTVsP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:92:46: error: variable 'nClVsP' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:93:46: error: variable 'nClVsPElV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:94:46: error: variable 'nClVsPPiV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:95:46: error: variable 'nClVsPPrV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:96:51: error: variable 'nClVsPp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:97:51: error: variable 'nClVsPpElV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:98:51: error: variable 'nClVsPpPiV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:99:51: error: variable 'nClVsPpPrV0' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:100:46: error: variable 'etaTest' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:114:8: error: constructor does not initialize these fields: pdg [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:136:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:137:65: error: 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,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1164:17: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1296:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2013:193: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2027:64: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2028:82: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2043:99: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2047:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2054:142: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2058:232: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2061:258: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2084:64: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2085:82: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2099:115: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2103:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2110:145: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2114:235: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2117:261: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2140:64: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2141:82: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2155:115: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2159:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2166:145: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2170:235: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@omvazque
omvazque enabled auto-merge (squash) July 17, 2026 17:50

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

@omvazque
omvazque merged commit 57cb156 into AliceO2Group:master Jul 17, 2026
13 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