Skip to content

[PWGLF] Fixed code issues about Reconstruction of KstarInOO.cxx #16111

[PWGLF] Fixed code issues about Reconstruction of KstarInOO.cxx

[PWGLF] Fixed code issues about Reconstruction of KstarInOO.cxx #16111

Triggered via pull request August 25, 2025 01:23
@JimunLeeJimunLee
synchronize #12693
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
9s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 notices
[logging]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L578
Use O2 logging (LOG, LOGF, LOGP).
[pdg/explicit-code]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L742
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L530
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L528
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L505
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L503
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L545
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L37
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[std-prefix]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L721
Use std:: prefix for names from the std namespace.
[include-iostream]: PWGLF/Tasks/Resonances/kstarInOO.cxx#L49
Do not include iostream. Use O2 logging instead.
O2 linter
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
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.