Skip to content

[PWGLF,PWGMM] Add event selection on ITS layers#16451

Open
gbencedi wants to merge 3 commits into
AliceO2Group:masterfrom
gbencedi:master
Open

[PWGLF,PWGMM] Add event selection on ITS layers#16451
gbencedi wants to merge 3 commits into
AliceO2Group:masterfrom
gbencedi:master

Conversation

@gbencedi
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 29, 2026

O2 linter results: ❌ 0 errors, ⚠️ 0 warnings, 🔕 0 disabled

@github-actions github-actions Bot changed the title Add event selection on ITS layers [PWGLF,PWGMM] Add event selection on ITS layers May 29, 2026
@vkucera vkucera marked this pull request as draft May 29, 2026 13:27
@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented May 29, 2026

@gbencedi Please check your compilation before you open a PR.

Comment on lines 92 to 96
auto static constexpr CintZero = 0;
auto static constexpr CintOne = 1;
auto static constexpr CintTwo = 2;
auto static constexpr Czero = 0.f;
auto static constexpr Cninety = 90.f;
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are just numbers named after their values. This is as meaningless as using the numbers directly. The purpose of avoiding magic numbers is to link the values to their meanings. This is just silencing the linter error without actually following the rationale behind the error.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, I will pay attention to that in the next commit.

@gbencedi gbencedi marked this pull request as ready for review May 29, 2026 15:54
@abmodak abmodak enabled auto-merge (squash) May 29, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants