Skip to content

[PWGHF,Trigger] Remove useless and unprotected calls to propagateTracksToVertex #19403

[PWGHF,Trigger] Remove useless and unprotected calls to propagateTracksToVertex

[PWGHF,Trigger] Remove useless and unprotected calls to propagateTracksToVertex #19403

Triggered via pull request October 25, 2025 07:52
@fgrosafgrosa
opened #13539
Status Failure
Total duration 21s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: EventFiltering/PWGHF/HFFilterHelpers.h#L862
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-mass]: EventFiltering/PWGHF/HFFilterHelpers.h#L296
Avoid hard-coded particle masses. Use o2::constants::physics::Mass... instead.
[name/configurable]: EventFiltering/PWGHF/HFFilter.cxx#L160
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#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]: EventFiltering/PWGHF/HFFilter.cxx#L1783
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L1461
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L1236
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L523
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L444
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: EventFiltering/PWGHF/HFFilter.cxx#L313
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
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.