Skip to content

Commit 5295413

Browse files
authored
Merge pull request #12 from alibuild/alibot-cleanup-15666
Please consider the following formatting changes to #15666
2 parents 53c3479 + 6888f7b commit 5295413

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void ITOFLayer::createLayer(TGeoVolume* motherVolume)
180180
for (int i = 0; i < 4; ++i) {
181181
radiusMax = std::max(radiusMax, std::hypot(uCorners[i] - u0, vCorners[i] - v0));
182182
}
183-
TGeoTube* layer = new TGeoTube(radiusMin, radiusMax, mZLength / 2); // cm, small margins to ensure staves are fully encapsulated in the layer volume
183+
TGeoTube* layer = new TGeoTube(radiusMin, radiusMax, mZLength / 2); // cm, small margins to ensure staves are fully encapsulated in the layer volume
184184
TGeoVolume* layerVol = new TGeoVolume(mLayerName.c_str(), layer, medAir);
185185
setLayerStyle(layerVol);
186186

@@ -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)