Skip to content

[PWGCF] FemtoUniverse -- Add D+ to MC Truth #8322

[PWGCF] FemtoUniverse -- Add D+ to MC Truth

[PWGCF] FemtoUniverse -- Add D+ to MC Truth #8322

Triggered via pull request April 15, 2025 20:02
Status Failure
Total duration 12s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
8s
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.
[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.