[PWGEM,PWGHF,Trigger] Fix O2linter warnings#13264
[PWGEM,PWGHF,Trigger] Fix O2linter warnings#13264mhemmer-cern merged 1 commit intoAliceO2Group:masterfrom
Conversation
|
O2 linter results: ❌ 637 errors, |
abe1a73 to
4a0095b
Compare
|
Thanks @mhemmer-cern for the great work! Very much appreciated. Please see my comments. (I might add more.) |
|
Looks good from the heavy neutral meson trigger side (only addition of compiler flags and reordering of includes). Thank you @mhemmer-cern! |
4a0095b to
fc13e9d
Compare
88bad87 to
f27e6a3
Compare
| // Dilepton headers | ||
| #include "PWGEM/Dilepton/Utils/EMTrack.h" | ||
| #include "PWGEM/Dilepton/Utils/EventMixingHandler.h" |
There was a problem hiding this comment.
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.
f27e6a3 to
dd9fc6c
Compare
- 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.
dd9fc6c to
a674e4f
Compare
vkucera
left a comment
There was a problem hiding this comment.
Thanks @mhemmer-cern again for addressing all my comments. Good from my side.
Dear @mpuccio could you approve this from the Trigger side please? |
alibuild
left a comment
There was a problem hiding this comment.
Auto-approving on behalf of @mhemmer-cern.
PWGHF:
PhysicsConstants.hwhich clashed with some local enum definitions here.PWGEM:
usingin some header files and necessary changes because of this removal (EventFiltering for example)usingTrigger:
[[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.