Skip to content

[PWGLF] added event selection options#17036

Merged
maciacco merged 1 commit into
AliceO2Group:masterfrom
GiorgioAlbertoLucia:nuclei_utils_new
Jul 13, 2026
Merged

[PWGLF] added event selection options#17036
maciacco merged 1 commit into
AliceO2Group:masterfrom
GiorgioAlbertoLucia:nuclei_utils_new

Conversation

@GiorgioAlbertoLucia

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the pwglf label Jul 13, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for c3682d2 at 2026-07-13 10:46:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 102 errors and 51 warnings.'
Found 102 errors and 51 warnings.
++ [[ 102 -gt 0 ]]
++ cat /sw/BUILD/e4d7fe4b99f248165ce3177778a83619fc291ca0/O2Physics-code-check/errors.txt
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:149:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:153:39: error: 'kItsParNames' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:155:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:156:39: error: 'kBetheBlochParNames' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:158:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:159:39: error: 'kBetheBlochCorrectionParNames' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:161:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:165:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:169:39: error: 'kDCAResParNames' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:171:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:172:11: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:178:3: error: function 'recoPtHe3' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:179:3: error: function 'recoPhiHe3' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:180:3: error: function 'recoEtaHe3' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:181:3: error: function 'recoPtHad' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:182:3: error: function 'recoPhiHad' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:183:3: error: function 'recoEtaHad' should be marked [[nodiscard]] [modernize-use-nodiscard,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:249:8: error: constructor does not initialize these fields: mHe3HadronParams, mRunNumber, mDbz, mCcdb [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:285:85: 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/TableProducer/Nuspex/he3HadronFemto.cxx:314:90: 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/TableProducer/Nuspex/he3HadronFemto.cxx:315:110: 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/TableProducer/Nuspex/he3HadronFemto.cxx:316:76: 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/TableProducer/Nuspex/he3HadronFemto.cxx:317:86: 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/TableProducer/Nuspex/he3HadronFemto.cxx:318:84: 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/TableProducer/Nuspex/he3HadronFemto.cxx:319:90: 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/TableProducer/Nuspex/he3HadronFemto.cxx:320:88: 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/TableProducer/Nuspex/he3HadronFemto.cxx:497:5: error: use auto when initializing with a template cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:498:43: error: use nullptr [modernize-use-nullptr,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:557:59: error: conditional operator with identical true and false expressions [bugprone-branch-clone,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:567:14: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:596:5: error: uninitialized record type: 'parameters' [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:617:14: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:668:7: error: do not use 'else' after 'return' [readability-else-after-return,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:817:7: error: uninitialized record type: 'dcaInfo' [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:1165:11: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:1246:20: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:1246:71: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:1253:20: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/he3HadronFemto.cxx:1253:79: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/nucleiFlowTree.cxx:75:8: error: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Nuspex/nucleiFlowTree.cxx:113:77: 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/TableProducer/Nuspex/nucleiFlowTree.cxx:115:100: 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]
[0 more errors; see full log]

Full log here.

@maciacco maciacco merged commit c6481a1 into AliceO2Group:master Jul 13, 2026
11 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