[PWGCF] FemtoUniverse -- Add D+ to MC Truth #8322
Annotations
2 errors, 10 warnings, and 1 notice
|
O2 linter
Process completed with exit code 1.
|
|
O2 linter result
Issues have been found.
|
|
[name/function-variable]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L86
Use lowerCamelCase for names of functions and variables.
|
|
[magic-number]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L175
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L173
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L171
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L170
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L156
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L140
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/explicit-code]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L175
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L173
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGCF/FemtoUniverse/TableProducer/femtoUniverseProducerMCTruthTask.cxx#L171
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg 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.
|