Skip to content

Commit 0709e22

Browse files
Add overlap between the modules
1 parent d2d1a44 commit 0709e22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Detectors/Upgrades/ALICE3/TRK/simulation/src/TRKLayer.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ TGeoVolume* TRKLayer::createStave(std::string type, double width)
120120
staveVol = new TGeoVolume(staveName.c_str(), stave, medAir);
121121

122122
TGeoCombiTrans* transLeft = new TGeoCombiTrans();
123-
transLeft->SetTranslation(-mModuleWidth/2, 0, 0);
123+
transLeft->SetTranslation(-mModuleWidth/2 + 0.05, 0, 0); // 1mm overlap between the modules
124124
LOGP(info, "Inserting {} in {} ", chipVolLeft->GetName(), staveVol->GetName());
125125
staveVol->AddNode(chipVolLeft, 0, transLeft);
126126

127127
TGeoCombiTrans* transRight = new TGeoCombiTrans();
128-
transRight->SetTranslation(mModuleWidth/2, 0.2, 0);
128+
transRight->SetTranslation(mModuleWidth/2 - 0.05, 0.2, 0);
129129
LOGP(info, "Inserting {} in {} ", chipVolRight->GetName(), staveVol->GetName());
130130
staveVol->AddNode(chipVolRight, 1, transRight);
131131
} else {

0 commit comments

Comments
 (0)