Skip to content

[PWGHF] Add online track-eff correction and MC process - #18897

Merged
zhangbiao-phy merged 5 commits into
AliceO2Group:masterfrom
wuctlby:master
Nov 25, 2026
Merged

zhangbiao-phy merged 5 commits into
AliceO2Group:masterfrom
wuctlby:master

Conversation

@wuctlby

@wuctlby wuctlby commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title Add online track-eff correction and MC process [PWGHF] Add online track-eff correction and MC process Nov 24, 2026
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 00594dc at 2026-11-24 17:02:

## 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 5 warnings.'
Found 1 errors and 5 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/839b8d11fa163d35aba985ea969ca09f8db2fd57/O2Physics-code-check/errors.txt
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:188:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 5 -gt 0 ]]
++ cat /sw/BUILD/839b8d11fa163d35aba985ea969ca09f8db2fd57/O2Physics-code-check/warnings.txt
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:94:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:193:37: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:193:55: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:197:35: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:197:58: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 7dc973f at 2026-11-24 17:09:

## 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 5 warnings.'
Found 1 errors and 5 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/44f3f0b6c5d337691d0715c9ddf8eb63ca189040/O2Physics-code-check/errors.txt
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:189:46: error: no header providing "o2::framework::OutputObjHandlingPolicy" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 5 -gt 0 ]]
++ cat /sw/BUILD/44f3f0b6c5d337691d0715c9ddf8eb63ca189040/O2Physics-code-check/warnings.txt
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:95:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:194:37: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:194:55: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:198:35: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
PWGHF/D2H/Tasks/taskPtFlucCharmHadrons.cxx:198:58: warning: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion]
++ [[ 1 -gt 0 ]]
++ exit 1
--

Full log here.

@wuctlby

wuctlby commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Hi @zhangbiao-phy and @stefanopolitano , it seems there are no further comments. Could you please approve this PR?

@zhangbiao-phy zhangbiao-phy 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.

Thanks @wuctlby for the development!

@zhangbiao-phy
zhangbiao-phy merged commit 417610c into AliceO2Group:master Nov 25, 2026
14 checks passed
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