Skip to content

[PWGLF] added option to equalise width of Q distributions vs centrality and a possible downscaling - #17482

Merged
prottayCMT merged 3 commits into
AliceO2Group:masterfrom
prottayCMT:master
Aug 18, 2026
Merged

[PWGLF] added option to equalise width of Q distributions vs centrality and a possible downscaling#17482
prottayCMT merged 3 commits into
AliceO2Group:masterfrom
prottayCMT:master

Conversation

@prottayCMT

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions

Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title added option to equalise width of Q distributions vs centrality and a possible downscale factor for pions [PWGLF] added option to equalise width of Q distributions vs centrality and a possible downscale factor for pions Aug 17, 2026
@prottayCMT
prottayCMT enabled auto-merge (squash) August 17, 2026 18:19
@prottayCMT prottayCMT changed the title [PWGLF] added option to equalise width of Q distributions vs centrality and a possible downscale factor for pions [PWGLF] added option to equalise width of Q distributions vs centrality and a possible downscaling Aug 17, 2026
@prottayCMT
prottayCMT merged commit d36c174 into AliceO2Group:master Aug 18, 2026
13 of 16 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for cc46159 at 2026-08-18 15:46:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'Found 20 errors and 4 warnings.'
Found 20 errors and 4 warnings.
++ [[ 20 -gt 0 ]]
++ cat /sw/BUILD/0c582aac191cb711ecf2125e6184f7f655fbf033/O2Physics-code-check/errors.txt
PWGLF/TableProducer/Common/spvector.cxx:63:8: error: constructor does not initialize these fields: ccdb, hrecentereSpA, hrecenterecentSpA, hrecenterevxSpA, hrecenterevySpA, hrecenterevzSpA [cppcoreguidelines-pro-type-member-init,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:694:5: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:711:48: error: 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,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:716:48: error: 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,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:720:48: error: 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,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:724:48: error: 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,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:876:22: error: use 'contains' to check for membership [readability-container-contains,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:939:17: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:940:17: error: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:959:13: error: do not use 'else' after 'return' [readability-else-after-return,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:975:13: error: do not use 'else' after 'return' [readability-else-after-return,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:1167:13: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:1167:25: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Common/spvector.cxx:1171:35: error: implicit conversion 'bool' -> 'int' [readability-implicit-bool-conversion,-warnings-as-errors]
PWGLF/TableProducer/Resonances/cksspinalignment.cxx:472:26: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/TableProducer/Resonances/cksspinalignment.cxx:473:26: error: redundant explicit casting to the same type 'int64_t' (aka 'long') as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/TableProducer/Resonances/cksspinalignment.cxx:489:30: error: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/TableProducer/Resonances/cksspinalignment.cxx:490:30: error: redundant explicit casting to the same type 'float' as the sub-expression, remove this casting [readability-redundant-casting,-warnings-as-errors]
PWGLF/Tasks/Resonances/cksspinalignder.cxx:230:7: error: switch has 3 consecutive identical branches [bugprone-branch-clone,-warnings-as-errors]
PWGLF/Tasks/Resonances/cksspinalignder.cxx:313:11: error: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto,-warnings-as-errors]
++ [[ 4 -gt 0 ]]
++ cat /sw/BUILD/0c582aac191cb711ecf2125e6184f7f655fbf033/O2Physics-code-check/warnings.txt
PWGLF/TableProducer/Common/spvector.cxx:994:24: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/TableProducer/Common/spvector.cxx:996:13: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/TableProducer/Common/spvector.cxx:1003:24: warning: statement should be inside braces [readability-braces-around-statements]
PWGLF/TableProducer/Common/spvector.cxx:1005:13: warning: statement should be inside braces [readability-braces-around-statements]
++ [[ 20 -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

Development

Successfully merging this pull request may close these issues.

3 participants