Skip to content

[PWGDQ] Added a few electron cuts for the filter pp #7764

[PWGDQ] Added a few electron cuts for the filter pp

[PWGDQ] Added a few electron cuts for the filter pp #7764

Triggered via pull request April 2, 2025 21:31
Status Failure
Total duration 13s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
9s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 warnings, and 1 notice
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4467
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4463
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4458
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L4454
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L2743
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L2686
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1916
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1414
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGDQ/Core/CutsLibrary.cxx#L1114
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[include-iostream]: PWGDQ/Core/CutsLibrary.cxx#L19
Do not include iostream. Use O2 logging instead.
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.