Skip to content

[PWGHF] Add cpaJPsi and small fixes in B2JPsi code - #17987

Merged
fgrosa merged 10 commits into
AliceO2Group:masterfrom
fgrosa:bhad
Sep 21, 2026
Merged

fgrosa merged 10 commits into
AliceO2Group:masterfrom
fgrosa:bhad

Conversation

@fgrosa

@fgrosa fgrosa commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot changed the title Add cpaJPsi and small fixes in B2JPsi code [PWGHF] Add cpaJPsi and small fixes in B2JPsi code Sep 20, 2026
@github-actions

Copy link
Copy Markdown

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

Please consider the following formatting changes to AliceO2Group#17987
@fgrosa
fgrosa enabled auto-merge (squash) September 20, 2026 20:39
alibuild
alibuild previously approved these changes Sep 20, 2026

@alibuild alibuild 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.

Auto-approving on behalf of @fgrosa.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 844d00f at 2026-09-20 22:40:

No log files found

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 478f338 at 2026-09-21 00:17:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 5 errors and 8 warnings.'
Found 5 errors and 8 warnings.
++ [[ 5 -gt 0 ]]
++ cat /sw/BUILD/9cfeea338a7b16444627a73e04e17d3e65803852/O2Physics-code-check/errors.txt
PWGHF/D2H/TableProducer/candidateCreatorBToJpsiReduced.cxx:180:36: error: no header providing "o2::track::kNParams" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/D2H/TableProducer/candidateCreatorBToJpsiReduced.cxx:183:36: error: no header providing "o2::track::kCovMatSize" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/D2H/TableProducer/candidateCreatorBToJpsiReduced.cxx:197:119: error: no header providing "std::move" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/D2H/TableProducer/candidateCreatorBToJpsiReduced.cxx:197:144: error: no header providing "std::move" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:63:1: error: included header Track.h is not used directly [misc-include-cleaner,-warnings-as-errors]
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/9cfeea338a7b16444627a73e04e17d3e65803852/O2Physics-code-check/warnings.txt
PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:109:65: warning: variable 'partlyRecoDecayMapMuMu' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:115:65: warning: variable 'partlyRecoDecayMapEE' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]
PWGHF/D2H/Tasks/taskB0ToJpsiK0StarReduced.cxx:270:52: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/D2H/Tasks/taskB0ToJpsiK0StarReduced.cxx:288:60: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/D2H/Tasks/taskBplusToJpsiKReduced.cxx:237:52: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/D2H/Tasks/taskBplusToJpsiKReduced.cxx:254:60: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/D2H/Tasks/taskBsToJpsiPhiReduced.cxx:262:52: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
PWGHF/D2H/Tasks/taskBsToJpsiPhiReduced.cxx:279:60: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
++ [[ 5 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

alibuild commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 844d00f at 2026-09-21 07:46:

## sw/BUILD/re2-latest/log
CMake Error at CMakeLists.txt:84 (find_package):

Full log here.

@vkucera
vkucera disabled auto-merge September 20, 2026 23:30
@vkucera

vkucera commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Please fix the errors before merging.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for c329608 at 2026-09-21 09:16:

No log files found

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for c329608 at 2026-09-21 09:46:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:597:78: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:597:138: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:697:78: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:697:138: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:798:78: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:798:138: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for c329608 at 2026-09-21 10:40:

## sw/BUILD/O2-latest/log
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260921-0000/daily-20260921-0000/Detectors/TPC/base/src/TPCBaseLinkDef.h:75:56
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260921-0000/daily-20260921-0000/Detectors/TPC/base/src/TPCBaseLinkDef.h:83:135
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260921-0000/daily-20260921-0000/Detectors/TPC/base/src/TPCBaseLinkDef.h:84:135
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260921-0000/daily-20260921-0000/Detectors/Upgrades/ALICE3/ECal/base/src/ECalBaseLinkDef.h:19:48
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260921-0000/daily-20260921-0000/Detectors/Upgrades/ALICE3/RICH/base/src/RICHBaseLinkDef.h:18:48
Error: missing ; at end of rule at /sw/SOURCES/O2/daily-20260921-0000/daily-20260921-0000/Detectors/Upgrades/ALICE3/MID/base/src/MI3BaseLinkDef.h:18:47


## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:597:78: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:597:138: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:697:78: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:697:138: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:798:78: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
/sw/SOURCES/O2Physics/slc10_x86-64-slc10_x86-64/0/PWGHF/D2H/TableProducer/dataCreatorJpsiHadReduced.cxx:798:138: error: no match for 'operator[]' (operand types are 'const std::map<int, o2::hf_decay::hf_cand_beauty::DecayChannelToJpsiMain>' and 'int')
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 749f271 at 2026-09-21 10:50:

No log files found

Full log here.

@fgrosa
fgrosa enabled auto-merge (squash) September 21, 2026 13:03

@alibuild alibuild 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.

Auto-approving on behalf of @fgrosa.

@fgrosa
fgrosa merged commit 93fcf65 into AliceO2Group:master Sep 21, 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