Skip to content

[PWGLF] Fix histogram filling #13058

[PWGLF] Fix histogram filling

[PWGLF] Fix histogram filling #13058

Triggered via pull request July 6, 2025 16:57
@fmazzascfmazzasc
synchronize #11933
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[name/configurable]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L59
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/workflow-file]: PWGLF/Tasks/Resonances/lambda1405analysis.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/struct]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L52
Use UpperCamelCase for names of structs.
[name/struct]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L34
Use UpperCamelCase for names of structs.
[magic-number]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L343
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L278
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L206
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L343
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L278
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGLF/Tasks/Resonances/lambda1405analysis.cxx#L53
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.