Skip to content

[PWGLF] Adds charge-dependent selections#17097

Open
omvazque wants to merge 1 commit into
AliceO2Group:masterfrom
omvazque:master
Open

[PWGLF] Adds charge-dependent selections#17097
omvazque wants to merge 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 16, 2026
@github-actions github-actions Bot changed the title Adds charge-dependent selections [PWGLF] Adds charge-dependent selections Jul 16, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

alibuild commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for b6f4f44 at 2026-07-16 22:49:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 59 errors and 140 warnings.'
Found 59 errors and 140 warnings.
++ [[ 59 -gt 0 ]]
++ cat /sw/BUILD/a3bcce939d2be02718784b675917b551aa8a08df/O2Physics-code-check/errors.txt
PWGLF/Tasks/Nuspex/piKpRAA.cxx:84: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:85: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:86: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:87: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:88: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:89: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:90: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:91: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:92: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:93: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:94: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:95: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:96: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:97: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:98: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:99: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:104:8: error: no header providing "std::stringstream" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:113:8: error: constructor does not initialize these fields: ccdb, pdg [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:135:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:136: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:953:14: error: variable 'alpha' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:953:21: error: variable 'qT' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1130:17: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1256:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1632:44: error: narrowing conversion from 'double' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1713:44: error: narrowing conversion from 'double' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1917:193: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1931:64: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1932:82: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1947:99: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1951:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1957:142: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1961:232: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1963:258: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1985:64: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:1986:82: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2000:115: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2004:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2010:145: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2014:235: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2016:261: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Nuspex/piKpRAA.cxx:2038:64: error: redundant boolean literal in ternary expression result [readability-simplify-boolean-expr,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

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