Skip to content

Commit be3242a

Browse files
committed
ITS3: Fix metal stack geo
Signed-off-by: Felix Schlepper <felix.schlepper@cern.ch>
1 parent 3886c80 commit be3242a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Detectors/Upgrades/ITS3/simulation/src/ITS3Layer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void ITS3Layer::createChip()
285285

286286
// Add metal stack positioned radially outward
287287
auto zMoveMetal = new TGeoTranslation(0, 0, constants::metalstack::length / 2. - constants::segment::lec::length);
288-
auto metal = new TGeoTubeSeg(mRmax, mRmax + constants::metalstack::thickness, constants::metalstack::length / 2., 0, 3.0 * phiOffset);
288+
auto metal = new TGeoTubeSeg(mRmax, mRmax + constants::metalstack::thickness, constants::metalstack::length / 2., 0, constants::nSegments[mNLayer] * phiOffset);
289289
auto metalVol = new TGeoVolume(Form("metal%d", mNLayer), metal, mCopper);
290290
metalVol->SetLineColor(constants::metalstack::color);
291291
metalVol->RegisterYourself();

0 commit comments

Comments
 (0)