[PWGJE] Add ptAxis as configurable #22083
Triggered via pull request
December 17, 2025 15:21
arvindkhuntia
opened
#14264
Status
Failure
Total duration
38s
Artifacts
–
Annotations
10 errors and 2 notices
|
[magic-number]:
PWGJE/Tasks/nucleiInJets.cxx#L2287
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/nucleiInJets.cxx#L2219
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/nucleiInJets.cxx#L2091
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[magic-number]:
PWGJE/Tasks/nucleiInJets.cxx#L1745
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
[const-ref-in-for-loop]:
PWGJE/Tasks/nucleiInJets.cxx#L2099
Use constant references for non-modified iterators in range-based for loops.
|
|
[const-ref-in-for-loop]:
PWGJE/Tasks/nucleiInJets.cxx#L1727
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/explicit-code]:
PWGJE/Tasks/nucleiInJets.cxx#L2608
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGJE/Tasks/nucleiInJets.cxx#L2601
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGJE/Tasks/nucleiInJets.cxx#L2571
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/database]:
PWGJE/Tasks/nucleiInJets.cxx#L42
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> 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.
|