Skip to content

[Common,PWGCF,PWGDQ,PWGEM,PWGJE,PWGLF] Fix includes - #18113

Merged
vkucera merged 1 commit into
AliceO2Group:masterfrom
vkucera:iwyu
Sep 30, 2026
Merged

vkucera merged 1 commit into
AliceO2Group:masterfrom
vkucera:iwyu

Conversation

@vkucera

@vkucera vkucera commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot changed the title Fix includes [Common,PWGCF,PWGDQ,PWGEM,PWGJE,PWGLF] Fix includes Sep 29, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 5ee4b70 at 2026-09-30 03:28:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 17 errors and 440 warnings.'
Found 17 errors and 440 warnings.
++ [[ 17 -gt 0 ]]
++ cat /sw/BUILD/aed54feacfc4e5f742d8985105ab703f003d0c44/O2Physics-code-check/errors.txt
PWGCF/Femto3D/Tasks/multEstimator.cxx:325:5: error: Value stored to 'cadidates_counter' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/diHadronCor.cxx:591:13: error: Variable 'rad' with floating point type 'double' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/diHadronCor.cxx:694:13: error: Variable 'rad' with floating point type 'double' should not be used as a loop counter [clang-analyzer-security.FloatLoopCounter,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:69:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:70:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:71:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:72:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:73:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:74:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:75:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:76:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:77:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGEM/PhotonMeson/TableProducer/skimmerPrimaryElectronFromDalitzEE.h:78:1: error: using declarations in the global namespace in headers are prohibited [google-global-names-in-headers,-warnings-as-errors]
PWGLF/TableProducer/Common/zdcvector.cxx:452:9: error: Value stored to 'qxZDCA' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
PWGLF/TableProducer/Common/zdcvector.cxx:453:9: error: Value stored to 'qxZDCC' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
PWGLF/TableProducer/Common/zdcvector.cxx:454:9: error: Value stored to 'qyZDCA' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
PWGLF/TableProducer/Common/zdcvector.cxx:455:9: error: Value stored to 'qyZDCC' is never read [clang-analyzer-deadcode.DeadStores,-warnings-as-errors]
++ [[ 440 -gt 0 ]]
++ cat /sw/BUILD/aed54feacfc4e5f742d8985105ab703f003d0c44/O2Physics-code-check/warnings.txt
PWGCF/Femto3D/Tasks/multEstimator.cxx:60:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGCF/Femto3D/Tasks/multEstimator.cxx:83:41: warning: declaration uses identifier '_IRcut', which is a reserved identifier [bugprone-reserved-identifier]
PWGCF/Femto3D/Tasks/multEstimator.cxx:84:37: warning: declaration uses identifier '_OccupancyCut', which is a reserved identifier [bugprone-reserved-identifier]
PWGCF/Femto3D/Tasks/multEstimator.cxx:109:23: warning: declaration uses identifier '_PIDtrshld', which is a reserved identifier [bugprone-reserved-identifier]
PWGCF/Femto3D/Tasks/multEstimator.cxx:201:48: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:204:87: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:206:88: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:208:48: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:239:80: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:258:82: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:260:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:262:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:264:212: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:275:41: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:277:33: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:279:52: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:281:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:283:185: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:285:108: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:287:94: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:290:92: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:292:41: warning: statement should be inside braces [readability-braces-around-statements]
PWGCF/Femto3D/Tasks/multEstimator.cxx:294:90: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@vkucera

vkucera commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

Trivial and compiled. Merging.

@vkucera
vkucera merged commit a54a5fd into AliceO2Group:master Sep 30, 2026
11 of 13 checks passed
@vkucera
vkucera deleted the iwyu branch September 30, 2026 08:54
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.

2 participants