[PWGLF] Fix histograms for efficiency evaluation #7903
Annotations
2 errors, 10 warnings, and 1 notice
|
O2 linter
Process completed with exit code 1.
|
|
O2 linter result
Issues have been found.
|
|
[magic-number]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L143
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L142
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L158
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L115
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L108
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L78
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L77
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L76
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L75
Avoid using hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/database]:
PWGLF/Tasks/Nuspex/nucleiFromHypertritonMap.cxx#L21
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
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.
|