Skip to content

[PWGEM/Dilepton] fix DCA calculation #8513

[PWGEM/Dilepton] fix DCA calculation

[PWGEM/Dilepton] fix DCA calculation #8513

Triggered via pull request April 18, 2025 21:02
Status Failure
Total duration 11s
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.
[magic-number]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L455
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L247
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L455
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L247
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pi-multiple-fraction]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L176
Use multiples/fractions of PI defined in o2::constants::math.
[pi-multiple-fraction]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L149
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.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L176
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[external-pi]: PWGEM/Dilepton/Tasks/matchingMFT.cxx#L149
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.
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.