Skip to content

Commit 692ba30

Browse files
committed
ALICE3-TRK: correct shift of VD chips to match the APTS response coordinate system + fix comment
1 parent 343629d commit 692ba30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Detectors/Upgrades/ALICE3/TRK/simulation/include/TRKSimulation/Digitizer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class Digitizer
107107
{
108108
if (subDetID == 0) { // VD
109109
return constants::VD::petal::layer::nCols;
110-
} else if (subDetID == 1) { // ML/OT: the smallest element is a chip of 500 rows and 640 cols
110+
} else if (subDetID == 1) { // ML/OT: the smallest element is a chip of 470 rows and 640 cols
111111
return constants::moduleMLOT::chip::nCols;
112112
}
113113
return 0;

Detectors/Upgrades/ALICE3/TRK/simulation/src/Digitizer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void Digitizer::init()
7373

7474
mSimRespVDScaleX = o2::trk::constants::apts::pitchX / o2::trk::SegmentationChip::PitchRowVD;
7575
mSimRespVDScaleZ = o2::trk::constants::apts::pitchZ / o2::trk::SegmentationChip::PitchColVD;
76-
mSimRespVDShift = -mChipSimRespVD->getDepthMax(); // the curved, rescaled, sensors have a width from 0 to -45. Must add 10 um (= max depth) to match the APTS response.
76+
mSimRespVDShift = mChipSimRespVD->getDepthMax(); // the curved, rescaled, sensors have a width from 0 to -45. Must add 10 um (= max depth) to match the APTS response.
7777
mSimRespMLOTScaleX = o2::trk::constants::apts::pitchX / o2::trk::SegmentationChip::PitchRowMLOT;
7878
mSimRespMLOTScaleZ = o2::trk::constants::apts::pitchZ / o2::trk::SegmentationChip::PitchColMLOT;
7979
mSimRespMLOTShift = mChipSimRespMLOT->getDepthMax() - thicknessMLOT / 2.f; // the shift should be done considering the rescaling done to adapt to the wrong silicon thickness. TODO: remove the scaling factor for the depth when the silicon thickness match the simulated response

0 commit comments

Comments
 (0)