Skip to content

[PWGLF] Bug Fix in h-Strangeness analysis - #17243

Merged
lhusova merged 3 commits into
AliceO2Group:masterfrom
kcui1:FixBug
Jul 29, 2026
Merged

[PWGLF] Bug Fix in h-Strangeness analysis#17243
lhusova merged 3 commits into
AliceO2Group:masterfrom
kcui1:FixBug

Conversation

@kcui1

@kcui1 kcui1 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

1, fix bit set bug in filter
2, move h-dau hist to right directory
3, move invariant mass hist to right directory and fix the filling bug

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title Bug Fix in h-Strangeness analysis [PWGLF] Bug Fix in h-Strangeness analysis Jul 29, 2026
@lhusova
lhusova enabled auto-merge (squash) July 29, 2026 08:43
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for afa72aa at 2026-07-29 11:11:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 27 errors and 0 warnings.'
Found 27 errors and 0 warnings.
++ [[ 27 -gt 0 ]]
++ cat /sw/BUILD/8aa7a0d19fa268e58a0d9536c3e8d564b7570236/O2Physics-code-check/errors.txt
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:62:8: error: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:268:5: error: no header providing "uint16_t" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:370:9: error: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:430:11: error: no header providing "TESTBIT" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:676:9: error: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:705:9: error: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:734:9: error: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:762:9: error: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty,-warnings-as-errors]
PWGLF/TableProducer/Strangeness/hStrangeCorrelationFilter.cxx:823:11: error: no header providing "SETBIT" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:89:8: error: constructor does not initialize these fields: ccdb, pdgDB [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:789:5: error: Variable 'r' with floating point type 'double' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2269:9: error: the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2428:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2525:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2673:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2825:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2904:11: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:2961:13: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3020:13: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3070:11: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3173:13: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3203:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3379:13: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3386:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3645:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Tasks/Strangeness/hStrangeCorrelation.cxx:3675:9: error: the 'empty' method should be used to check for emptiness instead of 'size' [readability-container-size-empty,-warnings-as-errors]
PWGLF/Utils/inelGt.h:117:11: error: using integer absolute value function 'abs' when argument is of floating point type [clang-diagnostic-absolute-value,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 27 -gt 0 ]]
++ exit 1
--

Full log here.

@lhusova
lhusova merged commit 8049196 into AliceO2Group:master Jul 29, 2026
13 of 15 checks passed
@kcui1
kcui1 deleted the FixBug branch August 14, 2026 12:20
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