Skip to content

[PWGLF] added event and signal loss for pp #20025

[PWGLF] added event and signal loss for pp

[PWGLF] added event and signal loss for pp #20025

Triggered via pull request November 6, 2025 11:24
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1918
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1915
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-process]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1
Use constant references for table subscriptions in process functions.
[const-ref-in-process]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1605
Argument aod::McParticles& mcParticles is not const&.
[const-ref-in-process]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1191
Argument aod::McParticles& mcParticles is not const&.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1931
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1928
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1918
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/database]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L43
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L49
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template 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.