Skip to content

[PWGEM/Dilepton] update PID in createTTP.cxx #29989

[PWGEM/Dilepton] update PID in createTTP.cxx

[PWGEM/Dilepton] update PID in createTTP.cxx #29989

Triggered via pull request June 18, 2026 18:54
@dsekihatdsekihat
opened #16735
Status Failure
Total duration 20s
Artifacts

o2-linter.yml

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

Annotations

10 errors, 1 warning, and 2 notices
[name/configurable]: PWGEM/Dilepton/Tasks/createTTP.cxx#L79
Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
[name/workflow-file]: PWGEM/Dilepton/Tasks/createTTP.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]: PWGEM/Dilepton/Tasks/createTTP.cxx#L1
Specify task name only when it cannot be derived from the struct name. Only append to the default name.
[name/o2-task]: PWGEM/Dilepton/Tasks/createTTP.cxx#L861
Device names create-ttp and create-t-t-p generated from the specified task name create-ttp and from the struct name createTTP, respectively, differ in hyphenation. Consider fixing capitalisation of the struct name to CreateTtp and removing TaskName.
[magic-number]: PWGEM/Dilepton/Tasks/createTTP.cxx#L841
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/createTTP.cxx#L835
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/createTTP.cxx#L829
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/createTTP.cxx#L773
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[magic-number]: PWGEM/Dilepton/Tasks/createTTP.cxx#L560
Avoid magic numbers in expressions. Assign the value to a clearly named variable or constant.
[pdg/explicit-code]: PWGEM/Dilepton/Tasks/createTTP.cxx#L773
Avoid hard-coded PDG codes. Use named values from PDG_t or o2::constants::physics::Pdg instead.
O2 linter
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: thollander/actions-comment-pull-request@v3. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
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.