Skip to content

[PWGJE] Added process function for event and signal loss, new hist for jetbkg #20628

[PWGJE] Added process function for event and signal loss, new hist for jetbkg

[PWGJE] Added process function for event and signal loss, new hist for jetbkg #20628

Triggered via pull request November 16, 2025 20:40
Status Failure
Total duration 13s
Artifacts –

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1545
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/nucleiInJets.cxx#L1481
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[const-ref-in-for-loop]: PWGJE/Tasks/nucleiInJets.cxx#L1852
Use constant references for non-modified iterators in range-based for loops.
[const-ref-in-for-loop]: PWGJE/Tasks/nucleiInJets.cxx#L1591
Use constant references for non-modified iterators in range-based for loops.
[pdg/explicit-code]: PWGJE/Tasks/nucleiInJets.cxx#L2360
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGJE/Tasks/nucleiInJets.cxx#L2353
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGJE/Tasks/nucleiInJets.cxx#L2323
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/database]: PWGJE/Tasks/nucleiInJets.cxx#L2317
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
[pdg/database]: PWGJE/Tasks/nucleiInJets.cxx#L42
Do not use TDatabasePDG directly. Use o2::constants::physics::Mass... or Service<o2::framework::O2DatabasePDG> instead.
[std-prefix]: PWGJE/Tasks/nucleiInJets.cxx#L2317
Use std:: prefix for names from the std namespace.
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.