Skip to content

Commit f1c8c45

Browse files
authored
bug fix in tof digit qc (#1601)
1 parent 2bd8528 commit f1c8c45

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Modules/TOF/src/TaskDigits.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,10 @@ void TaskDigits::monitorData(o2::framework::ProcessingContext& ctx)
364364
bcCorrCable += o2::constants::lhc::LHCMaxBunches;
365365
}
366366

367+
if (bcCorrCable >= o2::constants::lhc::LHCMaxBunches) {
368+
bcCorrCable -= o2::constants::lhc::LHCMaxBunches;
369+
}
370+
367371
ndigitsPerBC[row.mFirstIR.orbit % nOrbits][bcCorrCable]++;
368372

369373
ndigitsPerCrate[crateECH]++;

0 commit comments

Comments
 (0)