Skip to content

[PWGHF,PWGJE] Unify and extend MC flags in candidate tables (3-prong, D*+) #10949

[PWGHF,PWGJE] Unify and extend MC flags in candidate tables (3-prong, D*+)

[PWGHF,PWGJE] Unify and extend MC flags in candidate tables (3-prong, D*+) #10949

Triggered via pull request June 4, 2025 08:42
@vkuceravkucera
synchronize #11382
Status Failure
Total duration 22s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[name/workflow-file]: PWGHF/D2H/Tasks/taskCharmPolarisation.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.)
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1621
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1278
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1244
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1098
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1000
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L996
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-mass]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L123
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[pdg/explicit-code]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1621
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGHF/D2H/Tasks/taskCharmPolarisation.cxx#L1098
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.