Skip to content

[PWGCF] Fix run-by-run NUA in energyFlowGfw.cxx - #18893

Merged
EmilGorm merged 4 commits into
AliceO2Group:masterfrom
EmilGorm:eec-corrections
Nov 24, 2026
Merged

EmilGorm merged 4 commits into
AliceO2Group:masterfrom
EmilGorm:eec-corrections

Conversation

@EmilGorm

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot added the pwgcf label Nov 24, 2026
@github-actions github-actions Bot changed the title Fix run-by-run NUA in energyFlowGfw.cxx [PWGCF] Fix run-by-run NUA in energyFlowGfw.cxx Nov 24, 2026
@github-actions

Copy link
Copy Markdown

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

@EmilGorm
EmilGorm marked this pull request as ready for review November 24, 2026 14:33
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 3a4da59 at 2026-11-24 16:18:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:140: error: 'etaAxis' was not declared in this scope; did you mean 'TAxis'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:19: error: no matching function for call to 'o2::framework::HistogramRegistry::add(const char [25], const char [63], o2::framework::HistType, <brace-enclosed initializer list>)'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1089:17: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1138:19: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1162:17: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1212:19: error: conflicting declaration 'const auto& bc'
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 3a4da59 at 2026-11-24 16:19:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:140: error: 'etaAxis' was not declared in this scope; did you mean 'TAxis'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:19: error: no matching function for call to 'o2::framework::HistogramRegistry::add(const char [25], const char [63], o2::framework::HistType, <brace-enclosed initializer list>)'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1089:17: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1138:19: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1162:17: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1212:19: error: conflicting declaration 'const auto& bc'
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 3a4da59 at 2026-11-24 16:45:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:140: error: 'etaAxis' was not declared in this scope; did you mean 'TAxis'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:19: error: no matching function for call to 'o2::framework::HistogramRegistry::add(const char [25], const char [63], o2::framework::HistType, <brace-enclosed initializer list>)'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1089:17: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1138:19: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1162:17: error: conflicting declaration 'const auto& bc'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:1212:19: error: conflicting declaration 'const auto& bc'
ninja: build stopped: subcommand failed.

Full log here.

@vkucera
vkucera marked this pull request as draft November 24, 2026 16:12
@vkucera

vkucera commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

@EmilGorm Your PR fails to compile on all platforms? How did you test it?

@EmilGorm

Copy link
Copy Markdown
Collaborator Author

@EmilGorm Your PR fails to compile on all platforms? How did you test it?

Compiled with the recompile-o2p in the bashrc-alice.sh script. But I think I might have messed up with some branches. I will check again and recommit

@EmilGorm
EmilGorm marked this pull request as ready for review November 24, 2026 16:58
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 6eb48d4 at 2026-11-24 18:00:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:140: error: 'etaAxis' was not declared in this scope; did you mean 'TAxis'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:19: error: no matching function for call to 'o2::framework::HistogramRegistry::add(const char [25], const char [63], o2::framework::HistType, <brace-enclosed initializer list>)'
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 6eb48d4 at 2026-11-24 18:00:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:140: error: 'etaAxis' was not declared in this scope; did you mean 'TAxis'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:19: error: no matching function for call to 'o2::framework::HistogramRegistry::add(const char [25], const char [63], o2::framework::HistType, <brace-enclosed initializer list>)'
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 6eb48d4 at 2026-11-24 18:00:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:140: error: 'etaAxis' was not declared in this scope; did you mean 'TAxis'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:348:19: error: no matching function for call to 'o2::framework::HistogramRegistry::add(const char [25], const char [63], o2::framework::HistType, <brace-enclosed initializer list>)'
ninja: build stopped: subcommand failed.

Full log here.

@EmilGorm EmilGorm closed this Nov 24, 2026
@EmilGorm EmilGorm reopened this Nov 24, 2026
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for c60f6b8 at 2026-11-24 20: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 3 errors and 1 warnings.'
Found 3 errors and 1 warnings.
++ [[ 3 -gt 0 ]]
++ cat /sw/BUILD/ef5103bfed3faa5a37bc1e50497936a28711c217/O2Physics-code-check/errors.txt
PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:170:66: error: no header providing "o2::constants::math::PIHalf" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:206:81: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:950:36: error: no header providing "Form" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/ef5103bfed3faa5a37bc1e50497936a28711c217/O2Physics-code-check/warnings.txt
PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:989:33: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 3 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for b7c9842 at 2026-11-24 20:39:

## 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 1 errors and 1 warnings.'
Found 1 errors and 1 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/936c420376287f812113a224dfd530dd7c10cd6b/O2Physics-code-check/errors.txt
PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:208:81: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/936c420376287f812113a224dfd530dd7c10cd6b/O2Physics-code-check/warnings.txt
PWGCF/GenericFramework/Tasks/energyFlowGfw.cxx:991:33: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

@EmilGorm
EmilGorm enabled auto-merge (squash) November 24, 2026 21:09

@alibuild alibuild left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approving on behalf of @EmilGorm.

@EmilGorm
EmilGorm merged commit 9b39c40 into AliceO2Group:master Nov 24, 2026
14 checks passed
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.

3 participants