Skip to content

Commit a867b5f

Browse files
Mario Sittashahor02
authored andcommitted
Swap Y coordinate of MB/OB half staves to match their actual position
1 parent a6ba52d commit a867b5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/ITSMFT/ITS/simulation/src/V3Layer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,8 @@ TGeoVolume* V3Layer::createStave(const TGeoManager* /*mgr*/)
491491
xpos = (static_cast<TGeoBBox*>(hstaveVol->GetShape()))->GetDX() - sOBHalfStaveXOverlap / 2;
492492
// ypos is now a parameter to avoid HS displacement wrt nominal radii
493493
ypos = sOBHalfStaveYPos;
494-
staveVol->AddNode(hstaveVol, 0, new TGeoTranslation(-xpos, ypos, 0));
495-
staveVol->AddNode(hstaveVol, 1, new TGeoTranslation(xpos, ypos + sOBHalfStaveYTrans, 0));
494+
staveVol->AddNode(hstaveVol, 0, new TGeoTranslation(-xpos, ypos + sOBHalfStaveYTrans, 0));
495+
staveVol->AddNode(hstaveVol, 1, new TGeoTranslation(xpos, ypos, 0));
496496
mHierarchy[kHalfStave] = 2; // RS
497497
mechStaveVol = createSpaceFrameOuterB();
498498

0 commit comments

Comments
 (0)