Skip to content

Commit e5a797b

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

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
@@ -163,8 +163,9 @@ void TRKLayer::createLayer(TGeoVolume* motherVolume)
163163
} else if (mLayout == eLayout::kTurboStaves) {
164164
// Compute the number of staves
165165
double width = mModuleWidth; // Each stave has two modules (based on the LOI design)
166-
if (mInnerRadius > 25)
166+
if (mInnerRadius > 25) {
167167
width *= 2; // Outer layers have two modules per stave
168+
}
168169

169170
int nStaves = (int)std::ceil(mInnerRadius * 2 * TMath::Pi() / width);
170171
nStaves += nStaves % 2; // Require an even number of staves

0 commit comments

Comments
 (0)