Skip to content

[PWGJE] Add baryon pair correlations in charged jets - #18256

Merged
nzardosh merged 2 commits into
AliceO2Group:masterfrom
hanseopark:corrInJet
Oct 13, 2026
Merged

nzardosh merged 2 commits into
AliceO2Group:masterfrom
hanseopark:corrInJet

Conversation

@hanseopark

Copy link
Copy Markdown
Contributor

This PR adds the baryonPairInJets analysis task to study identified proton and antiproton pair correlations in charged jets.

  • Configurable event, charged-jet, track and proton PID selections;
  • Same-sign (pp+pbarpbar) and opposite-sign (ppbar) pair distributions;
  • Same-event and mixed-event correlations inside charged jets;
  • Nominal, loose and random jet-mixing references;
  • Inclusive identified-baryon correlations for comparison with the in-jet measurement;
  • Data, detector-level MC and particle-level MC processing modes;
  • Detector-level PID truth QA and primary/secondary origin information;
  • Matched detector-level and particle-level charged-jet response histograms;
  • Event, jet, constituent, PID and pair-normalization QA histograms.

The task produces analysis histograms directly and does not introduce new derived data tables.

@github-actions

Copy link
Copy Markdown

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

@nzardosh
nzardosh enabled auto-merge (squash) October 12, 2026 11:29
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for f510ec1 at 2026-10-12 15:54:

## 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 2 warnings.'
Found 8 errors and 2 warnings.
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/9307ec5fa30a27aafad19b7dbd88a5842e0b3f09/O2Physics-code-check/errors.txt
PWGJE/Tasks/baryonPairInJets.cxx:30:1: error: included header ASoAHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:177:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:184:25: error: no header providing "o2::framework::ColumnBinningPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:524:48: error: no header providing "o2::aod::evsel::kNoITSROFrameBorder" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:525:48: error: no header providing "o2::aod::evsel::kNoTimeFrameBorder" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:526:48: error: no header providing "o2::aod::evsel::kNoSameBunchPileup" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:527:48: error: no header providing "o2::aod::evsel::kIsGoodZvtxFT0vsPV" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGJE/Tasks/baryonPairInJets.cxx:775:12: error: no header providing "size_t" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/9307ec5fa30a27aafad19b7dbd88a5842e0b3f09/O2Physics-code-check/warnings.txt
PWGJE/Tasks/baryonPairInJets.cxx:582:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
PWGJE/Tasks/baryonPairInJets.cxx:639:5: warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
++ [[ 8 -gt 0 ]]
++ exit 1
--

Full log here.

@nzardosh
nzardosh merged commit 06bd775 into AliceO2Group:master Oct 13, 2026
14 of 15 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for ae88ad9 at 2026-10-13 05:08:

## sw/BUILD/O2Physics-latest/log
CMake Error at PWGDQ/Tasks/cmake_install.cmake:244 (file):
ninja: build stopped: subcommand failed.

Full log here.

@vkucera

vkucera commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

Hi @hanseopark , please fix the reported errors. Your task is missing includes. You can use Clang-Tidy to fix them automatically. See https://aliceo2group.github.io/analysis-framework/docs/tools/#clang-tidy.

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