Skip to content

Commit 1f58b49

Browse files
committed
ITS3: Digitizer constness
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 5a81222 commit 1f58b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ void Digitizer::processHit(const o2::itsmft::Hit& hit, uint32_t& maxFr, int evID
297297
rowS = 0;
298298
}
299299

300-
int maxNrows{innerBarrel ? SegmentationSuperAlpide::mNRows : Segmentation::NRows};
301-
int maxNcols{innerBarrel ? SegmentationSuperAlpide::mNCols : Segmentation::NCols};
300+
const int maxNrows{innerBarrel ? SegmentationSuperAlpide::mNRows : Segmentation::NRows};
301+
const int maxNcols{innerBarrel ? SegmentationSuperAlpide::mNCols : Segmentation::NCols};
302302
if (rowE >= maxNrows) {
303303
rowE = maxNrows - 1;
304304
}

0 commit comments

Comments
 (0)