Skip to content

Commit d4b5015

Browse files
authored
Update sensor size calculation in Layer.cxx
1 parent b666bb2 commit d4b5015

File tree

1 file changed

+1
-1
lines changed
  • Detectors/Upgrades/ALICE3/IOTOF/simulation/src

1 file changed

+1
-1
lines changed

Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Layer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ void OTOFLayer::createLayer(TGeoVolume* motherVolume)
334334
const int sensorsPerChipX = 2; // we assume that each chip is divided in 2 sensors along the x direction
335335
const int sensorsPerChipZ = 2; // we assume that each chip is divided in 2 sensors along the z direction
336336
const double sensorSizeX = chipSizeX / sensorsPerChipX; // cm
337-
const double sensorSizeY = chipSizeY; // cm
337+
const double sensorSizeY = mSensorThickness; // cm
338338
const double sensorSizeZ = chipSizeZ / sensorsPerChipZ; // cm
339339
TGeoBBox* sensor = new TGeoBBox(sensorSizeX * 0.5, sensorSizeY * 0.5, sensorSizeZ * 0.5);
340340
TGeoVolume* sensVol = new TGeoVolume(sensName, sensor, medSi);

0 commit comments

Comments
 (0)