Skip to content

[PWGLF] Added configurable for MID#16511

Merged
dmallick2 merged 2 commits into
AliceO2Group:masterfrom
5ub-Man:master
Jun 3, 2026
Merged

[PWGLF] Added configurable for MID#16511
dmallick2 merged 2 commits into
AliceO2Group:masterfrom
5ub-Man:master

Conversation

@5ub-Man
Copy link
Copy Markdown
Contributor

@5ub-Man 5ub-Man commented Jun 2, 2026

No description provided.

@github-actions github-actions Bot added the pwglf label Jun 2, 2026
@github-actions github-actions Bot changed the title Added configurable for MID [PWGLF] Added configurable for MID Jun 2, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 2, 2026

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

Comment on lines +162 to +165
Configurable<float> pionMIDpTlow{"pionMIDpTlow", 1.0, "Low pT cut for pion in MID"};
Configurable<float> pionMIDpThigh{"pionMIDpThigh", 2.5, "High pT cut for pion in MID"};
Configurable<float> kaonMIDpTlow{"kaonMIDpTlow", 0.7, "Low pT cut for kaon in MID"};
Configurable<float> kaonMIDpThigh{"kaonMIDpThigh", 2.5, "High pT cut for kaon in MID"};
Copy link
Copy Markdown
Collaborator

@vkucera vkucera Jun 2, 2026

Choose a reason for hiding this comment

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

Please use proper lowerCamelCase. I doubt that you want to configure any thighs.

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.

  • Do not mark suggestions as resolved. Please read the contribution guidelines.
  • You still don't use lowerCamelCase.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

  • Sorry @vkucera for marking the suggestion as resolved. I'll keep this in mind

  • I changed the variable names from pionMIDpTlow to pionMIDpTLow etc. following the lowerCamelCase format. Could you please give me an example of what you want me to do so that I can fix this in my next PR? Do you want it to be like pionMIDPtLow or anything else? Thank you for your help.

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.

The proper lowerCamelCase name is pionMidPtLow. If you are not sure how to form the correct name, I recommend this definition: https://google.github.io/styleguide/javaguide.html#s5.3-camel-case

@dmallick2 dmallick2 merged commit 762af9c into AliceO2Group:master Jun 3, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants