Skip to content

Commit b95fb6c

Browse files
committed
Update comments
1 parent 5de05cd commit b95fb6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGMM/Lumi/Tasks/lumiStabilityPP.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,16 +203,16 @@ struct LumiStabilityPP {
203203
int totalLeadingBCs = 0;
204204
for (int iBC = 0; iBC < o2::constants::lhc::LHCMaxBunches; iBC++) {
205205
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
207207
for (int j = 1; j <= numEmptyBCsBeforeLeadingBC; j++) {
208208
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
209209
if (!bcPatternB[prevBC]) {
210210
nonBtypeBCsBefore++;
211211
} else {
212-
break; // Stop counting if we hit a non-empty BC
212+
break; // Stop counting if we hit a BCB
213213
}
214214
}
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
216216
bcPatternL[iBC] = true;
217217
totalLeadingBCs++;
218218
}

0 commit comments

Comments
 (0)