Skip to content

[PWGLF] Update NucleitpcPbPb.cxx #9306

[PWGLF] Update NucleitpcPbPb.cxx

[PWGLF] Update NucleitpcPbPb.cxx #9306

Triggered via pull request May 3, 2025 09:33
@jtanwar2212jtanwar2212
synchronize #11070
Status Failure
Total duration 15s
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]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L314
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L293
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L276
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L263
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L80
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[root/lorentz-vector]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L421
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/Nuspex/NucleitpcPbPb.cxx#L16
Do not use the TLorentzVector legacy class. Use std::array with RecoDecay methods or the ROOT::Math::LorentzVector template instead.
[root/entity]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L196
Replace ROOT entities with equivalents from standard C++ or from O2.
[root/entity]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L193
Replace ROOT entities with equivalents from standard C++ or from O2.
[std-prefix]: PWGLF/Tasks/Nuspex/NucleitpcPbPb.cxx#L195
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.