Skip to content

[PWGHF] Utils: Fix and improve type safety, const correctness, readability. #15641

[PWGHF] Utils: Fix and improve type safety, const correctness, readability.

[PWGHF] Utils: Fix and improve type safety, const correctness, readability. #15641

Triggered via pull request August 14, 2025 13:13
@vkuceravkucera
synchronize #12575
Status Failure
Total duration 17s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[root/entity]: PWGHF/TableProducer/trackIndexSkimCreator.cxx#L639
Replace ROOT entities with equivalents from standard C++ or from O2.
[root/entity]: PWGHF/TableProducer/trackIndexSkimCreator.cxx#L603
Replace ROOT entities with equivalents from standard C++ or from O2.
[magic-number]: PWGHF/TableProducer/candidateCreatorCascade.cxx#L257
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/TableProducer/candidateCreatorCascade.cxx#L228
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/TableProducer/candidateCreator3Prong.cxx#L1111
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[name/type]: PWGHF/Core/CentralityEstimation.h#L55
Use UpperCamelCase for names of defined types (including concepts).
[name/type]: PWGHF/Core/CentralityEstimation.h#L50
Use UpperCamelCase for names of defined types (including concepts).
[name/type]: PWGHF/Core/CentralityEstimation.h#L45
Use UpperCamelCase for names of defined types (including concepts).
[name/type]: PWGHF/Core/CentralityEstimation.h#L40
Use UpperCamelCase for names of defined types (including concepts).
[name/type]: PWGHF/Core/CentralityEstimation.h#L35
Use UpperCamelCase for names of defined types (including concepts).
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.