Skip to content

[PWGLF] Added additional histograms for correlated background in k892hadronphoton#16950

Open
Oussama3030 wants to merge 1 commit into
AliceO2Group:masterfrom
Oussama3030:july7_2026
Open

[PWGLF] Added additional histograms for correlated background in k892hadronphoton#16950
Oussama3030 wants to merge 1 commit into
AliceO2Group:masterfrom
Oussama3030:july7_2026

Conversation

@Oussama3030

Copy link
Copy Markdown
Contributor

Changes made:

  • Added topology histograms in the channel K*892 -> Kaon Pion
  • Added a configurable to rotate the photon in k892hadronphotonbkg.cxx
  • small additional changes

@gianniliveraro for your information!

@github-actions github-actions Bot changed the title Added additional histograms for correlated background in k892hadronphoton [PWGLF] Added additional histograms for correlated background in k892hadronphoton Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

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

@romainschotter romainschotter enabled auto-merge (squash) July 7, 2026 14:26
@dmallick2

Copy link
Copy Markdown
Collaborator

@Oussama3030 please fix o2linter a few o2linter issue related to PWGLF/Tasks/Resonances/k892hadronphoton.cxx, there is other o2linter issue also present from other tasks that can be ignored for time being, I will request to fix those related to analysis task.

@alibuild

alibuild commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 1958772 at 2026-07-07 17:33:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 12 errors and 154 warnings.'
Found 12 errors and 154 warnings.
++ [[ 12 -gt 0 ]]
++ cat /sw/BUILD/6c170103363b7b2b7c7999fbfd8ba543509f0379/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:66:8: error: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:499:7: error: do not use 'else' after 'return' [readability-else-after-return,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:74:8: error: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:245:9: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:245:29: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:745:5: error: redundant return statement at the end of a function with a void return type [readability-redundant-control-flow,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:838:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:872:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:900:41: error: equality comparison with extraneous parentheses [clang-diagnostic-parentheses-equality,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:940:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:1159:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/k892hadronphoton.cxx:1164:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
++ [[ 154 -gt 0 ]]
++ cat /sw/BUILD/6c170103363b7b2b7c7999fbfd8ba543509f0379/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:240:51: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:244:51: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:268:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:273:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:278:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:283:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:288:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:293:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:298:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:303:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:308:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:313:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:318:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:323:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:328:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:333:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:338:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:343:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:349:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:354:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:361:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:366:21: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:375:31: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:385:19: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:405:101: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:411:70: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:418:85: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/k892hadronphotonBkg.cxx:422:108: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

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.

4 participants