Skip to content

Conversation

@lietava
Copy link
Collaborator

@lietava lietava commented Dec 18, 2025

Memory leaks fixes and speed optimisation

@github-actions github-actions bot added the pwglf label Dec 18, 2025
@github-actions
Copy link

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

@github-actions github-actions bot changed the title Omegahm [PWGLF] Omegahm Dec 18, 2025
@lietava lietava marked this pull request as ready for review December 18, 2025 13:51
@vkucera
Copy link
Collaborator

vkucera commented Dec 18, 2025

@lietava Please use a meaningful PR title.

if (std::abs(mcp.eta()) > 0.5f)
continue;
int q = 0;
if (auto pdg = TDatabasePDG::Instance()->GetParticle(mcp.pdgCode())) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do you still use TDatabasePDG::Instance?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

What do you mean ? What should I use ?

Copy link
Collaborator

Choose a reason for hiding this comment

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

You should use Service<o2::framework::O2DatabasePDG>, as the linter suggests.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok, fix in the next pr. Thanks.

@romainschotter romainschotter merged commit fe37353 into AliceO2Group:master Dec 18, 2025
11 of 13 checks passed
@lietava
Copy link
Collaborator Author

lietava commented Dec 19, 2025

@lietava Please use a meaningful PR title.

I will do.

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