[PWGUD] Use const& and std::move to avoid copies
#33744
Annotations
10 errors, 1 warning, and 2 notices
|
[magic-number]:
PWGUD/AQC/udQC.cxx#L505
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGUD/AQC/udQC.cxx#L432
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGUD/AQC/udQC.cxx#L182
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGUD/AQC/udQC.cxx#L170
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#L216
Argument aod::Calos& calos is not const&.
|
|
[const-ref-in-process]:
PWGUD/AQC/udQC.cxx#L216
Argument aod::Zdcs& zdcs is not const&.
|
|
[root/lorentz-vector]:
PWGUD/AQC/udQC.cxx#L427
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#L426
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#L41
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
|
|
O2 linter
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: thollander/actions-comment-pull-request@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
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.
|