Skip to content

Conversation

@mhemmer-cern
Copy link
Collaborator

@mhemmer-cern mhemmer-cern commented Oct 7, 2025

PWGHF:

PWGEM:

  1. Removal of using in some header files and necessary changes because of this removal (EventFiltering for example)
  2. Cleaning up includes in most touched files here after the removal of using
  3. PI from match constanst, naming of some variables and other O2 Linter errors. Changes to configurable names were not done since this would mess up all ongoing analyses wagons.
  4. Addition of new task for EMCal cluster energy calibration. For high mult AA collisions the cluster energy needs some extra calibration, since a single cluster often has energy deposition from more than just the photon that we are interested in. To correct for this enhancement in cluster energy this task should provide the necessary output to create a correction for it.

Trigger:

  • Fix includes and added [[maybe_unused]] to some local variables that are used as inital parameters for configurable to silence compiler warnings/clangd. Add comment for explanation of this change as well.

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

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

@mhemmer-cern
Copy link
Collaborator Author

Hello,
@vkucera could you please check if the HF changes look good for you?
@nstrangm could you please check if the trigger changes look good for you?

@vkucera
Copy link
Collaborator

vkucera commented Oct 7, 2025

Thanks @mhemmer-cern for the great work! Very much appreciated. Please see my comments. (I might add more.)

@nstrangm
Copy link
Contributor

nstrangm commented Oct 7, 2025

Looks good from the heavy neutral meson trigger side (only addition of compiler flags and reordering of includes). Thank you @mhemmer-cern!

@mhemmer-cern mhemmer-cern force-pushed the em-cleanup branch 2 times, most recently from 88bad87 to f27e6a3 Compare October 7, 2025 11:21
Comment on lines +28 to +30
// Dilepton headers
#include "PWGEM/Dilepton/Utils/EMTrack.h"
#include "PWGEM/Dilepton/Utils/EventMixingHandler.h"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggestion for codeowners of PWGEM/Dilepton and PWGEM/PhotonMeson. If there is common code used across PAGs, it makes more sense to have it in the common PWG directories.

- Preparation for AliceO2Group/AliceO2#14662 where eta, omega and etaPrime are added to the `PhysicsConstants.h` which clasehd with some local enum definitions here.

  1. Removal of `using` in some header files and necessary changes because of this removal (EventFiltering for example)
  2. Cleaning up includes in most touched files here after the removal of `using`
  3. PI from match constanst, naming of some variables and other O2 Linter errors. Changes to configurable names were not done since this would mess up all ongoing analyses wagons.
  4. Addition of new task for EMCal cluster energy calibration. For high mult AA collisions the cluster energy needs some extra calibration, since a single cluster often has energy deposition from more than just the photon that we are interested in. To correct for this enhancement in cluster energy this task should provide the neccesary output to create a correction for it.

- Fix includes and added [[maybe_unused]] to some local variables that are used as inital parameters for configurables to silence compiler warnings/clangd. Add comment for explanation of this change as well.
Copy link
Collaborator

@vkucera vkucera left a comment

Choose a reason for hiding this comment

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

Thanks @mhemmer-cern again for addressing all my comments. Good from my side.

@mhemmer-cern
Copy link
Collaborator Author

Looks good from the heavy neutral meson trigger side (only addition of compiler flags and reordering of includes). Thank you @mhemmer-cern!

Dear @mpuccio could you approve this from the Trigger side please?

@mhemmer-cern mhemmer-cern enabled auto-merge (squash) October 7, 2025 12:26
Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

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

Auto-approving on behalf of @mhemmer-cern.

@mhemmer-cern mhemmer-cern merged commit 53cdd09 into AliceO2Group:master Oct 8, 2025
14 of 16 checks passed
@mhemmer-cern mhemmer-cern deleted the em-cleanup branch October 8, 2025 06:56
ArkaprabhaSaha001 pushed a commit to ArkaprabhaSaha001/O2Physics that referenced this pull request Oct 21, 2025
ThePhDane pushed a commit to ThePhDane/O2Physics that referenced this pull request Nov 3, 2025
jloemker pushed a commit to jloemker/O2Physics that referenced this pull request Nov 11, 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

Development

Successfully merging this pull request may close these issues.

5 participants