Skip to content

[PWGLF] change binning of histogram for MC calibration #19416

[PWGLF] change binning of histogram for MC calibration

[PWGLF] change binning of histogram for MC calibration #19416

Triggered via pull request October 25, 2025 09:33
@ercolessiercolessi
opened #13545
Status Failure
Total duration 22s
Artifacts

o2-linter.yml

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

Annotations

8 errors and 2 notices
O2 linter
Process completed with exit code 1.
O2 linter result
Issues have been found.
[name/workflow-file]: PWGLF/Tasks/QC/mcParticlePrediction.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]: PWGLF/Tasks/QC/mcParticlePrediction.cxx#L490
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/QC/mcParticlePrediction.cxx#L483
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGLF/Tasks/QC/mcParticlePrediction.cxx#L439
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGLF/Tasks/QC/mcParticlePrediction.cxx#L659
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGLF/Tasks/QC/mcParticlePrediction.cxx#L656
Use constant references for non-modified iterators in range-based for loops.
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.