[PWGJE] Fix event selection bits and added histograms for MC particles #13810
Annotations
10 errors and 2 notices
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L1342
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L1291
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L1650
Use constant references for non-modified iterators in range-based for loops.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L1374
Use constant references for non-modified iterators in range-based for loops.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L2167
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L2160
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L2130
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L2124
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L41
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
Run tests:
PWGJE/Tasks/nucleiInJets.cxx#L2124
Use std:: prefix for names from the std namespace.
|
|
Run tests
To tolerate certain issues in a directory, add a line with the test name in "o2linter_config".
|
|
Run tests
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.
|
Loading