@@ -784,10 +784,10 @@ class EventSelectionModule
784784 diffVzParMean = *parMeans;
785785 diffVzParSigma = *parSigmas;
786786 LOGP (info, " >>> special treatment for diffVz for light ion run {}" , runLightIons);
787- for (int i = 0 ; i < 5 ; i ++)
788- LOGP (info, " mean par {} = {}" , i , diffVzParMean[i ]);
789- for (int i = 0 ; i < 5 ; i ++)
790- LOGP (info, " sigma par {} = {}" , i , diffVzParSigma[i ]);
787+ for (int j = 0 ; j < 5 ; j ++)
788+ LOGP (info, " mean par {} = {}" , j , diffVzParMean[j ]);
789+ for (int j = 0 ; j < 5 ; j ++)
790+ LOGP (info, " sigma par {} = {}" , j , diffVzParSigma[j ]);
791791 break ;
792792 }
793793 }
@@ -1042,8 +1042,9 @@ class EventSelectionModule
10421042 }
10431043 }
10441044 }
1045- } // end of if TOF-matched vertex
1046- else { // for non-TOF and low-mult vertices, consider nearby nominal bcs
1045+ // end of if TOF-matched vertex
1046+ } else {
1047+ // for non-TOF and low-mult vertices, consider nearby nominal bcs
10471048 int64_t meanBC = globalBC + TMath::Nint (sumHighPtTime / sumHighPtW / bcNS);
10481049 int64_t bestGlobalBC = findBestGlobalBC (meanBC, evselOpts.confSigmaBCforHighPtTracks , vNcontributors[colIndex], col.posZ (), mapGlobalBcVtxZ);
10491050 if (bestGlobalBC > 0 ) {
@@ -1062,7 +1063,7 @@ class EventSelectionModule
10621063 foundBCindex = bc.globalIndex (); // keep original BC index
10631064 }
10641065 } // end of non-TOF matched vertices
1065- // sanitity check: if BC was not found
1066+ // sanity check: if BC was not found
10661067 if (foundBCindex == -1 ) {
10671068 foundBCindex = bc.globalIndex ();
10681069 }
0 commit comments