Skip to content

Commit

Permalink
MFT: digit task fix (#2210)
Browse files Browse the repository at this point in the history
Co-authored-by: Diana Krupova <[email protected]>
  • Loading branch information
2 people authored and Barthelemy committed Mar 27, 2024
1 parent 47cac51 commit d6de973
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Modules/MFT/src/QcMFTDigitTask.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,13 @@ void QcMFTDigitTask::initialize(o2::framework::InitContext& /*ctx*/)
}

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

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

0 comments on commit d6de973

Please sign in to comment.