Skip to content

[PWGCF] Automatic invariant mass histogram range #13815

[PWGCF] Automatic invariant mass histogram range

[PWGCF] Automatic invariant mass histogram range #13815

Triggered via pull request July 17, 2025 14:51
@jaelparkjaelpark
opened #12117
Status Failure
Total duration 18s
Artifacts

o2-linter.yml

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

Annotations

7 errors and 2 notices
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[name/workflow-file]: PWGCF/Tasks/correlations.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]: PWGCF/Tasks/correlations.cxx#L531
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/Tasks/correlations.cxx#L338
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pi-multiple-fraction]: PWGCF/Tasks/correlations.cxx#L341
Use multiples/fractions of PI defined in o2::constants::math.
[external-pi]: PWGCF/Tasks/correlations.cxx#L341
Use the PI constant (and its multiples and fractions) defined in o2::constants::math.
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.