[PWGHF] add new classifications for like-sign muon pairs #26219
Annotations
10 errors, 1 warning, and 2 notices
|
[const-ref-in-for-loop]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L367
Use constant references for non-modified iterators in range-based for loops.
|
|
[pdg/explicit-code]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L188
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/explicit-code]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L164
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
|
|
[pdg/database]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L203
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
[pdg/database]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L31
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
|
|
[std-prefix]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L377
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L376
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L375
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L371
Use std:: prefix for names from the std namespace.
|
|
[std-prefix]:
PWGHF/HFL/Tasks/taskSingleMuonSource.cxx#L364
Use std:: prefix for names from the std namespace.
|
|
O2 linter
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: thollander/actions-comment-pull-request@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
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.
|