Skip to content

[PWGLF] Added processPrior and processRecInJets and organized the code as a function - #18553

Open
JimunLee wants to merge 3 commits into
AliceO2Group:masterfrom
JimunLee:master
Open

JimunLee wants to merge 3 commits into
AliceO2Group:masterfrom
JimunLee:master

Conversation

@JimunLee

@JimunLee JimunLee commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Dear experts,

It's added few function and also organized the code.

Thank you,
Jimun

@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

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

smaff92
smaff92 previously approved these changes Nov 3, 2026
@JimunLee JimunLee changed the title [PWGLF] Changed pT axis binning [PWGLF] Added processPrior and processRecInJets and organized the code as a function Nov 24, 2026
smaff92
smaff92 previously approved these changes Nov 24, 2026
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 46098cf at 2026-11-24 09:21:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 8 errors and 6 warnings.'
Found 8 errors and 6 warnings.
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/17aa4ca0f0d3a53618d86cd4f3ea42c8fc4db487/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/kstarInJets.cxx:19:1: error: included header EventSelectionParams.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:20:1: error: included header Centrality.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:21:1: error: included header EventSelection.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:22:1: error: included header Multiplicity.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:41:1: error: included header TH1.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:43:1: error: included header TString.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:48:1: error: included header cstddef is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarInJets.cxx:50:1: error: included header memory is not used directly [misc-include-cleaner,-warnings-as-errors]
++ [[ 6 -gt 0 ]]
++ cat /sw/BUILD/17aa4ca0f0d3a53618d86cd4f3ea42c8fc4db487/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/kstarInJets.cxx:55:10: warning: inclusion of deprecated C++ header 'stdlib.h'; consider using 'cstdlib' instead [modernize-deprecated-headers]
PWGLF/Tasks/Resonances/kstarInJets.cxx:557:28: warning: redundant boolean literal in conditional assignment [readability-simplify-boolean-expr]
PWGLF/Tasks/Resonances/kstarInJets.cxx:586:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstarInJets.cxx:615:28: warning: redundant boolean literal in conditional assignment [readability-simplify-boolean-expr]
PWGLF/Tasks/Resonances/kstarInJets.cxx:644:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstarInJets.cxx:1208:17: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 8 -gt 0 ]]
++ exit 1
--

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.

3 participants