Skip to content

[PWGEM/Dilepton] update DileptonHadronMPC.h#15819

Merged
dsekihat merged 1 commit intoAliceO2Group:masterfrom
dsekihat:2pc
Apr 16, 2026
Merged

[PWGEM/Dilepton] update DileptonHadronMPC.h#15819
dsekihat merged 1 commit intoAliceO2Group:masterfrom
dsekihat:2pc

Conversation

@dsekihat
Copy link
Copy Markdown
Collaborator

PWGEM/Dilepton: update DileptonHadronMPC.h

@github-actions
Copy link
Copy Markdown

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

@github-actions github-actions Bot changed the title PWGEM/Dilepton: update DileptonHadronMPC.h [PWGEM/Dilepton] update DileptonHadronMPC.h Apr 16, 2026
@dsekihat dsekihat enabled auto-merge (squash) April 16, 2026 18:47
Copy link
Copy Markdown
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.

Comment on lines +258 to +263
float p() const { return fPt * std::cosh(fEta); }
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 float mass) const { return std::hypot(fPt * std::cosh(fEta), mass); } // e2 = p2 + m2
float rapidity(const float mass) const { return std::log((std::sqrt(std::pow(mass, 2) + std::pow(fPt * std::cosh(fEta), 2)) + fPt * std::sinh(fEta)) / std::sqrt(std::pow(mass, 2) + std::pow(fPt, 2))); }
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.

RecoDecayPtEtaPhi does all these.

@dsekihat dsekihat merged commit 23f0d52 into AliceO2Group:master Apr 16, 2026
13 of 15 checks passed
@dsekihat dsekihat deleted the 2pc branch April 16, 2026 19:15
smaff92 pushed a commit to smaff92/O2Physics that referenced this pull request Apr 27, 2026
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