Skip to content

[PWGHF,Trigger] Fix bugs for B->JPsi(->mumu) triggers #7783

[PWGHF,Trigger] Fix bugs for B->JPsi(->mumu) triggers

[PWGHF,Trigger] Fix bugs for B->JPsi(->mumu) triggers #7783

Triggered via pull request April 3, 2025 09:19
Status Failure
Total duration 12s
Artifacts

o2-linter.yml

on: pull_request
O2 linter
8s
O2 linter
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 10 warnings, and 1 notice
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[pwghf/struct-member-order]: EventFiltering/PWGHF/HFFilter.cxx#L167
HfFilter: HistogramRegistry appears too early (before end of PresliceUnsorted<).
[pwghf/struct-member-order]: EventFiltering/PWGHF/HFFilter.cxx#L136
HfFilter: Service< appears too early (before end of Configurable<).
[name/configurable]: EventFiltering/PWGHF/HFFilter.cxx#L137
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]: EventFiltering/PWGHF/HFFilter.cxx#L0
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]: EventFiltering/PWGHF/HFFilter.cxx#L1702
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L1380
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L1153
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L467
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L388
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L241
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
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.