Skip to content

[PWGEM/Dilepton] update matchingMFT.cxx #8181

[PWGEM/Dilepton] update matchingMFT.cxx

[PWGEM/Dilepton] update matchingMFT.cxx #8181

Triggered via pull request April 13, 2025 20:40
Status Failure
Total duration 11s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
9s
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#L433
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L239
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L433
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#L239
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#L172
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.
[pi-multiple-fraction]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L146
Use multiples/fractions of PI defined in o2::constants::math.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L172
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.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L146
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.