Skip to content

[PWGLF] Added cosTheta* and phi definition in generated and reconstructed MC - #17283

Merged
dmallick2 merged 6 commits into
AliceO2Group:masterfrom
sawankumawat:master
Aug 3, 2026
Merged

[PWGLF] Added cosTheta* and phi definition in generated and reconstructed MC#17283
dmallick2 merged 6 commits into
AliceO2Group:masterfrom
sawankumawat:master

Conversation

@sawankumawat

Copy link
Copy Markdown
Contributor
  • Added cosTheta* and phi definition in generated and reconstructed MC
  • Added function to give cosTheta* and phi value based on the chosen frame to simplify the code.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown

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

@alibuild

alibuild commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 4aebcc4 at 2026-08-01 19:19:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 27 errors and 52 warnings.'
Found 27 errors and 52 warnings.
++ [[ 27 -gt 0 ]]
++ cat /sw/BUILD/41be3499578d81f770f5428a10fdd4c8ffdf8228/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:79:8: error: constructor does not initialize these fields: theta2, detId, refAId, refBId, pdgDB [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:256:35: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:256:65: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:256:99: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:256:131: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:256:161: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:467:31: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:469:7: error: do not use 'else' after 'return' [readability-else-after-return,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:798:8: error: no header providing "std::pair" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1049:47: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1083:29: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1145:26: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1222:54: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1243:5: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1534:49: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1607:43: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1668:49: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1697:23: error: narrowing conversion from 'unwrap_t<float>' (aka 'float') to 'int' [bugprone-narrowing-conversions,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1768:47: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1814:9: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1815:9: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1816:9: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1817:9: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1904:47: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1953:47: error: repeated branch body in conditional chain [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1975:29: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:2002:26: error: implicit conversion 'int' -> 'bool' [readability-implicit-bool-conversion,-warnings-as-errors]
++ [[ 52 -gt 0 ]]
++ cat /sw/BUILD/41be3499578d81f770f5428a10fdd4c8ffdf8228/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:489:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:492:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:494:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:499:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:502:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:504:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:507:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:509:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:514:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:517:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:519:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:527:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:530:64: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 4f66c51 at 2026-08-01 19:36:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:216:9: error: expected ';' at end of member declaration
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:216:16: error: expected unqualified-id before '-=' token
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 1, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 4f66c51 at 2026-08-01 19:38:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:216:9: error: expected ';' at end of member declaration
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:216:16: error: expected unqualified-id before '-=' token
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 2, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 4f66c51 at 2026-08-02 04:11:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:216:9: error: expected ';' at end of member declaration
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:216:16: error: expected unqualified-id before '-=' token
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for cb7ea0b at 2026-08-03 12:21:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1195:24: error: expected initializer before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1247:60: error: 'detId' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1248:60: error: 'refAId' was not declared in this scope; did you mean 'read'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1249:60: error: 'refBId' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1362:24: error: expected initializer before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:2034:24: error: expected initializer before '.' token
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for cb7ea0b at 2026-08-03 12:25:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1195:24: error: expected initializer before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1247:60: error: 'detId' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1248:60: error: 'refAId' was not declared in this scope; did you mean 'read'?
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1249:60: error: 'refBId' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1362:24: error: expected initializer before '.' token
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:2034:24: error: expected initializer before '.' token
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 0af3632 at 2026-08-03 12:36:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1195:11: error: 'theta2' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1362:11: error: 'theta2' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:2034:11: error: 'theta2' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 0af3632 at 2026-08-03 12:41:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1195:11: error: 'theta2' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1362:11: error: 'theta2' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:2034:11: error: 'theta2' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 0af3632 at 2026-08-03 12:53:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1195:11: error: 'theta2' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:1362:11: error: 'theta2' was not declared in this scope
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Resonances/higherMassResonances.cxx:2034:11: error: 'theta2' was not declared in this scope
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for e356779 at 2026-08-03 13:19:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 1 errors and 46 warnings.'
Found 1 errors and 46 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/ef1993fbc5b0edcc4f710d3bd728fbf9b028a459/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:80:8: error: constructor does not initialize these fields: pdgDB [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
++ [[ 46 -gt 0 ]]
++ cat /sw/BUILD/ef1993fbc5b0edcc4f710d3bd728fbf9b028a459/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:495:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:498:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:500:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:508:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:510:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:513:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:515:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:523:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:525:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:536:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:538:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:541:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:543:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:554:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:575:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:578:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:580:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:588:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:590:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:593:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:595:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:603:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:605:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:616:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:618:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:621:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:623:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:650:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:700:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:733:42: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:959:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:983:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1204:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1420:50: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1422:50: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1477:38: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1659:43: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1661:48: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1707:136: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 591404e at 2026-08-03 13:43:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 1 errors and 46 warnings.'
Found 1 errors and 46 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/1fa337ed83b87d532433d271ecf83e54e319c0ec/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:105:3: error: constructor does not initialize these fields: pdgDB [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
++ [[ 46 -gt 0 ]]
++ cat /sw/BUILD/1fa337ed83b87d532433d271ecf83e54e319c0ec/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:497:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:500:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:502:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:510:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:512:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:515:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:517:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:525:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:527:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:538:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:540:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:543:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:545:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:556:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:577:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:580:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:582:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:590:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:592:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:595:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:597:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:605:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:607:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:618:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:620:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:623:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:625:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:652:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:702:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:735:42: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:961:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:985:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1206:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1422:50: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1424:50: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1479:38: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1660:43: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1662:48: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1708:136: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@alibuild

alibuild commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 324a778 at 2026-08-03 14:04:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 1 errors and 46 warnings.'
Found 1 errors and 46 warnings.
++ [[ 1 -gt 0 ]]
++ cat /sw/BUILD/a705c5709461740d7c1646fdd63c6bbc44389e75/O2Physics-code-check/errors.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:105:3: error: constructor does not initialize these fields: pdgDB [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
++ [[ 46 -gt 0 ]]
++ cat /sw/BUILD/a705c5709461740d7c1646fdd63c6bbc44389e75/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Resonances/higherMassResonances.cxx:497:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:500:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:502:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:510:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:512:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:515:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:517:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:525:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:527:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:538:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:540:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:543:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:545:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:556:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:577:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:580:56: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:582:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:590:96: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:592:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:595:98: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:597:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:605:100: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:607:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:618:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:620:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:623:84: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:625:18: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:652:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:702:36: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:735:42: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:961:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:985:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1206:64: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1422:50: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1424:50: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1479:38: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1660:43: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1662:48: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/Tasks/Resonances/higherMassResonances.cxx:1708:136: warning: statement should be inside braces [readability-braces-around-statements]
[0 more errors; see full log]

Full log here.

@dmallick2
dmallick2 merged commit bef8c65 into AliceO2Group:master Aug 3, 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