Skip to content

[PWGLF] Add selection QA mode and update MC rec/true #22294

[PWGLF] Add selection QA mode and update MC rec/true

[PWGLF] Add selection QA mode and update MC rec/true #22294

Triggered via pull request December 22, 2025 08:14
@Yunseul-BaeYunseul-Bae
synchronize #14317
Status Failure
Total duration 15s
Artifacts

o2-linter.yml

on: pull_request_target
O2 linter
10s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 notices
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[name/workflow-file]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L1
Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)
[name/o2-task]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L1
Specify task name only when it cannot be derived from the struct name. Only append to the default name.
[name/o2-task]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L411
Specified task name lf-f0980analysis produces device name lf-f0980analysis which does not match the device name f0980analysis from the struct name f0980analysis. (Matching struct name LfF0980analysis)
[magic-number]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L372
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L330
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L372
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/f0980analysis.cxx#L330
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg 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.