Skip to content

Conversation

@altsybee
Copy link
Collaborator

@altsybee altsybee commented Oct 24, 2025

  • "Alternative" bc-collision matching for OO and Ne-Ne (based on the filling scheme pattern) is now the default
  • Modification of the occupancy calculation: info at the ROF borders is "replaced" with the scaled FT0 ampl.
  • The same is applied at TF borders --> extended range with available info for occupancy calculation --> recovery of a few % of Pb-Pb statistics in analyses which use occupancy cuts
  • Refinement of the logic of the kNoCollInTimeRangeNarrow occupancy ev sel bit
  • Several configurables for tests are removed
  • Temporary workaround for MC prod LHC25f3 is removed

@github-actions
Copy link

github-actions bot commented Oct 24, 2025

O2 linter results: ❌ 27 errors, ⚠️ 9 warnings, 🔕 47 disabled

@github-actions github-actions bot changed the title alternative matching as default for OO, NeNe, occupancy update [Common] alternative matching as default for OO, NeNe, occupancy update Oct 24, 2025
@alibuild
Copy link
Collaborator

alibuild commented Oct 24, 2025

Error while checking build/O2Physics/o2 for ff8aebf at 2025-10-25 01:31:

## sw/BUILD/O2Physics-latest/log
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
/sw/SOURCES/O2Physics/13537-slc9_x86-64/0/Common/Tools/EventSelectionModule.h:1381:13: error: unused variable 'bcInTF' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/13537-slc9_x86-64/0/Common/Tools/EventSelectionModule.h:1381:13: error: unused variable 'bcInTF' [-Werror=unused-variable]
ninja: build stopped: subcommand failed.

Full log here.

@altsybee altsybee enabled auto-merge (squash) October 26, 2025 08:48
@altsybee altsybee merged commit 22c28ea into AliceO2Group:master Oct 27, 2025
11 of 13 checks passed
Comment on lines +693 to +698
if (dt >= -40 && dt < -5) // collisions in the past // o2-linter: disable=magic-number
wOccup = 1. / 1225 * (dt + 40) * (dt + 40); // o2-linter: disable=magic-number
else if (dt >= -5 && dt < 15) // collisions near a given one // o2-linter: disable=magic-number
wOccup = 1;
else if (dt >= 15 && dt < 40) // collisions from the future // o2-linter: disable=magic-number
wOccup = -0.4 / 25 * dt + 1.24; // o2-linter: disable=magic-number
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@altsybee @ddobrigk The magic numbers make the code completely incomprehensible to anyone who doesn't already know what they mean, making this class a black box to the rest of the Collaboration. Please write code that your colleagues can understand instead of silencing linter errors.

ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
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