Skip to content

[PWGLF] optimized phi analysis code #16268

[PWGLF] optimized phi analysis code

[PWGLF] optimized phi analysis code #16268

Triggered via pull request August 27, 2025 14:33
Status Failure
Total duration 19s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[const-ref-in-process]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1481
Argument aod::McParticles& mcParticles is not const&.
[const-ref-in-process]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L1115
Argument aod::McParticles& mcParticles is not const&.
[const-ref-in-for-loop]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L995
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L980
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L926
Use constant references for non-modified iterators in range-based for loops.
[pdg/database]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L47
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
[external-pi]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L112
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[external-pi]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L111
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
[root/lorentz-vector]: PWGLF/Tasks/Resonances/phianalysisrun3_PbPb.cxx#L53
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/phianalysisrun3_PbPb.cxx#L1709
Use std:: prefix for names from the std namespace.
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.