Skip to content

[PWGCF/Flow] flowPbPbpiKp: Added MC process for PID purity calculations; Added process for QA of PID particles; Modified processGFW: Better selection criteria + changes to meet coding guidelines - #18865

Merged
wenyaCern merged 3 commits into
AliceO2Group:masterfrom
Preet-Bhanjan:master
Nov 23, 2026

Conversation

@Preet-Bhanjan

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the pwgcf label Nov 23, 2026
@github-actions

github-actions Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 1f76a32 at 2026-11-23 12:26:

## 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 6 errors and 10 warnings.'
Found 6 errors and 10 warnings.
++ [[ 6 -gt 0 ]]
++ cat /sw/BUILD/89b6e8ba2384b48678892b329f4bb5438d5b9420/O2Physics-code-check/errors.txt
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:22:1: error: included header TriggerAliases.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:42:1: error: included header StringHelpers.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:87:17: error: no header providing "o2::framework::Array2D" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:135:18: error: no header providing "o2::framework::LabeledArray" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:233:232: error: C-style casts are discouraged; use static_cast [google-readability-casting,-warnings-as-errors]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:1420:15: error: loop variable is copied but only used as const reference; consider making it a const reference [performance-for-range-copy,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/89b6e8ba2384b48678892b329f4bb5438d5b9420/O2Physics-code-check/warnings.txt
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:76:78: warning: macro argument should be enclosed in parentheses [bugprone-macro-parentheses]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:80:12: warning: variable 'regions' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:81:16: warning: variable 'configs' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:101:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:475:24: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:483:105: warning: implicit conversion 'value_type' (aka 'int') -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:489:109: warning: implicit conversion 'value_type' (aka 'int') -> 'bool' [readability-implicit-bool-conversion]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:616:79: warning: 'data' should be used for accessing the data pointer instead of taking the address of the 0-th element [readability-container-data-pointer]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:1006:5: warning: redundant return statement at the end of a function with a void return type [readability-redundant-control-flow]
PWGCF/Flow/Tasks/flowPbpbPikp.cxx:1083:9: warning: switching on non-enum value without default case may not cover all cases [bugprone-switch-missing-default-case]
++ [[ 6 -gt 0 ]]
++ exit 1
--

Full log here.

@Preet-Bhanjan
Preet-Bhanjan marked this pull request as draft November 23, 2026 11:28
@Preet-Bhanjan
Preet-Bhanjan marked this pull request as ready for review November 23, 2026 13:23
@wenyaCern
wenyaCern merged commit 916f291 into AliceO2Group:master Nov 23, 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