Skip to content

[ALICE3] do not track particles that you don't provide the sec lut for - #18918

Merged
njacazio merged 5 commits into
AliceO2Group:masterfrom
njacazio:master
Nov 25, 2026
Merged

njacazio merged 5 commits into
AliceO2Group:masterfrom
njacazio:master

Conversation

@njacazio

Copy link
Copy Markdown
Collaborator

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

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

jesgum
jesgum previously approved these changes Nov 25, 2026
@jesgum
jesgum enabled auto-merge (squash) November 25, 2026 14:38
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 0870520 at 2026-11-25 15:44:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
ninja: build stopped: subcommand failed.

Full log here.

@njacazio
njacazio disabled auto-merge November 25, 2026 14:51
@njacazio
njacazio enabled auto-merge (squash) November 25, 2026 14:51

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

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 18d70a2 at 2026-11-25 15:51:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 18d70a2 at 2026-11-25 15:56:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 0870520 at 2026-11-25 16:03:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Core/SecondaryLut.h:99:22: error: 'nodiscard' attribute applied to 'void o2::fastsim::SecondaryLut::setField(float)' with void return type [-Werror=attributes]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 0870520 at 2026-11-25 16:13:

## 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 2 errors and 2 warnings.'
Found 2 errors and 2 warnings.
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/c7950abe83c402ed8526f11a5bc6cdad3193c15e/O2Physics-code-check/errors.txt
ALICE3/Core/SecondaryLut.h:99:5: error: attribute 'nodiscard' cannot be applied to functions without return value [clang-diagnostic-ignored-attributes,-warnings-as-errors]
ALICE3/Core/SecondaryLut.h:134:8: error: default arguments on virtual or override methods are prohibited [google-default-arguments,-warnings-as-errors]
++ [[ 2 -gt 0 ]]
++ cat /sw/BUILD/c7950abe83c402ed8526f11a5bc6cdad3193c15e/O2Physics-code-check/warnings.txt
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:455:5: warning: uninitialized record type: 'productionPosition' [cppcoreguidelines-pro-type-member-init]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:886:7: warning: switch has 2 consecutive identical branches [bugprone-branch-clone]
++ [[ 2 -gt 0 ]]
++ exit 1
--

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 18d70a2 at 2026-11-25 16:20:

## 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 10 warnings.'
Found 8 errors and 10 warnings.
++ [[ 8 -gt 0 ]]
++ cat /sw/BUILD/4751f5e6485889581d2898ee4f72851449efe4ea/O2Physics-code-check/errors.txt
ALICE3/Core/SecondaryLut.h:99:5: error: attribute 'nodiscard' cannot be applied to functions without return value [clang-diagnostic-ignored-attributes,-warnings-as-errors]
ALICE3/Core/SecondaryLut.h:134:8: error: default arguments on virtual or override methods are prohibited [google-default-arguments,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:42:25: error: no header providing "o2::fastsim::SecondaryLutAxis" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:69:19: error: no header providing "o2::fastsim::SecondaryLut" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:140:47: error: no header providing "o2::fastsim::SecondaryLutEntry" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:188:40: error: no header providing "o2::fastsim::O2Track" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:210:3: error: no header providing "o2::fastsim::lutEntry_t" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:216:23: error: no header providing "o2::fastsim::kNumEigenModes" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/4751f5e6485889581d2898ee4f72851449efe4ea/O2Physics-code-check/warnings.txt
ALICE3/Core/SecondaryTrackSmearer.cxx:50:21: warning: implicit conversion 'char' -> 'bool' [readability-implicit-bool-conversion]
ALICE3/Core/SecondaryTrackSmearer.cxx:50:52: warning: implicit conversion 'char' -> 'bool' [readability-implicit-bool-conversion]
ALICE3/Core/SecondaryTrackSmearer.cxx:63:12: warning: use starts_with instead of rfind [modernize-use-starts-ends-with]
ALICE3/Core/SecondaryTrackSmearer.cxx:90:39: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
ALICE3/Core/SecondaryTrackSmearer.cxx:236:9: warning: variable 'interpolatedEff' is not initialized [cppcoreguidelines-init-variables]
ALICE3/Core/SecondaryTrackSmearer.cxx:243:9: warning: variable 'result' is not initialized [cppcoreguidelines-init-variables]
ALICE3/Core/SecondaryTrackSmearer.cxx:254:9: warning: variable 'ignored' is not initialized [cppcoreguidelines-init-variables]
ALICE3/Core/SecondaryTrackSmearer.cxx:280:9: warning: variable 'ignored' is not initialized [cppcoreguidelines-init-variables]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:455:5: warning: uninitialized record type: 'productionPosition' [cppcoreguidelines-pro-type-member-init]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:886:7: warning: switch has 2 consecutive identical branches [bugprone-branch-clone]
++ [[ 8 -gt 0 ]]
++ exit 1
--

Full log here.

@njacazio
njacazio merged commit cc6ef68 into AliceO2Group:master Nov 25, 2026
14 of 15 checks passed
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/code-check for 9de4398 at 2026-11-25 17:08:

## 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 7 errors and 10 warnings.'
Found 7 errors and 10 warnings.
++ [[ 7 -gt 0 ]]
++ cat /sw/BUILD/822beded028e04c5849e8d629254f425ce714615/O2Physics-code-check/errors.txt
ALICE3/Core/SecondaryLut.h:134:8: error: default arguments on virtual or override methods are prohibited [google-default-arguments,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:42:25: error: no header providing "o2::fastsim::SecondaryLutAxis" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:69:19: error: no header providing "o2::fastsim::SecondaryLut" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:140:47: error: no header providing "o2::fastsim::SecondaryLutEntry" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:188:40: error: no header providing "o2::fastsim::O2Track" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:210:3: error: no header providing "o2::fastsim::lutEntry_t" is directly included [misc-include-cleaner,-warnings-as-errors]
ALICE3/Core/SecondaryTrackSmearer.cxx:216:23: error: no header providing "o2::fastsim::kNumEigenModes" is directly included [misc-include-cleaner,-warnings-as-errors]
++ [[ 10 -gt 0 ]]
++ cat /sw/BUILD/822beded028e04c5849e8d629254f425ce714615/O2Physics-code-check/warnings.txt
ALICE3/Core/SecondaryTrackSmearer.cxx:50:21: warning: implicit conversion 'char' -> 'bool' [readability-implicit-bool-conversion]
ALICE3/Core/SecondaryTrackSmearer.cxx:50:52: warning: implicit conversion 'char' -> 'bool' [readability-implicit-bool-conversion]
ALICE3/Core/SecondaryTrackSmearer.cxx:63:12: warning: use starts_with instead of rfind [modernize-use-starts-ends-with]
ALICE3/Core/SecondaryTrackSmearer.cxx:90:39: warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
ALICE3/Core/SecondaryTrackSmearer.cxx:236:9: warning: variable 'interpolatedEff' is not initialized [cppcoreguidelines-init-variables]
ALICE3/Core/SecondaryTrackSmearer.cxx:243:9: warning: variable 'result' is not initialized [cppcoreguidelines-init-variables]
ALICE3/Core/SecondaryTrackSmearer.cxx:254:9: warning: variable 'ignored' is not initialized [cppcoreguidelines-init-variables]
ALICE3/Core/SecondaryTrackSmearer.cxx:280:9: warning: variable 'ignored' is not initialized [cppcoreguidelines-init-variables]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:455:5: warning: uninitialized record type: 'productionPosition' [cppcoreguidelines-pro-type-member-init]
ALICE3/TableProducer/OTF/onTheFlyTracker.cxx:886:7: warning: switch has 2 consecutive identical branches [bugprone-branch-clone]
++ [[ 7 -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.

3 participants