[PWGUD] Please consider the following formatting changes to #10905 #153
Annotations
2 errors, 10 warnings, and 1 notice
|
O2 linter
Process completed with exit code 1.
|
|
O2 linter result
Issues have been found.
|
|
[doc/file]:
PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L0
Provide mandatory file documentation.
|
|
[doc/file]:
PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L17
Documentation for \file is missing, incorrect or misplaced.
|
|
[const-ref-in-for-loop]:
PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L62
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L53
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGUD/TableProducer/udMcCollisions2udCollisions.cxx#L49
Use constant references for non-modified iterators in range-based for loops.
|
|
[magic-number]:
PWGUD/TableProducer/tauEventTableProducer.cxx#L434
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGUD/TableProducer/tauEventTableProducer.cxx#L421
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGUD/TableProducer/tauEventTableProducer.cxx#L223
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGUD/TableProducer/tauEventTableProducer.cxx#L219
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[root/lorentz-vector]:
PWGUD/TableProducer/tauEventTableProducer.cxx#L47
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template 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.
|