Skip to content

[PWGJE] Replace TMath methods with O2 ones #14751

[PWGJE] Replace TMath methods with O2 ones

[PWGJE] Replace TMath methods with O2 ones #14751

Triggered via pull request July 31, 2025 13:47
@arvindkhuntiaarvindkhuntia
synchronize #12353
Status Failure
Total duration 13s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1773
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1705
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1640
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1557
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1496
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1349
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1303
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1252
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGJE/Tasks/nucleiInJets.cxx#L1574
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/nucleiInJets.cxx#L1335
Use constant references for non-modified iterators in range-based for loops.
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.