Skip to content

[PWGJE] fixed getDaughtersInChain function for GammaJetTrees #12720

[PWGJE] fixed getDaughtersInChain function for GammaJetTrees

[PWGJE] fixed getDaughtersInChain function for GammaJetTrees #12720

Triggered via pull request July 1, 2025 11:48
Status Failure
Total duration 16s
Artifacts

o2-linter.yml

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

Annotations

10 errors and 2 notices
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L547
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L530
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L519
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L508
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L505
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L494
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L491
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L480
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L568
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
[pdg/explicit-code]: PWGJE/Tasks/gammaJetTreeProducer.cxx#L551
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
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.