Skip to content

Commit d6de973

Browse files
diana0x0fDiana Krupova
authored andcommitted
MFT: digit task fix (#2210)
Co-authored-by: Diana Krupova <diana@Dianas-MacBook-Pro.local>
1 parent 47cac51 commit d6de973

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Modules/MFT/src/QcMFTDigitTask.cxx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,13 @@ void QcMFTDigitTask::initialize(o2::framework::InitContext& /*ctx*/)
199199
}
200200

201201
// Pixel hit maps
202+
int maxVectorIndex = mNumberOfPixelMapsPerFLP[mCurrentFLP] + mNumberOfPixelMapsPerFLP[4 - mCurrentFLP];
203+
for (int iVectorIndex = 0; iVectorIndex < maxVectorIndex; iVectorIndex++) {
204+
// create only hit maps corresponding to the FLP
205+
int iChipIndex = getChipIndexPixelOccupancyMap(iVectorIndex);
206+
}
202207

203208
if (mNoiseScan == 1) { // to be executed only for special runs
204-
int maxVectorIndex = mNumberOfPixelMapsPerFLP[mCurrentFLP] + mNumberOfPixelMapsPerFLP[4 - mCurrentFLP];
205209
for (int iVectorIndex = 0; iVectorIndex < maxVectorIndex; iVectorIndex++) {
206210
// create only hit maps corresponding to the FLP
207211
int iChipIndex = getChipIndexPixelOccupancyMap(iVectorIndex);

0 commit comments

Comments
 (0)