Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ void ChipDigitsContainer::addNoise(UInt_t rofMin, UInt_t rofMax, const o2::its3:
int nel = 0;

if (isIB()) {
// Inner barrel: use ITS3-specific noise interface with OB segmentation.
mean = params->getIBNoisePerPixel() * SegmentationOB::NPixels;
// Inner barrel: use ITS3-specific noise interface with IB segmentation.
mean = params->getIBNoisePerPixel() * SegmentationIB::NPixels;
nel = static_cast<int>(params->getIBChargeThreshold() * 1.1);
} else {
// Outer barrel: use base class noise interface with IB segmentation.
mean = params->getNoisePerPixel() * SegmentationIB::NPixels;
// Outer barrel: use base class noise interface with OB segmentation.
mean = params->getNoisePerPixel() * SegmentationOB::NPixels;
nel = static_cast<int>(params->getChargeThreshold() * 1.1);
}

Expand Down
3 changes: 2 additions & 1 deletion Detectors/Upgrades/ITS3/simulation/src/Digitizer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ void Digitizer::init()
} else {
LOGP(fatal, "ResponseFunction '{}' not implemented!", func);
}
mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f;
mSimRespIB->computeCentreFromData();
mSimRespIBShift = mSimRespIB->getDepthMax() - constants::silicon::thickness / 2.f - mSimRespIB->getRespCentreDep();
mSimRespOBShift = mSimRespOB->getDepthMax() - SegmentationOB::SensorLayerThickness / 2.f;
}

Expand Down