We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59943f9 commit e5a797bCopy full SHA for e5a797b
Detectors/Upgrades/ALICE3/TRK/simulation/src/TRKLayer.cxx
@@ -163,8 +163,9 @@ void TRKLayer::createLayer(TGeoVolume* motherVolume)
163
} else if (mLayout == eLayout::kTurboStaves) {
164
// Compute the number of staves
165
double width = mModuleWidth; // Each stave has two modules (based on the LOI design)
166
- if (mInnerRadius > 25)
+ if (mInnerRadius > 25) {
167
width *= 2; // Outer layers have two modules per stave
168
+ }
169
170
int nStaves = (int)std::ceil(mInnerRadius * 2 * TMath::Pi() / width);
171
nStaves += nStaves % 2; // Require an even number of staves
0 commit comments