Skip to content

[PWGHF] [Xic0Omegac0] Update candidateCreator & candidateSelector & treeCreator - #18988

Open
jinhyunni wants to merge 16 commits into
AliceO2Group:masterfrom
jinhyunni:update
Open

jinhyunni wants to merge 16 commits into
AliceO2Group:masterfrom
jinhyunni:update

Conversation

@jinhyunni

Copy link
Copy Markdown
Contributor
  • Added QA histograms in candidateCreatorXic0Omegac0Qa
  • Removed overlapping selections in candidateSelectorToXiPiQa
  • Renamed & Added columns in HfToXiPiFull table in 'treeCreatorToXiPiQa`

Dear @fcatalan92, @mtorresc15
I've updated workflow to apply comments in the previous PR.
For now, comments related with Omegac0 -> Xi Pi are not applied yet.
This will be applied in the later PR.

Please take a look, and let me know if you have any comments or suggestions.

Thanks.

@github-actions github-actions Bot added the pwghf PWG-HF label Nov 30, 2026
@github-actions github-actions Bot changed the title [Xic0Omegac0] Update candidateCreator & candidateSelector & treeCreator [PWGHF] [Xic0Omegac0] Update candidateCreator & candidateSelector & treeCreator Nov 30, 2026
@github-actions

github-actions Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 7866041 at 2026-11-30 05:15:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 7866041 at 2026-11-30 05:15:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 1011db0 at 2026-11-30 05:54:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for fed9790 at 2026-11-30 05:56:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for fed9790 at 2026-11-30 05:58:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 7866041 at 2026-11-30 05:59:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 4 errors and 10 warnings.'
Found 4 errors and 10 warnings.
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/43c71b2049c929187a37ae391417577682cc87c0/O2Physics-code-check/errors.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:454:106: error: no header providing "std::hypot" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:456:107: error: no header providing "TMath::Cos" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:201:14: error: no header providing "std::accumulate" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [clang-diagnostic-deprecated-enum-float-conversion,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/43c71b2049c929187a37ae391417577682cc87c0/O2Physics-code-check/warnings.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:644:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:647:20: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:672:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:675:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:727:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:731:29: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:817:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:818:34: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:987:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:793:9: warning: do not use 'else' after 'continue' [readability-else-after-return]
++ [[ 4 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 1011db0 at 2026-11-30 06:00:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 4 errors and 10 warnings.'
Found 4 errors and 10 warnings.
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/c579bb1819466820f2ca9f6e44dc9ae9a2b77b3c/O2Physics-code-check/errors.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:454:106: error: no header providing "std::hypot" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:456:105: error: no header providing "std::cos" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:201:14: error: no header providing "std::accumulate" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [clang-diagnostic-deprecated-enum-float-conversion,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/c579bb1819466820f2ca9f6e44dc9ae9a2b77b3c/O2Physics-code-check/warnings.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:644:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:647:20: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:672:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:675:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:727:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:731:29: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:817:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:818:34: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:987:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:793:9: warning: do not use 'else' after 'continue' [readability-else-after-return]
++ [[ 4 -gt 0 ]]
++ exit 1
--

Full log here.

Please consider the following formatting changes to AliceO2Group#18988
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 1011db0 at 2026-11-30 06:07:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for fb969cf at 2026-11-30 06:10:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:320:52: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for fb969cf at 2026-11-30 06:16:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 4 errors and 10 warnings.'
Found 4 errors and 10 warnings.
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/56caa87908723b470cb6c9ac45e13b8432e8c45e/O2Physics-code-check/errors.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:454:106: error: no header providing "std::hypot" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:456:105: error: no header providing "std::cos" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:200:14: error: no header providing "std::accumulate" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:320:52: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [clang-diagnostic-deprecated-enum-float-conversion,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/56caa87908723b470cb6c9ac45e13b8432e8c45e/O2Physics-code-check/warnings.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:644:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:647:20: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:672:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:675:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:727:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:731:29: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:817:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:818:34: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:987:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:791:9: warning: do not use 'else' after 'continue' [readability-else-after-return]
++ [[ 4 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for fed9790 at 2026-11-30 06:20:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 4 errors and 10 warnings.'
Found 4 errors and 10 warnings.
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/af4b1b33dd3b6706e109dcdee49b19878f540912/O2Physics-code-check/errors.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:454:106: error: no header providing "std::hypot" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:456:105: error: no header providing "std::cos" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:201:14: error: no header providing "std::accumulate" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:321:51: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [clang-diagnostic-deprecated-enum-float-conversion,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/af4b1b33dd3b6706e109dcdee49b19878f540912/O2Physics-code-check/warnings.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:644:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:647:20: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:672:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:675:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:727:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:731:29: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:817:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:818:34: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:987:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:793:9: warning: do not use 'else' after 'continue' [readability-else-after-return]
++ [[ 4 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for fb969cf at 2026-11-30 06:27:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:320:52: error: arithmetic between floating-point type 'double' and enumeration type 'HfCandidateSelectorToXiPiQa::Xic0Selections' is deprecated [-Werror=deprecated-enum-float-conversion]
ninja: build stopped: subcommand failed.

Full log here.

Please consider the following formatting changes to AliceO2Group#18988
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 571eada at 2026-11-30 06:59:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 2 errors and 10 warnings.'
Found 2 errors and 10 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/4da56f70bb38a2c95a308aad37c09a44eec262bb/O2Physics-code-check/errors.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:454:106: error: no header providing "std::hypot" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:456:105: error: no header providing "std::cos" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/4da56f70bb38a2c95a308aad37c09a44eec262bb/O2Physics-code-check/warnings.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:644:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:647:20: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:672:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:675:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:727:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:731:29: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:817:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:818:34: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:987:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:793:9: warning: do not use 'else' after 'continue' [readability-else-after-return]
++ [[ 2 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 875121b at 2026-11-30 07:07:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 2 errors and 10 warnings.'
Found 2 errors and 10 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/951df5bf0ccbcd11a272bbf9071dfc5185cbf4bb/O2Physics-code-check/errors.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:454:106: error: no header providing "std::hypot" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:456:105: error: no header providing "std::cos" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/951df5bf0ccbcd11a272bbf9071dfc5185cbf4bb/O2Physics-code-check/warnings.txt
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:644:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:647:20: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:672:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:675:22: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:727:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:731:29: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:817:5: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:818:34: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/TableProducer/candidateCreatorXic0Omegac0Qa.cxx:987:2: warning: preprocessor condition is always 'false', consider removing both the condition and its contents [readability-avoid-unconditional-preprocessor-if]
PWGHF/TableProducer/candidateSelectorToXiPiQa.cxx:793:9: warning: do not use 'else' after 'continue' [readability-else-after-return]
++ [[ 2 -gt 0 ]]
++ exit 1
--

Full log here.

Please consider the following formatting changes to AliceO2Group#18988
@jinhyunni
jinhyunni marked this pull request as draft November 30, 2026 07:05
@jinhyunni
jinhyunni marked this pull request as ready for review November 30, 2026 07:46
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.

2 participants