Skip to content

[PWGUD] Task update for potential memory leak #10660

[PWGUD] Task update for potential memory leak

[PWGUD] Task update for potential memory leak #10660

Triggered via pull request May 29, 2025 12:47
@akhatunakhatun
opened #11407
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
[magic-number]: PWGUD/AQC/udQC.cxx#L147
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-process]: PWGUD/AQC/udQC.cxx#L1
Use constant references for table subscriptions in process functions.
[const-ref-in-process]: PWGUD/AQC/udQC.cxx#L193
Argument aod::Calos& calos is not const&.
[const-ref-in-process]: PWGUD/AQC/udQC.cxx#L193
Argument aod::Zdcs& zdcs is not const&.
[const-ref-in-for-loop]: PWGUD/AQC/udQC.cxx#L740
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGUD/AQC/udQC.cxx#L718
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGUD/AQC/udQC.cxx#L691
Use constant references for non-modified iterators in range-based for loops.
[root/lorentz-vector]: PWGUD/AQC/udQC.cxx#L404
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: PWGUD/AQC/udQC.cxx#L403
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/lorentz-vector]: PWGUD/AQC/udQC.cxx#L26
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.