Skip to content

Commit 007e9af

Browse files
authored
[ALICE3] TF3: switch substaves according to close gaps between staves (#15725)
* switch substaves according to close gaps between staves
1 parent 70828b1 commit 007e9af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Detectors/Upgrades/ALICE3/IOTOF/simulation/src

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ void OTOFLayer::createLayer(TGeoVolume* motherVolume)
420420
for (int i = 0; i < 2; ++i) {
421421
LOGP(info, "oTOF: Creating substave {}/{} for stave {}/{}", i + 1, 2, 1, 1);
422422
int sign = i > 0 ? 1 : -1;
423-
auto* translation2 = new TGeoTranslation(sign * 0.5 * (subStaveSizeX)-sign * 0.5 * subStavesOverlapX, sign * 0.5 * subStavesDistanceY, 0);
423+
auto* translation2 = new TGeoTranslation(sign * 0.5 * (subStaveSizeX)-sign * 0.5 * subStavesOverlapX, -sign * 0.5 * subStavesDistanceY, 0);
424424
staveVol->AddNode(subStaveVol, i + 1, translation2);
425425
}
426426

0 commit comments

Comments
 (0)