Skip to content

Commit 3bd30c8

Browse files
Fix missing references
1 parent e1fc40b commit 3bd30c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/QC/mcParticlePrediction.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,10 +694,10 @@ struct mcParticlePrediction {
694694
float nMultRecoMCBC[Estimators::nEstimators] = {0};
695695
if (mcBC.has_ft0()) {
696696
const auto& ft0 = mcBC.ft0();
697-
for (const auto amplitude : ft0.amplitudeA()) {
697+
for (const auto& amplitude : ft0.amplitudeA()) {
698698
nMultRecoMCBC[Estimators::FT0A] += amplitude;
699699
}
700-
for (const auto amplitude : ft0.amplitudeC()) {
700+
for (const auto& amplitude : ft0.amplitudeC()) {
701701
nMultRecoMCBC[Estimators::FT0C] += amplitude;
702702
}
703703
nMultRecoMCBC[Estimators::FT0AC] = nMultRecoMCBC[Estimators::FT0A] + nMultRecoMCBC[Estimators::FT0C];

0 commit comments

Comments
 (0)