Skip to content

[PWGHF] Fix reserve of tables in D0 tree creator#16895

Merged
stefanopolitano merged 3 commits into
AliceO2Group:masterfrom
Marcellocosti:fix_d0
Jul 1, 2026
Merged

[PWGHF] Fix reserve of tables in D0 tree creator#16895
stefanopolitano merged 3 commits into
AliceO2Group:masterfrom
Marcellocosti:fix_d0

Conversation

@Marcellocosti

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

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

stefanopolitano
stefanopolitano previously approved these changes Jul 1, 2026
Please consider the following formatting changes to AliceO2Group#16895
@stefanopolitano stefanopolitano enabled auto-merge (squash) July 1, 2026 15:57
@stefanopolitano stefanopolitano merged commit c0287e4 into AliceO2Group:master Jul 1, 2026
14 of 16 checks passed
@alibuild

alibuild commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 27cca41 at 2026-07-01 21:27:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ grep -E '^/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/.+: error: ' /sw/BUILD/b07d11d6d25593b47d6c1a74222ee1b17e7f6b3c/O2Physics-code-check/error-log.txt
++ sed -e s,/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/,,g
++ sort -V
++ uniq
++ grep -E '^/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/.+: warning: ' /sw/BUILD/b07d11d6d25593b47d6c1a74222ee1b17e7f6b3c/O2Physics-code-check/error-log.txt
++ sed -e s,/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/,,g
++ sort -V
++ uniq
++ true
+++ wc -l
++ N_ERROR=16
+++ wc -l
++ N_WARNING=0
++ echo 'Found 16 errors and 0 warnings.'
Found 16 errors and 0 warnings.
++ [[ 16 -gt 0 ]]
++ cat /sw/BUILD/b07d11d6d25593b47d6c1a74222ee1b17e7f6b3c/O2Physics-code-check/errors.txt
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:20:10: error: 'PWGHF/Core/DecayChannels.h' file not found [clang-diagnostic-error]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:107:1: error: variable 'DECLARE_SOA_TABLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:209:1: error: variable 'DECLARE_SOA_TABLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:217:1: error: variable 'DECLARE_SOA_TABLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:226:1: error: variable 'DECLARE_SOA_TABLE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:234:8: error: constructor does not initialize these fields: rowCandidateFull, rowCandidateFullEvents, rowCandidateFullParticles, rowCandidateLite, rowCandidateMl [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:334:14: error: variable 'cosThetaStar' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:399:26: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:425:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:442:20: error: variable 'yD' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:443:20: error: variable 'eD' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:444:20: error: variable 'ctD' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:515:5: error: if with identical then and else branches [bugprone-branch-clone,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:543:20: error: variable 'yD' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:544:20: error: variable 'eD' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGHF/TableProducer/treeCreatorD0ToKPi.cxx:545:20: error: variable 'ctD' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 16 -gt 0 ]]
++ exit 1
--

Full log here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pwghf PWG-HF

Development

Successfully merging this pull request may close these issues.

3 participants