Skip to content

[PWGCF] Lambda R2 Correlation Update#16971

Open
yashpatley wants to merge 5 commits into
AliceO2Group:masterfrom
yashpatley:lambda-bf-update
Open

[PWGCF] Lambda R2 Correlation Update#16971
yashpatley wants to merge 5 commits into
AliceO2Group:masterfrom
yashpatley:lambda-bf-update

Conversation

@yashpatley

Copy link
Copy Markdown
Contributor

Lambda Kaon BF update
Modified two-track cut selection
Modified qinv selection

Lambda Kaon BF update
Modified two-track cut selection
Modified qinv selection
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown

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

@alibuild

alibuild commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for d61763e at 2026-07-08 18:52:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 26 errors and 0 warnings.'
Found 26 errors and 0 warnings.
++ [[ 26 -gt 0 ]]
++ cat /sw/BUILD/4cad294b416b8179407d8da2a9823461f1280a50/O2Physics-code-check/errors.txt
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:104:46: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:105:46: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:296:8: error: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:393:20: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:793:7: error: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:793:25: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:793:25: error: redundant explicit casting to the same type 'TObject *' as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:798:25: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:816:7: error: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:816:36: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:816:36: error: redundant explicit casting to the same type 'TObject *' as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:817:7: error: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:817:39: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:817:39: error: redundant explicit casting to the same type 'TObject *' as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:821:36: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:822:39: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1331:29: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1404:27: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1580:19: error: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1605:14: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1657:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1658:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1670:21: error: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1671:21: error: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1680:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1681:22: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 26 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

alibuild commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for cfdd465 at 2026-07-09 17:46:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 5 errors and 0 warnings.'
Found 5 errors and 0 warnings.
++ [[ 5 -gt 0 ]]
++ cat /sw/BUILD/0e2403a17fe89ba873d24f150d1f6d3aecdeb5aa/O2Physics-code-check/errors.txt
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:798:25: error: do not use reinterpret_cast [cppcoreguidelines-pro-type-reinterpret-cast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:821:36: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:822:39: error: do not use static_cast to downcast from a base to a derived class; use dynamic_cast instead [cppcoreguidelines-pro-type-static-cast-downcast,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1571:14: error: narrowing conversion from 'float' to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGCF/TwoParticleCorrelations/Tasks/lambdaR2Correlation.cxx:1595:14: error: redundant boolean literal in conditional return statement [readability-simplify-boolean-expr,-warnings-as-errors]
++ [[ 0 -gt 0 ]]
++ [[ 5 -gt 0 ]]
++ exit 1
--

Full log here.

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.

2 participants