Skip to content

[PWGLF] Add derived data framework for spin alignment task for phi an… - #18950

Merged
dmallick2 merged 4 commits into
AliceO2Group:masterfrom
sarjeetagami:master
Nov 27, 2026
Merged

dmallick2 merged 4 commits into
AliceO2Group:masterfrom
sarjeetagami:master

Conversation

@sarjeetagami

Copy link
Copy Markdown
Contributor

…d K*

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for ad46218 at 2026-11-27 13:45:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/kstarpbpb.cxx:484:69: error: arithmetic between enumeration type 'Kstarpbpb::MomentSample' and floating-point type 'double' 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 ad46218 at 2026-11-27 13:46:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/kstarpbpb.cxx:484:69: error: arithmetic between enumeration type 'Kstarpbpb::MomentSample' and floating-point type 'double' 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 ad46218 at 2026-11-27 13:51:

## 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 10 errors and 4 warnings.'
Found 10 errors and 4 warnings.
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/d215cd8720eb53c98ad9070bc12bb6b9f14994ec/O2Physics-code-check/errors.txt
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:34:1: error: included header Vector4D.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:47:3: error: no header providing "o2::framework::Produces" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:80:42: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:86:13: error: no header providing "o2::framework::InitContext" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:90:55: error: no header providing "o2::framework::kTH1F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:94:83: error: no header providing "o2::framework::kTH2F" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:189:15: error: no header providing "ROOT::Math::PxPyPzMVector" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarpbpb.cxx:32:1: error: included header AnalysisHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarpbpb.cxx:484:69: error: arithmetic between enumeration type 'Kstarpbpb::MomentSample' and floating-point type 'double' is deprecated [clang-diagnostic-deprecated-enum-float-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstarpbpb.cxx:2704:63: error: no header providing "UInt_t" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/d215cd8720eb53c98ad9070bc12bb6b9f14994ec/O2Physics-code-check/warnings.txt
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:83:16: warning: member 'massKa' of type 'const double' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members]
PWGLF/TableProducer/Resonances/spinAlignVecMesonTable.cxx:84:16: warning: member 'massPi' of type 'const double' is const qualified [cppcoreguidelines-avoid-const-or-ref-data-members]
PWGLF/Tasks/Resonances/kstarpbpb.cxx:2579:52: warning: forwarding reference parameter 'f' is never forwarded inside the function body [cppcoreguidelines-missing-std-forward]
PWGLF/Tasks/Resonances/kstarpbpb.cxx:2675:18: warning: use designated initializer list to initialize 'ReplCand' [modernize-use-designated-initializers]
++ [[ 10 -gt 0 ]]
++ exit 1
--

Full log here.

@dmallick2
dmallick2 merged commit 41d0e8a into AliceO2Group:master Nov 27, 2026
14 checks passed
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.

3 participants