Skip to content

Commit 457652a

Browse files
authored
Update Detectors/Upgrades/ALICE3/TRK/simulation/src/TRKLayer.cxx
1 parent e5a797b commit 457652a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ TGeoVolume* TRKLayer::createChip(std::string type, double width)
7777
chip = new TGeoTube(mInnerRadius, mInnerRadius + mChipThickness, mZ / 2);
7878
sensVol = createSensor("cylinder");
7979
} else if (type == "flat") {
80-
if (width < 0)
80+
if (width < 0) {
8181
LOGP(fatal, "Attempting to create chip with invalid width");
82+
}
8283
chip = new TGeoBBox(width / 2, mChipThickness / 2, mZ / 2);
8384
sensVol = createSensor("flat", width);
8485
} else {

0 commit comments

Comments
 (0)