You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: PWGMM/Lumi/Tasks/lumiStabilityPP.cxx
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -203,16 +203,16 @@ struct LumiStabilityPP {
203
203
int totalLeadingBCs = 0;
204
204
for (int iBC = 0; iBC < o2::constants::lhc::LHCMaxBunches; iBC++) {
205
205
if (bcPatternB[iBC]) { // Check if current BC is of type B
206
-
int nonBtypeBCsBefore = 0; // Count how many consecutive BCs before this one are empty
206
+
int nonBtypeBCsBefore = 0; // Count how many consecutive BCs before this one are non-B
207
207
for (int j = 1; j <= numEmptyBCsBeforeLeadingBC; j++) {
208
208
int prevBC = (iBC - j + o2::constants::lhc::LHCMaxBunches) % o2::constants::lhc::LHCMaxBunches; // Protection for BCs at small indices to check the end of the orbit
209
209
if (!bcPatternB[prevBC]) {
210
210
nonBtypeBCsBefore++;
211
211
} else {
212
-
break; // Stop counting if we hit a non-empty BC
212
+
break; // Stop counting if we hit a BCB
213
213
}
214
214
}
215
-
if (nonBtypeBCsBefore >= numEmptyBCsBeforeLeadingBC) { // If we found at least numEmptyBCsBeforeLeadingBC empty BCs before this one, mark it as leading
215
+
if (nonBtypeBCsBefore >= numEmptyBCsBeforeLeadingBC) { // If we found at least numEmptyBCsBeforeLeadingBC non-B BCs before this one, mark it as leading
0 commit comments