Skip to content

Commit ff0069b

Browse files
committed
fixed linter
1 parent 9005306 commit ff0069b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

PWGLF/Tasks/Nuspex/antinucleiInJets.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1467,8 +1467,8 @@ struct AntinucleiInJets {
14671467
double px = particle.px();
14681468
double py = particle.py();
14691469
double pz = particle.pz();
1470-
double E = std::sqrt(MassProton * MassProton + px * px + py * py + pz * pz);
1471-
double y = 0.5 * std::log((E + pz) / (E - pz));
1470+
double energy = std::sqrt(MassProton * MassProton + px * px + py * py + pz * pz);
1471+
double y = 0.5 * std::log((energy + pz) / (energy - pz));
14721472
registryMC.fill(HIST("antiproton_y_phi_jet"), y, getDeltaPhi(particle.phi(), jet.phi()));
14731473

14741474
// Fill histogram for generated antiprotons
@@ -1507,8 +1507,8 @@ struct AntinucleiInJets {
15071507
double px = protonVec.Px();
15081508
double py = protonVec.Py();
15091509
double pz = protonVec.Pz();
1510-
double E = std::sqrt(MassProton * MassProton + px * px + py * py + pz * pz);
1511-
double y = 0.5 * std::log((E + pz) / (E - pz));
1510+
double energy = std::sqrt(MassProton * MassProton + px * px + py * py + pz * pz);
1511+
double y = 0.5 * std::log((energy + pz) / (energy - pz));
15121512

15131513
if (deltaRUe1 < maxConeRadius) {
15141514
registryMC.fill(HIST("antiproton_y_phi_ue"), y, getDeltaPhi(protonVec.Phi(), ueAxis1.Phi()));

0 commit comments

Comments
 (0)