Skip to content

Commit 8615ecf

Browse files
committed
Clang formatted
1 parent a30258a commit 8615ecf

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

PWGUD/Tasks/flowCorrelationsUpc.cxx

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ struct CalcNchUpc {
6565

6666
// Filter trackFilter = (nabs(aod::track::eta) < cfgEtaCut) && (aod::track::pt > cfgPtCutMin) && (aod::track::pt < cfgPtCutMax) && ((requireGlobalTrackInFilter()) || (aod::track::isGlobalTrackSDD == (uint8_t) true));
6767

68-
6968
using UdTracks = soa::Join<aod::UDTracks, aod::UDTracksExtra, aod::UDTracksPID>;
7069
using UdTracksFull = soa::Join<aod::UDTracks, aod::UDTracksPID, aod::UDTracksExtra, aod::UDTracksFlags, aod::UDTracksDCA>;
7170
using UDCollisionsFull = soa::Join<aod::UDCollisions, aod::SGCollisions, aod::UDCollisionsSels, aod::UDZdcsReduced>;
@@ -197,11 +196,11 @@ struct FlowCorrelationsUpc {
197196
if (track1.pt() <= track2.pt())
198197
continue; // skip if the trigger pt is less than the associate p
199198

200-
auto momentum1 = std::array<double, 3>{track1.px(), track1.py(), track1.pz()};
201-
auto momentum2 = std::array<double, 3>{track2.px(), track2.py(), track2.pz()};
202-
double phi1 = RecoDecay::phi(momentum1);
203-
double phi2 = RecoDecay::phi(momentum2);
204-
float deltaPhi = RecoDecay::constrainAngle(phi1-phi2, -PIHalf);
199+
auto momentum1 = std::array<double, 3>{track1.px(), track1.py(), track1.pz()};
200+
auto momentum2 = std::array<double, 3>{track2.px(), track2.py(), track2.pz()};
201+
double phi1 = RecoDecay::phi(momentum1);
202+
double phi2 = RecoDecay::phi(momentum2);
203+
float deltaPhi = RecoDecay::constrainAngle(phi1 - phi2, -PIHalf);
205204
float deltaEta = RecoDecay::eta(momentum1) - RecoDecay::eta(momentum2);
206205

207206
// fill the right sparse and histograms

0 commit comments

Comments
 (0)