Skip to content

[PWGJE] Improving the performance of the bkg estimators #20395

[PWGJE] Improving the performance of the bkg estimators

[PWGJE] Improving the performance of the bkg estimators #20395

Triggered via pull request November 12, 2025 10:57
@nzardoshnzardosh
opened #13796
Status Failure
Total duration 14s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[const-ref-in-for-loop]: PWGJE/TableProducer/rhoEstimator.cxx#L299
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/TableProducer/rhoEstimator.cxx#L283
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/TableProducer/rhoEstimator.cxx#L271
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/TableProducer/rhoEstimator.cxx#L255
Use constant references for non-modified iterators in range-based for loops.
[name/workflow-file]: PWGJE/TableProducer/eventwiseConstituentSubtractor.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/o2-task]: PWGJE/TableProducer/eventwiseConstituentSubtractor.cxx#L1
Specify task name only when it cannot be derived from the struct name. Only append to the default name.
[name/o2-task]: PWGJE/TableProducer/eventwiseConstituentSubtractor.cxx#L297
Specified task name subtractor-eventwiseconstituent produces device name subtractor-eventwiseconstituent which does not match the device name event-wise-constituent-subtractor-task from the struct name eventWiseConstituentSubtractorTask. (Matching struct name SubtractorEventwiseconstituent)
[magic-number]: PWGJE/TableProducer/eventwiseConstituentSubtractor.cxx#L112
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGJE/TableProducer/eventwiseConstituentSubtractor.cxx#L142
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/TableProducer/eventwiseConstituentSubtractor.cxx#L127
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.