Skip to content

Conversation

@dsekihat
Copy link
Collaborator

@dsekihat dsekihat commented Dec 2, 2025

PWGEM/Dilepton: add a beta histogram in dileptonPolarization.cxx

@github-actions
Copy link

github-actions bot commented Dec 2, 2025

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

@github-actions github-actions bot changed the title PWGEM/Dilepton: add a beta histogram in dileptonPolarization.cxx [PWGEM/Dilepton] add a beta histogram in dileptonPolarization.cxx Dec 2, 2025
@dsekihat dsekihat enabled auto-merge (squash) December 2, 2025 13:51
alibuild
alibuild previously approved these changes Dec 2, 2025
Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

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

Auto-approving on behalf of @dsekihat.

Copy link
Collaborator

@alibuild alibuild left a comment

Choose a reason for hiding this comment

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

Auto-approving on behalf of @dsekihat.

@dsekihat dsekihat disabled auto-merge December 2, 2025 17:36
@dsekihat dsekihat merged commit a8212fb into AliceO2Group:master Dec 2, 2025
12 of 13 checks passed
@dsekihat dsekihat deleted the pol branch December 2, 2025 20:28
float px() const { return fPt * std::cos(fPhi); }
float py() const { return fPt * std::sin(fPhi); }
float pz() const { return fPt * std::sinh(fEta); }
float e() const { return std::sqrt(std::pow(fPt * std::cosh(fEta), 2) + std::pow(fMass, 2)); } // e2 = p2 + m2
Copy link
Collaborator

Choose a reason for hiding this comment

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

You could just use std::hypot or RecoDecay::e. Btw, all these calculations are available as RecoDecay methods.

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