From 1aefd7887320dd984bb55694f61ec4c9d17ca66c Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 15 Apr 2026 19:36:58 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGEM/Dilepton/Utils/EMTrack.h | 4 ++-- PWGEM/PhotonMeson/Utils/EMPhoton.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PWGEM/Dilepton/Utils/EMTrack.h b/PWGEM/Dilepton/Utils/EMTrack.h index 0a9e0ad160c..e6a9cb2893b 100644 --- a/PWGEM/Dilepton/Utils/EMTrack.h +++ b/PWGEM/Dilepton/Utils/EMTrack.h @@ -53,7 +53,7 @@ class EMTrack float cZY() const { return fCZY; } float cZZ() const { return fCZZ; } - float p() const { return 1.f / std::fabs(fSigned1Pt) * std::cosh(fEta); } + float p() const { return 1.f / std::fabs(fSigned1Pt) * std::cosh(fEta); } float px() const { return 1.f / std::fabs(fSigned1Pt) * std::cos(fPhi); } float py() const { return 1.f / std::fabs(fSigned1Pt) * std::sin(fPhi); } float pz() const { return 1.f / std::fabs(fSigned1Pt) * std::sinh(fEta); } @@ -163,7 +163,7 @@ class EMPair : public EMTrack ~EMPair() {} float mass() const { return fMass; } - float rapidity() const { return std::log((std::sqrt(std::pow(fMass, 2) + std::pow(1.f/ std::fabs(fSigned1Pt) * std::cosh(fEta), 2)) + 1.f/ std::fabs(fSigned1Pt) * std::sinh(fEta)) / std::sqrt(std::pow(fMass, 2) + std::pow(1.f/ std::fabs(fSigned1Pt), 2))); } + float rapidity() const { return std::log((std::sqrt(std::pow(fMass, 2) + std::pow(1.f / std::fabs(fSigned1Pt) * std::cosh(fEta), 2)) + 1.f / std::fabs(fSigned1Pt) * std::sinh(fEta)) / std::sqrt(std::pow(fMass, 2) + std::pow(1.f / std::fabs(fSigned1Pt), 2))); } void setPairDCA(float dca) { fPairDCA = dca; } float getPairDCA() const { return fPairDCA; } diff --git a/PWGEM/PhotonMeson/Utils/EMPhoton.h b/PWGEM/PhotonMeson/Utils/EMPhoton.h index 64f60203ba1..a031f8a46dc 100644 --- a/PWGEM/PhotonMeson/Utils/EMPhoton.h +++ b/PWGEM/PhotonMeson/Utils/EMPhoton.h @@ -42,7 +42,7 @@ class EMPhoton float eta() const { return fEta; } float phi() const { return fPhi; } - float p() const { return fPt * std::cosh(fEta); } + 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); }