We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b666bb2 commit d4b5015Copy full SHA for d4b5015
1 file changed
Detectors/Upgrades/ALICE3/IOTOF/simulation/src/Layer.cxx
@@ -334,7 +334,7 @@ void OTOFLayer::createLayer(TGeoVolume* motherVolume)
334
const int sensorsPerChipX = 2; // we assume that each chip is divided in 2 sensors along the x direction
335
const int sensorsPerChipZ = 2; // we assume that each chip is divided in 2 sensors along the z direction
336
const double sensorSizeX = chipSizeX / sensorsPerChipX; // cm
337
- const double sensorSizeY = chipSizeY; // cm
+ const double sensorSizeY = mSensorThickness; // cm
338
const double sensorSizeZ = chipSizeZ / sensorsPerChipZ; // cm
339
TGeoBBox* sensor = new TGeoBBox(sensorSizeX * 0.5, sensorSizeY * 0.5, sensorSizeZ * 0.5);
340
TGeoVolume* sensVol = new TGeoVolume(sensName, sensor, medSi);
0 commit comments