Skip to content

Commit 6c8c904

Browse files
committed
fix the order of IB/OB for noise seeding
1 parent f790fd5 commit 6c8c904

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ void ChipDigitsContainer::addNoise(UInt_t rofMin, UInt_t rofMax, const o2::its3:
3131
int nel = 0;
3232

3333
if (isIB()) {
34-
// Inner barrel: use ITS3-specific noise interface with OB segmentation.
35-
mean = params->getIBNoisePerPixel() * SegmentationOB::NPixels;
34+
// Inner barrel: use ITS3-specific noise interface with IB segmentation.
35+
mean = params->getIBNoisePerPixel() * SegmentationIB::NPixels;
3636
nel = static_cast<int>(params->getIBChargeThreshold() * 1.1);
3737
} else {
38-
// Outer barrel: use base class noise interface with IB segmentation.
39-
mean = params->getNoisePerPixel() * SegmentationIB::NPixels;
38+
// Outer barrel: use base class noise interface with OB segmentation.
39+
mean = params->getNoisePerPixel() * SegmentationOB::NPixels;
4040
nel = static_cast<int>(params->getChargeThreshold() * 1.1);
4141
}
4242

0 commit comments

Comments
 (0)