Skip to content

[PWGLF] Adding dE/dx histogram plotting and Anit-Li6 search - #18519

Open
ChSonnabend wants to merge 2 commits into
AliceO2Group:masterfrom
ChSonnabend:tpc-dedx-histo-antili6
Open

ChSonnabend wants to merge 2 commits into
AliceO2Group:masterfrom
ChSonnabend:tpc-dedx-histo-antili6

Conversation

@ChSonnabend

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions github-actions Bot added the pwglf label Oct 30, 2026
@github-actions github-actions Bot changed the title Adding dE/dx histogram plotting and Anit-Li6 search [PWGLF] Adding dE/dx histogram plotting and Anit-Li6 search Oct 30, 2026
@github-actions

Copy link
Copy Markdown

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for c0d0798 at 2026-10-30 11:12:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:145:19: error: passing 'const o2::framework::Configurable<int>' as 'this' argument discards qualifiers [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:146:34: error: invalid 'static_cast' from type 'const o2::framework::Configurable<float>' to type 'double'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:147:34: error: invalid 'static_cast' from type 'const o2::framework::Configurable<float>' to type 'double'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:280:54: error: no match for 'operator*' (operand types are 'const o2::framework::Configurable<float>' and 'float')
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:280:44: error: passing 'const o2::framework::Configurable<float>' as 'this' argument discards qualifiers [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:282:18: error: no match for 'operator*' (operand types are 'const o2::framework::Configurable<float>' and 'float')
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:282:12: error: passing 'const o2::framework::Configurable<float>' as 'this' argument discards qualifiers [-fpermissive]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for c0d0798 at 2026-10-30 11:58:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:145:19: error: passing 'const o2::framework::Configurable<int>' as 'this' argument discards qualifiers [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:146:34: error: invalid 'static_cast' from type 'const o2::framework::Configurable<float>' to type 'double'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:147:34: error: invalid 'static_cast' from type 'const o2::framework::Configurable<float>' to type 'double'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:280:54: error: no match for 'operator*' (operand types are 'const o2::framework::Configurable<float>' and 'float')
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:280:44: error: passing 'const o2::framework::Configurable<float>' as 'this' argument discards qualifiers [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:282:18: error: no match for 'operator*' (operand types are 'const o2::framework::Configurable<float>' and 'float')
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:282:12: error: passing 'const o2::framework::Configurable<float>' as 'this' argument discards qualifiers [-fpermissive]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for c0d0798 at 2026-10-30 13:36:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:145:19: error: passing 'const o2::framework::Configurable<int>' as 'this' argument discards qualifiers [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:146:34: error: invalid 'static_cast' from type 'const o2::framework::Configurable<float>' to type 'double'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:147:34: error: invalid 'static_cast' from type 'const o2::framework::Configurable<float>' to type 'double'
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:280:54: error: no match for 'operator*' (operand types are 'const o2::framework::Configurable<float>' and 'float')
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:280:44: error: passing 'const o2::framework::Configurable<float>' as 'this' argument discards qualifiers [-fpermissive]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:282:18: error: no match for 'operator*' (operand types are 'const o2::framework::Configurable<float>' and 'float')
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:282:12: error: passing 'const o2::framework::Configurable<float>' as 'this' argument discards qualifiers [-fpermissive]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for e38c9e5 at 2026-10-30 18:07:

## sw/BUILD/O2Physics-code-check-latest/log
--
========== List of issues found ==========
++ echo 'To reproduce the results below locally, run: '\''aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'\''.'
To reproduce the results below locally, run: 'aliBuild build O2Physics-code-check -e ALIBUILD_BASE_HASH=upstream/master'.
++ echo 'To apply all automatic fixes, add the '\''-e O2PHYSICS_CHECKER_FIX=1'\'' option.'
To apply all automatic fixes, add the '-e O2PHYSICS_CHECKER_FIX=1' option.
++ echo 'See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.'
See the documentation for more details at: <https://aliceo2group.github.io/analysis-framework/docs/tools/#running-with-o2physics-code-check>.
++ echo 'Found 8 errors and 5 warnings.'
Found 8 errors and 5 warnings.
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/e8106da88fb5eae1c4a5abf518a3206d38f29238/O2Physics-code-check/errors.txt
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:14:1: error: included header TLegend.h is not used directly [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:43:5: error: no header providing "printf" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:46:39: error: no header providing "Form" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:54:22: error: no header providing "kRainbow" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:90:24: error: no header providing "kBlack" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:112:3: error: no header providing "o2::framework::Service" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:114:3: error: no header providing "o2::framework::OutputObj" is directly included [misc-include-cleaner,-warnings-as-errors]
PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:305:111: error: no header providing "strtoul" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 5 -gt 0 ]]
++ cat /sw/BUILD/e8106da88fb5eae1c4a5abf518a3206d38f29238/O2Physics-code-check/warnings.txt
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:83:11: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:88:52: warning: do not declare C-style arrays, use 'std::array' instead [modernize-avoid-c-arrays]
PWGLF/Tasks/Nuspex/macros/plotTpcDedx.C:88: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]
PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:65:8: warning: constructor does not initialize these fields: ccdb [cppcoreguidelines-pro-type-member-init]
PWGLF/Tasks/Nuspex/tpcDedxAntiLi6Search.cxx:378:16: warning: constructor does not initialize these fields: nFeatures, version [cppcoreguidelines-pro-type-member-init]
++ [[ 8 -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