Skip to content

[PWGLF] kstar892LightIon: Added pT dependent PID#16940

Merged
prottayCMT merged 3 commits into
AliceO2Group:masterfrom
5ub-Man:kstarPID
Jul 7, 2026
Merged

[PWGLF] kstar892LightIon: Added pT dependent PID#16940
prottayCMT merged 3 commits into
AliceO2Group:masterfrom
5ub-Man:kstarPID

Conversation

@5ub-Man

@5ub-Man 5ub-Man commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the pwglf label Jul 6, 2026
@github-actions github-actions Bot changed the title kstar892LightIon: Added pT dependent PID [PWGLF] kstar892LightIon: Added pT dependent PID Jul 6, 2026
@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

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

@alibuild

alibuild commented Jul 6, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for d6f31f7 at 2026-07-06 23:48:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 46 errors and 180 warnings.'
Found 46 errors and 180 warnings.
++ [[ 46 -gt 0 ]]
++ cat /sw/BUILD/0f98941d082eb9d136a32b21e90552691e74800e/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:64:8: error: constructor does not initialize these fields: theta2, genMass, recMass, recPt, genPt, pdg [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:252:25: error: no header providing "std::array" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:661:49: error: conversion of 'TrackFlagsRun2Enum' into 'bool' will always return 'true', enum doesn't have a zero-value enumerator [bugprone-non-zero-enum-to-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:661:80: error: conversion of 'TrackFlagsRun2Enum' into 'bool' will always return 'true', enum doesn't have a zero-value enumerator [bugprone-non-zero-enum-to-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:12: error: variable 'pt1' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:17: error: variable 'pt2' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:22: error: variable 'pz1' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:27: error: variable 'pz2' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:32: error: variable 'p1' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:36: error: variable 'p2' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:695:40: error: variable 'angle' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:704:14: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:899:11: error: do not use 'else' after 'return' [readability-else-after-return,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:962:20: error: no header providing "std::pair" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:966:10: error: no header providing "std::function" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1051:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1222:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1533:44: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1554:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1624:22: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1624:37: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1653:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1748:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1748:75: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1922:44: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1942:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1984:44: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2003:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2051:44: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2074:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2130:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2225:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2532:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2643:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2757:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2806:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2806:75: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2813:14: error: variable 'phiK' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2813:20: error: variable 'phiPi' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2814:14: error: variable 'etaK' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2814:20: error: variable 'etaPi' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2815:14: error: variable 'ptK' is not initialized [cppcoreguidelines-init-variables,-warnings-as-errors]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for ef3540a at 2026-07-07 11:39:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 12 errors and 179 warnings.'
Found 12 errors and 179 warnings.
++ [[ 12 -gt 0 ]]
++ cat /sw/BUILD/9317b97ce72993001ff19192c14f79354064a4a0/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:35:1: error: included header DataTypes.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:66:8: error: constructor does not initialize these fields: pdg [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:704:12: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1551:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1937:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:1998:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2069:41: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2218:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2525:11: error: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:2636:39: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:3046:43: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:3080:43: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
++ [[ 179 -gt 0 ]]
++ cat /sw/BUILD/9317b97ce72993001ff19192c14f79354064a4a0/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:377:24: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:546:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:549:66: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:551:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:554:58: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:556:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:559:105: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:561:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:564:107: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:566:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:569:93: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:571:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:574:107: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:576:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:579:109: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:581:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:584:127: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:586:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:589:120: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:591:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:594:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:596:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:599:103: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:601:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:607:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:613:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:619:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/kstar892LightIon.cxx:625:18: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@prottayCMT prottayCMT merged commit 4e7ee67 into AliceO2Group:master Jul 7, 2026
14 of 15 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