Skip to content

[PWGJE] Add jet drift analysis task - #18966

Draft
seokhwan-npl wants to merge 3 commits into
AliceO2Group:masterfrom
seokhwan-npl:master
Draft

seokhwan-npl wants to merge 3 commits into
AliceO2Group:masterfrom
seokhwan-npl:master

Conversation

@seokhwan-npl

Copy link
Copy Markdown

This is about the jet drift analysis. I updated the code for this part.

@github-actions

Copy link
Copy Markdown

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

@nzardosh
nzardosh enabled auto-merge (squash) December 1, 2026 10:38
@alibuild

alibuild commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 0d6cfed at 2026-12-01 12:18:

## 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 11 warnings.'
Found 8 errors and 11 warnings.
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/4c63d480accfbcc2754e9aa621011ed4cb98d24f/O2Physics-code-check/errors.txt
PWGJE/Tasks/jetDrift.cxx:18:1: error: included header JetReducedData.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:31:1: error: included header TH2.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:34:1: error: included header TString.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:36:1: error: included header algorithm is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:39:1: error: included header iostream is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:49:22: error: unused variable 'nPhiRegions' [clang-diagnostic-unused-const-variable,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:50:26: error: unused variable 'phiLabel' [clang-diagnostic-unused-const-variable,-warnings-as-errors]
PWGJE/Tasks/jetDrift.cxx:350:55: error: no header providing "o2::aod::BkgChargedRhos" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 11 -gt 0 ]]
++ cat /sw/BUILD/4c63d480accfbcc2754e9aa621011ed4cb98d24f/O2Physics-code-check/warnings.txt
PWGJE/Tasks/jetDrift.cxx:49:22: warning: 'nPhiRegions' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace]
PWGJE/Tasks/jetDrift.cxx:50:14: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGJE/Tasks/jetDrift.cxx:50:26: warning: 'phiLabel' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace]
PWGJE/Tasks/jetDrift.cxx:60:3: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGJE/Tasks/jetDrift.cxx:64:21: warning: 'DeltaPhi_mpi2_3pi2' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace]
PWGJE/Tasks/jetDrift.cxx:79:19: warning: 'JetPhiRegion' is a static definition in anonymous namespace; static is redundant here [readability-static-definition-in-anonymous-namespace]
PWGJE/Tasks/jetDrift.cxx:220:7: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case]
PWGJE/Tasks/jetDrift.cxx:247:7: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case]
PWGJE/Tasks/jetDrift.cxx:279:7: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case]
PWGJE/Tasks/jetDrift.cxx:306:7: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case]
PWGJE/Tasks/jetDrift.cxx:418:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
++ [[ 8 -gt 0 ]]
++ exit 1
--

Full log here.

@vkucera

vkucera commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

@nzardosh Please do not approve or merge PRs with unfinished tests. New files are supposed to be free of both errors and warnings.

@vkucera
vkucera marked this pull request as draft December 1, 2026 12:08
auto-merge was automatically disabled December 1, 2026 12:08

Pull request was converted to draft

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.

4 participants