Skip to content

[PWGLF] Replace TMath::Abs with std::abs in etaChargeConditionFunc, add include #17375

[PWGLF] Replace TMath::Abs with std::abs in etaChargeConditionFunc, add include

[PWGLF] Replace TMath::Abs with std::abs in etaChargeConditionFunc, add include #17375

Triggered via pull request September 18, 2025 20:41
@njacazionjacazio
synchronize #13036
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

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

Annotations

9 errors and 2 notices
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[name/function-variable]: PWGLF/Utils/inelGt.h#L45
Use lowerCamelCase for names of functions and variables.
[doc/file]: PWGLF/Utils/inelGt.h#L1
Provide mandatory file documentation.
[doc/file]: PWGLF/Utils/inelGt.h#L17
Documentation for \author is missing, incorrect or misplaced.
[magic-number]: PWGLF/Utils/inelGt.h#L148
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Utils/inelGt.h#L145
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Utils/inelGt.h#L73
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[std-prefix]: PWGLF/Utils/inelGt.h#L117
Use std:: prefix for names from the std namespace.
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.