Skip to content

Commit 88d69a0

Browse files
committed
merge two if statements with the same if
1 parent 48934e7 commit 88d69a0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Detectors/Upgrades/ALICE3/FT3/simulation/src/FT3Layer.cxx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,6 @@ void FT3Layer::createLayer(TGeoVolume* motherVolume)
400400
if (ft3Params.layoutFT3 == kSegmented) {
401401
// createSeparationLayer_waterCooling(motherVolume, separationLayerName);
402402
createSeparationLayer(layerVol, separationLayerName);
403-
}
404-
// create disk faces
405-
if (ft3Params.layoutFT3 == kSegmented) {
406403
module.createModule(0, mLayerNumber, mDirection, mInnerRadius, mOuterRadius, 0., "front", "rectangular", layerVol);
407404
module.createModule(0, mLayerNumber, mDirection, mInnerRadius, mOuterRadius, 0., "back", "rectangular", layerVol);
408405
} else if (ft3Params.layoutFT3 == kSegmentedStave) {

0 commit comments

Comments
 (0)