Skip to content

[PWGEM/Dilepton] update matchingMFT.cxx #8243

[PWGEM/Dilepton] update matchingMFT.cxx

[PWGEM/Dilepton] update matchingMFT.cxx #8243

Triggered via pull request April 14, 2025 17:33
Status Failure
Total duration 12s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
7s
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]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L438
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L244
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L438
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L244
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pi-multiple-fraction]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L173
Use multiples/fractions of PI defined in o2::constants::math.
[pi-multiple-fraction]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L148
Use multiples/fractions of PI defined in o2::constants::math.
[pi-multiple-fraction]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L147
Use multiples/fractions of PI defined in o2::constants::math.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L173
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L148
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L147
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
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.