Skip to content

[PWGCF] add occupancy histograms and ncontrib cuts - #18981

Merged
abilandz merged 3 commits into
AliceO2Group:masterfrom
pykuan:master
Nov 29, 2026
Merged

abilandz merged 3 commits into
AliceO2Group:masterfrom
pykuan:master

Conversation

@pykuan

@pykuan pykuan commented Nov 29, 2026

Copy link
Copy Markdown
Contributor
  • keep events with occupancy = min
  • add occupancy histograms
  • add NContrib vs. multiplicity cuts for all estimators
  • remove event cut bounds TF1
  • fix typo

@github-actions github-actions Bot added the pwgcf label Nov 29, 2026
@github-actions github-actions Bot changed the title add occupancy histograms and ncontrib cuts [PWGCF] add occupancy histograms and ncontrib cuts Nov 29, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 890ae86 at 2026-11-29 20:13:

## 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 1 errors and 2 warnings.'
Found 1 errors and 2 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/d259990cbc1d18da363b2862fe23f9971c033da6/O2Physics-code-check/errors.txt
PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:187:55: error: unused variable 'EstmCorrName' [clang-diagnostic-unused-const-variable,-warnings-as-errors]
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/d259990cbc1d18da363b2862fe23f9971c033da6/O2Physics-code-check/warnings.txt
PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:983:62: warning: repeated branch body in conditional chain [bugprone-branch-clone]
PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:987:11: warning: do not use 'else' after 'break' [readability-else-after-return]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for bb96dc2 at 2026-11-29 20:27:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:978:45: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:978:45: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for bb96dc2 at 2026-11-29 20:28:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:978:45: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:978:45: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for bb96dc2 at 2026-11-29 20:34:

## 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 2 errors and 0 warnings.'
Found 2 errors and 0 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/15edf4dc4da9a82118e44c570fbe603dbe4c2f6c/O2Physics-code-check/errors.txt
PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:978:45: error: '&&' within '||' [clang-diagnostic-logical-op-parentheses,-warnings-as-errors]
PWGCF/MultiparticleCorrelations/Tasks/multiparticleCumulants.cxx:978:94: error: '&&' within '||' [clang-diagnostic-logical-op-parentheses,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 2 -gt 0 ]]
++ exit 1
--

Full log here.

@abilandz
abilandz merged commit 1e48702 into AliceO2Group:master Nov 29, 2026
14 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