Skip to content

Commit 1aefd78

Browse files
committed
Please consider the following formatting changes
1 parent e4a9c52 commit 1aefd78

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

PWGEM/Dilepton/Utils/EMTrack.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ class EMTrack
5353
float cZY() const { return fCZY; }
5454
float cZZ() const { return fCZZ; }
5555

56-
float p() const { return 1.f / std::fabs(fSigned1Pt) * std::cosh(fEta); }
56+
float p() const { return 1.f / std::fabs(fSigned1Pt) * std::cosh(fEta); }
5757
float px() const { return 1.f / std::fabs(fSigned1Pt) * std::cos(fPhi); }
5858
float py() const { return 1.f / std::fabs(fSigned1Pt) * std::sin(fPhi); }
5959
float pz() const { return 1.f / std::fabs(fSigned1Pt) * std::sinh(fEta); }
@@ -163,7 +163,7 @@ class EMPair : public EMTrack
163163

164164
~EMPair() {}
165165
float mass() const { return fMass; }
166-
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))); }
166+
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))); }
167167

168168
void setPairDCA(float dca) { fPairDCA = dca; }
169169
float getPairDCA() const { return fPairDCA; }

PWGEM/PhotonMeson/Utils/EMPhoton.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class EMPhoton
4242
float eta() const { return fEta; }
4343
float phi() const { return fPhi; }
4444

45-
float p() const { return fPt * std::cosh(fEta); }
45+
float p() const { return fPt * std::cosh(fEta); }
4646
float px() const { return fPt * std::cos(fPhi); }
4747
float py() const { return fPt * std::sin(fPhi); }
4848
float pz() const { return fPt * std::sinh(fEta); }

0 commit comments

Comments
 (0)