Skip to content

Commit e408718

Browse files
author
Sabrina Hernandez
committed
Fixed linter warnings for FlowZDCtask
1 parent 2c4b78f commit e408718

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

PWGCF/Flow/Tasks/FlowZDCtask.cxx

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
// In applying this license CERN does not waive the privileges and immunities
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
11+
1112
/// \file FlowZDCtask.cxx
1213
/// \author Sabrina Hernandez
1314
/// \since 10/01/2024
@@ -348,8 +349,8 @@ struct FlowZDCtask {
348349
histos.get<TH2>(HIST("ZDC_energy_vs_ZEM"))->Fill(sumZEM, sumZDC);
349350

350351
// Spectator plane angle calculations and histograms
351-
const auto nTot_zna = zdcread.amplitudeZNA();
352-
const auto nTot_znc = zdcread.amplitudeZNC();
352+
const auto nTotZna = zdcread.amplitudeZNA();
353+
const auto nTotZnc = zdcread.amplitudeZNC();
353354
double qZnaReal = 0.0;
354355
double qZnaIm = 0.0;
355356
double qZncReal = 0.0;
@@ -366,10 +367,10 @@ struct FlowZDCtask {
366367
qZNC += std::complex<double>(std::cos(2 * phiRadians[sector]) * energyZNC / sumZNC, std::sin(2 * phiRadians[sector]) * energyZNC / sumZNC);
367368
}
368369

369-
qZnaReal = qZNA.real() / nTot_zna;
370-
qZnaIm = qZNA.imag() / nTot_zna;
371-
qZncReal = qZNC.real() / nTot_znc;
372-
qZncIm = qZNC.imag() / nTot_znc;
370+
qZnaReal = qZNA.real() / nTotZna;
371+
qZnaIm = qZNA.imag() / nTotZna;
372+
qZncReal = qZNC.real() / nTotZnc;
373+
qZncIm = qZNC.imag() / nTotZnc;
373374

374375
histos.fill(HIST("Acorrelations"), qZNA.real(), qZNA.imag());
375376
histos.fill(HIST("RealQHistogramZNA"), qZnaReal);

0 commit comments

Comments
 (0)