[PWGJE] Please consider the following formatting changes to #9084 #34
Annotations
2 errors, 10 warnings, and 1 notice
O2 linter result
Issues have been found.
|
O2 linter
Process completed with exit code 1.
|
[include-iostream]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L19
Including iostream is discouraged. Use O2 logging instead.
|
[std-prefix]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L774
Use std:: prefix for names from the std namespace.
|
[root-entity]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L161
Consider replacing ROOT entities with equivalents from standard C++ or from O2.
|
[external-pi]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L343
Consider using the PI constant (and its multiples and fractions) defined in o2::constants::math.
|
[const-ref-in-for-loop]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L349
Use constant references for non-modified iterators in range-based for loops.
|
[const-ref-in-for-loop]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L376
Use constant references for non-modified iterators in range-based for loops.
|
[const-ref-in-for-loop]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L390
Use constant references for non-modified iterators in range-based for loops.
|
[const-ref-in-for-loop]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L415
Use constant references for non-modified iterators in range-based for loops.
|
[const-ref-in-for-loop]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L439
Use constant references for non-modified iterators in range-based for loops.
|
[const-ref-in-for-loop]:
PWGJE/Tasks/fullJetSpectraPP.cxx#L503
Use constant references for non-modified iterators in range-based for loops.
|
O2 linter
You can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test.
|