Skip to content

[PWGEM/Dilepton] update matchingMFT.cxx in MC #8169

[PWGEM/Dilepton] update matchingMFT.cxx in MC

[PWGEM/Dilepton] update matchingMFT.cxx in MC #8169

Triggered via pull request April 13, 2025 12:48
Status Failure
Total duration 13s
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#L425
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L231
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L425
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#L231
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.