Skip to content

[PWGLF] Replace cone radius calculation with rJet#16292

Merged
romainschotter merged 2 commits into
masterfrom
alcaliva-patch-2
May 18, 2026
Merged

[PWGLF] Replace cone radius calculation with rJet#16292
romainschotter merged 2 commits into
masterfrom
alcaliva-patch-2

Conversation

@alcaliva
Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

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

@github-actions github-actions Bot changed the title Replace cone radius calculation with rJet [PWGLF] Replace cone radius calculation with rJet May 18, 2026
Copy link
Copy Markdown
Collaborator

@romainschotter romainschotter left a comment

Choose a reason for hiding this comment

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

Hi @alcaliva ! It looks all fine.
But can you please just address the warnings concerning Use constant references for non-modified iterators in range-based for loops.? These can improve the performance of the task.
Thank you very much!

@alcaliva
Copy link
Copy Markdown
Collaborator Author

Hi Romain, I fixed the linter already. Did I miss something?

@romainschotter
Copy link
Copy Markdown
Collaborator

Hi @alcaliva ! My mistake! On my side, I saw some warnings still but they are no longer there.
Anyway, I will approve the PR :-)

@romainschotter romainschotter enabled auto-merge (squash) May 18, 2026 15:18
@romainschotter romainschotter merged commit 62b6c6a into master May 18, 2026
16 of 17 checks passed
@romainschotter romainschotter deleted the alcaliva-patch-2 branch May 18, 2026 15:50
continue;

if (std::abs(motherPos.eta()) > 0.8)
double maxPseudorap = 0.8;
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 shadow variables.

}

for (auto& particle : mcParticlesPerColl) {
const double maxPseudorap = 0.8;
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 shadow variables.

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