Skip to content

[ALICE3] fix linter and code-check for fasttracker #34386

[ALICE3] fix linter and code-check for fasttracker

[ALICE3] fix linter and code-check for fasttracker #34386

Triggered via pull request September 11, 2026 15:08
@jesgumjesgum
opened #17883
Status Failure
Total duration 20s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
14s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 2 notices
[root/lorentz-vector]: ALICE3/TableProducer/OTF/onTheFlyTracker.cxx#L81
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[magic-number]: ALICE3/Core/FlatLutWriter.cxx#L351
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: ALICE3/Core/FlatLutWriter.cxx#L315
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: ALICE3/Core/FlatLutWriter.cxx#L210
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: ALICE3/Core/FlatLutWriter.cxx#L193
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/database]: ALICE3/Core/FlatLutWriter.cxx#L237
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
[pdg/database]: ALICE3/Core/FlatLutWriter.cxx#L22
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
[root/lorentz-vector]: ALICE3/Core/FlatLutWriter.cxx#L85
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: ALICE3/Core/FlatLutWriter.cxx#L82
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: ALICE3/Core/FlatLutWriter.cxx#L24
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
O2 linter
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: thollander/actions-comment-pull-request@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
O2 linter
Exceptionally, you can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test and parentheses with a reason for the exception.