Skip to content

[PWGCF] Fix 2prong filter MC particle indexing #11622

[PWGCF] Fix 2prong filter MC particle indexing

[PWGCF] Fix 2prong filter MC particle indexing #11622

Triggered via pull request June 13, 2025 08:37
@jaelparkjaelpark
synchronize #11585
Status Failure
Total duration 12s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[name/o2-task]: PWGCF/TableProducer/filter2Prong.cxx#L205
Device names filter-2prong and filter2-prong generated from the specified task name filter-2prong and from the struct name Filter2Prong, respectively, differ in hyphenation. Consider fixing capitalisation of the struct name to Filter2Prong and removing TaskName.
[doc/file]: PWGCF/TableProducer/filter2Prong.cxx#L1
Provide mandatory file documentation.
[doc/file]: PWGCF/TableProducer/filter2Prong.cxx#L12
Documentation for \brief is missing, incorrect or misplaced.
[doc/file]: PWGCF/TableProducer/filter2Prong.cxx#L12
Documentation for \file is missing, incorrect or misplaced.
[magic-number]: PWGCF/TableProducer/filter2Prong.cxx#L154
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGCF/TableProducer/filter2Prong.cxx#L149
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGCF/TableProducer/filter2Prong.cxx#L124
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGCF/TableProducer/filter2Prong.cxx#L121
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGCF/TableProducer/filter2Prong.cxx#L110
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGCF/TableProducer/filter2Prong.cxx#L107
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.