Skip to content

[PWGHF] Fix HF event selection initialization and add explicit casts for BC table #22284

[PWGHF] Fix HF event selection initialization and add explicit casts for BC table

[PWGHF] Fix HF event selection initialization and add explicit casts for BC table #22284

Triggered via pull request December 21, 2025 16:31
@fgrosafgrosa
opened #14315
Status Failure
Total duration 13s
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
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L510
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L499
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L489
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L461
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L427
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L391
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L363
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/Tasks/taskMcValidation.cxx#L357
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGHF/Tasks/taskMcValidation.cxx#L452
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGHF/Tasks/taskMcValidation.cxx#L222
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.