Skip to content

[PWGLF] Update NucleiEfficiencyTask.cxx #3480

[PWGLF] Update NucleiEfficiencyTask.cxx

[PWGLF] Update NucleiEfficiencyTask.cxx #3480

Triggered via pull request January 28, 2025 13:43
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
7s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 warnings, and 1 notice
O2 linter result
Issues have been found.
O2 linter
Process completed with exit code 1.
[std-prefix]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L368
Use std:: prefix for names from the std namespace.
[root-entity]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L181
Consider replacing ROOT entities with equivalents from standard C++ or from O2.
[root-entity]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L370
Consider replacing ROOT entities with equivalents from standard C++ or from O2.
[external-pi]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L80
Consider using the PI constant (and its multiples and fractions) defined in o2::constants::math.
[external-pi]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L89
Consider using the PI constant (and its multiples and fractions) defined in o2::constants::math.
[pi-multiple-fraction]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L80
Consider using multiples/fractions of PI defined in o2::constants::math.
[pi-multiple-fraction]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L89
Consider using multiples/fractions of PI defined in o2::constants::math.
[pdg/explicit-code]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L184
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L196
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Nuspex/NucleiEfficiencyTask.cxx#L200
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
O2 linter
You can disable a test for a line by adding a comment with "o2-linter: disable=" followed by the name of the test.